memory leak stikes back

Thomas De Schampheleire patrickdepinguin at gmail.com
Sat Aug 29 10:26:00 UTC 2020


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 <lm at zork.pl> 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
> kallithea-general at sfconservancy.org
> https://lists.sfconservancy.org/mailman/listinfo/kallithea-general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sfconservancy.org/pipermail/kallithea-general/attachments/20200829/7ab26e0c/attachment.html>


More information about the kallithea-general mailing list