Hallöchen!

Sometimes, we experience a massive increase in active connections to
the memcached server when calling cache.clear().  This causes server
tracebacks because the server cannot open files (e.g. Python
modules) anymore: "error 24: Too many open files".  Increasing the
allowed files for www-data in /etc/security/limits didn't help.

Currently, the only solution I see is to replace cache.clear() with
subprocess.call(["/etc/init.d/memcached", "restart"]).

Has anybody had a similar problem?

Tschö,
Torsten.

-- 
Torsten Bronger    Jabber ID: torsten.bron...@jabber.rwth-aachen.de
                                  or http://bronger-jmp.appspot.com

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to