##// END OF EJS Templates
docs: mention the need for worker process restarts to avoid "memory leaks" (Issue #346)...
Mads Kiilerich -
r8315:0bca9e82 stable
parent child Browse files
Show More
@@ -204,6 +204,14 b' dynamically generated pages from a relat'
204 also often used inside organizations with a limited amount of users and thus no
204 also often used inside organizations with a limited amount of users and thus no
205 continuous hammering from the internet.
205 continuous hammering from the internet.
206
206
207 .. note::
208 Kallithea, the libraries it uses, and Python itself do in several places use
209 simple caching in memory. Caches and memory are not always released in a way
210 that is suitable for long-running processes. They might appear to be leaking
211 memory. The worker processes should thus regularly be restarted - for
212 example after 1000 requests and/or one hour. This can usually be done by the
213 web server or the tool used for running it as a system service.
214
207
215
208 .. _Python: http://www.python.org/
216 .. _Python: http://www.python.org/
209 .. _Gunicorn: http://gunicorn.org/
217 .. _Gunicorn: http://gunicorn.org/
General Comments 0
You need to be logged in to leave comments. Login now