"Too many open files" Error
Reported by Jon Buda | June 6th, 2008 @ 06:03 PM
Recently while running 'rake paperclip:refresh CLASS=User' on a set of about 300 Users to regenerate the images, Paperclip stopped working with an error of "Too many open files"
Also, while rendering a rails template which displays a large number of thumbnails created by Paperclip using the image_tag(), I received the same error. Is Paperclip for some reason opening the image files but not releasing them?
Especially while rendering a rails template, I would think the URL be built from various path, file, and style names without having to touch the original file.
Comments and changes to this ticket
-
Jon Yurek June 6th, 2008 @ 09:50 PM
Which version of Paperclip are you using? This is a known issue, but
it has been fixed since v2.1.1.
On Jun 6, 2008, at 6:03 PM, Lighthouse wrote:
-
Jon Buda June 9th, 2008 @ 01:56 PM
I guess I was using an outdated version, v2.1.2 did the trick. Thanks for the tip. Also great work on Paperclip, its really turning out to be a great plugin.
-
Jon Yurek June 9th, 2008 @ 02:06 PM
- → State changed from new to resolved
Glad to hear it worked for you, and thanks.
-
Oscar Del Ben October 30th, 2008 @ 12:55 PM
I'm now getting this error. I'm using the latest version from github. The file that remains opened is config.s3.yml (s3 credentials)
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
