Message3893
Got a 503 error from my web server and this in the apache2 error log:
[Tue Oct 20 10:32:03 2009] [error] [client XXXXXX] PythonHandler
roundup.cgi.apache: IOError: [Errno 24] Too many open files:
'/opt/roundup/trackers/content_tracker/db/backend_name'
====
Did an `lsof -c apache2` showed a bunch of instances of the error file open:
apache2 31916 www-data 19w REG 0,214 375242 13829550
/opt/roundup/trackers/content_tracker/error.log
====
Seems like every time an error is logged it opens a new instance of the
file for writing until Python complains and crashes Apache. My verbosity
level was set to INFO, changing it to WARNING slows it down (less logs,
less times it opens the file).
====
I'm not a developer but I think line 1290 of configuration.py has
something to do with it "no logging API to remove all existing
handlers!?!"
(http://svn.roundup-tracker.org/viewvc/roundup/roundup/trunk/roundup/configuration.py?view=markup) |
|
Date |
User |
Action |
Args |
2009-10-22 17:37:32 | ernestoongaro | set | messageid: <1256233052.09.0.6106686692.issue1675845@psf.upfronthosting.co.za> |
2009-10-22 17:37:32 | ernestoongaro | set | recipients:
+ ernestoongaro, richard, tmikk, mcampos4 |
2009-10-22 17:37:31 | ernestoongaro | link | issue1675845 messages |
2009-10-22 17:37:30 | ernestoongaro | create | |
|