Thursday, August 5, 2010

Re: Python Segfaults with Django 1.1

On 08/05/2010 02:06 PM, Sven Broeckling wrote:
>
> 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 :-)


Reinout

--
Reinout van Rees - reinout@vanrees.org - http://reinout.vanrees.org
Programmer at http://www.nelen-schuurmans.nl
"Military engineers build missiles. Civil engineers build targets"

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment