This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author stadt
Recipients
Date 2001-02-06.12:59:22
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
cgi.FieldStorage() is used to get the contents of a webform. It turns out that
for each <input> line, a new temporary file is opened. This causes the script
that is using cgi.FieldStorage() to reach the webserver's limit of number of
opened files, as described by 'ulimit -n'. The standard value for Solaris systems
seems to be 64, so webforms with that many <input> fields cannot be dealt
with.

A solution would seem to use the same temporary filename, since only a
maxmimum one file is (temporarily) used at the same time. I did an "ls|wc -l"
while the script was running, which showed only zeroes and ones.

(I'm using Python for CyberChair, an online paper submission and reviewing system.
The webform under discussion has one input field for each reviewer, stating the
papers he or she is supposed to be reviewing. One conference that is using CyberChair
has almost 140 reviewers. Their system's open file limit is 64. Using the same data on
a system with an open file limit of 260 _is_ able to deal with this.)
History
Date User Action Args
2007-08-23 13:53:02adminlinkissue231249 messages
2007-08-23 13:53:02admincreate