Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Temp directory overflow issue #1321

Merged
merged 3 commits into from Feb 18, 2014

Conversation

Projects
None yet
2 participants
Contributor

dimko commented Feb 17, 2014

Synopsis

Every MiniMagick::Image.open(path) call creates a temp file, which is not deleted after manipulating.
This leads to overflow of tmp directory under high load.

Pull Request

  1. Validate out image with identify command instead of opening an image.
  2. Delete temp file after manipulating.

@bensie bensie added a commit that referenced this pull request Feb 18, 2014

@bensie bensie Merge pull request #1321 from dimko/patch-2
Temp directory overflow issue
28a4363

@bensie bensie merged commit 28a4363 into carrierwaveuploader:master Feb 18, 2014

1 check passed

default The Travis CI build passed
Details
Owner

bensie commented Feb 18, 2014

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment