> > I got another clue, it seems that the python process runs out of > > file handles. After 10k requests (via ab -c 1 -n 10000) i got > > several "not found" io exceptions like "/dev/urandom not found", > Some tempfile that isn't getting closed? Watch your /tmp size, for > instance. Normally if you do it from views or so, the tempfile object > gets garbage collected and closed. > Anyway, you probably already know where to look :-) That was exactly the right point i guess. I was caught by this one : http://bugs.python.org/issue6875 After adding os.close(fd) to an svg -> png Function the App doesn't leak file descriptors any more.
In about 30k Requests i know if it was the cause for the segfaults :) Thanks Reinout :) Sven -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.