I have a form that uploads 2 files via 2 file fields (I’m not actually
uploading anything, but this problem occurs specifically when the form
enctype is multipart). If I remove the multipart designation from the
form, the data in the form is saved. Otherwise, I get the following
Sun Jun 10 10:46:34 -0400 2007: Error calling Dispatcher.dispatch
#<Errno::EMFILE: Too many open files - /tmp/CGI.6962.248>
The form has several inputs (text fields and select fields
only)…approximately 350 (on various divs that are toggled via
don’t get the too many open files error.
Is there a limit to the number of fields the cgi can handle? This
happens in Mongrel and Webrick.
I have another form (same action, different data type) that is almost
identical in nature to this form that posts successfully; however, the
number of form inputs is about 250.