Multi-file upload and Mongrel problem - "Too many files open"

Hello all...

Wonder if someone can shed some light on this. I'm trying to implement a multi-file upload using a Java based uploader called "Aurigma" (http://www.aurigma.com/Products/ImageUploader/). Its a widely used component, you may have seen it on Facebook..etc. What the tool does is perform multiple file form posts to a hidden page. In the past I have successfully used this tool in PHP without any issues. However when trying to implement this with Ruby and Mongrel, I seem to be running into a "Too many files open" error when trying to upload more than 5 files. I know there are limitations with mongrel on its own. I have to assume once in production and Mongrel is being proxied via Apache, passenger..etc that maybe this will be less of an issue, but not sure. Before I start configuring apache to test that theory, I figured I post this issue here and see if anyone has had a similar issue.

Thanks...

I seem to be running into a "Too many files open" error when trying to upload more than 5 files.

I might be writing nonsense but have you tried to modify the "pool: 5" to something else in the database.yml file?

Cheers.