New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Puma leaking Temp Files for large payloads #1187
Comments
That's weird, because Puma does unlink created tempfiles, even in case of an error. However, it seems there are two places where Puma creates tempfiles, in |
Please reopen if you can reporduce this. |
Because the I created #2613 to cover that case, even if it wasn't the root cause of this issue. |
With #2613 merged, I think we can close this again. |
Using a fairly standard Rails 4.2.X, Grape API, Puma stack, Ruby 2.3.1
In production we are seeing a leakage of large temp files containing the request body in clear (POST with large bodies). After a few days we are forced to delete these files manually (or write a hack to delete periodically). Puma should call .unlink or .delete on whatever temp file it decides to create.
The text was updated successfully, but these errors were encountered: