cgi.FieldStorage() problem

Erno Kuusela erno-news at erno.iki.fi
Mon Feb 5 20:57:46 EST 2001


In article <3A7F20D9.4BE57828 at cs.utwente.nl>, Richard van de Stadt
<stadt at cs.utwente.nl> writes:

| OSError: [Errno 24] Too many open files: '/var/tmp/@24739.61'

you probably just need to increase the resource limits for the account
that your http daemon runs under. i don't know what kind of startup
procedure you're using for the daemon so it's hard to say exactly how
to fix it, but the /bin/sh command for manipulating resource limits is
"ulimit" ("limit" with csh descendants).

if it still blows up after you've upped the limit, it might
be a problem with the cgi module going haywire and opening
new files boundlessly, but that seems pretty unlikely.

  -- erno



More information about the Python-list mailing list