<div dir="auto">Hi Łukasz,<div dir="auto"><br></div><div dir="auto">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:</div><div dir="auto"><a href="https://kallithea.readthedocs.io/en/stable/overview.html">https://kallithea.readthedocs.io/en/stable/overview.html</a><br></div><div dir="auto"><br></div><div dir="auto">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.</div><div dir="auto"><br></div><div dir="auto">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'.</div><div dir="auto"><br></div><div dir="auto">Is this setting present in your ini file?</div><div dir="auto">Could you share the ini file?</div><div dir="auto"><br></div><div dir="auto">Thanks</div><div dir="auto">Thomas</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Aug 29, 2020, 11:02 Łukasz Michalski <<a href="mailto:lm@zork.pl">lm@zork.pl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Unfortunately after upgrading 0.4.1 to 0.6.1 and python3 gearbox still <br>
slowly but surely eats memory.<br>
<br>
RSS was ~200MB after one day and after a week it grows to 2.1GB.<br>
<br>
I would like to help resolving this issue but I have no idea where to start.<br>
<br>
Regards,<br>
Łukasz<br>
_______________________________________________<br>
kallithea-general mailing list<br>
<a href="mailto:kallithea-general@sfconservancy.org" target="_blank" rel="noreferrer">kallithea-general@sfconservancy.org</a><br>
<a href="https://lists.sfconservancy.org/mailman/listinfo/kallithea-general" rel="noreferrer noreferrer" target="_blank">https://lists.sfconservancy.org/mailman/listinfo/kallithea-general</a><br>
</blockquote></div>