juhanurmi / ahmia

Ahmia hidden service search engine
BSD 3-Clause "New" or "Revised" License
197 stars 64 forks source link

Memory leak in Django WSGI process #19

Open juhanurmi opened 10 years ago

juhanurmi commented 10 years ago

Apache WSGI processes are filling the memory

ps aux | grep 'ahmia-w' | awk '{print $6/1024 " MB";}'

0.746094 MB 77.1719 MB 97.75 MB 104.418 MB 89.3242 MB 52.4023 MB

These processes has started to consume memory after Django-Haystack installation.

It might be a memory leak. It seems very weird that after a day one WSGI process might take a gigabyte of RAM.

Problem is now "solved" by restarting Apache every day.