[Rails] #<Errno::EMFILE: Too many open files

Steve Longdo steve.longdo at gmail.com
Fri Aug 18 04:26:00 GMT 2006


If you are on a shared host some restrict the number of open files per
user/process.  TextDrive for example is 200 open files.  Perhaps you have
hit the limit!
-- 
Thanks,
-Steve
http://www.stevelongdo.com

On 8/17/06, Ben Johnson <bjohnson at mediamanifest.com> wrote:
>
> My application runs a backgrond process and after running for a while I
> get this error in my logs:
>
> #<Errno::EMFILE: Too many open files
>
> Lasty, the ONLY code I have that does anything with files is:
>
> File.open(image_path, "wb") do |file|
>    file.puts file_content
> end
>
> Any idea what this means?
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Rails mailing list
> Rails at lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060818/18885610/attachment.html


More information about the Rails mailing list