On Dec 14, 2007 5:16 PM, Scott Derrick <[EMAIL PROTECTED]> wrote:

> after a couple minutes I get the following error
>
> Errno::EMFILE (Too many open files -
> script/../config/../tmp/sessions//ruby_sess.3b99572316c49027):
>
> Once this happens mongrel can't find anything. the only recovery is the
> restart the web server.
>
> The periodic render has an image_tag which appears to be opening the
> image file and its not being released emediatly?
>
> Anything I can do to fix this?
>
> Scott
>

First, if it's creating a session for every hit something is not correct
with the Rails code, investigate this.
If you cannot track it down try using either cookie or database sessions.

That said, if you need to have more open files you can adjust you're open
file limit:
See the file limit:

$ ulimit

Adjust the file limit:

$ ulimit 2048

^ ^ allows up to 2048 open files.

  ~Wayne
_______________________________________________
Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to