Hi Łukasz,

Apart from some code changes we did to improve/eliminate some caching
mechanisms, we also added a note to our documentation to clarify the
expectations. See the bottom of the following page:
https://kallithea.readthedocs.io/en/stable/overview.html

Basically, we can not avoid certain memory growth in the context of a
single process, and the recommended approach is to ensure that the web
server process recreates its workers regularly.

For gearbox/waitress, this can be done automatically with the
setting threadpool_max_requests, which is set to 100 by default in the ini
file produced by 'kallithea-cli config-create'.

Is this setting present in your ini file?
Could you share the ini file?

Thanks
Thomas

On Sat, Aug 29, 2020, 11:02 Łukasz Michalski <[email protected]> wrote:

> Hi,
>
> Unfortunately after upgrading 0.4.1 to 0.6.1 and python3 gearbox still
> slowly but surely eats memory.
>
> RSS was ~200MB after one day and after a week it grows to 2.1GB.
>
> I would like to help resolving this issue but I have no idea where to
> start.
>
> Regards,
> Łukasz
> _______________________________________________
> kallithea-general mailing list
> [email protected]
> https://lists.sfconservancy.org/mailman/listinfo/kallithea-general
>
_______________________________________________
kallithea-general mailing list
[email protected]
https://lists.sfconservancy.org/mailman/listinfo/kallithea-general

Reply via email to