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
Jobs failing with Errno::ENOMEM Cannot allocate memory - fork(2) #760
Comments
Is there anything in the Heroku logs like "Error R14 (Memory quota exceeded)"? |
I don't use a Heroku app, I have a separate application in a linux box, but I use the RedisToGo DB provided by a Heroku app, I do that because I need Git installed and Heroku doesn't provide that. So I don't see this error in the Heroku log, but in the log of the app running in the linux box. Thanks. |
Sorry I missed that. I assume you can clone the repositories from the command line in the box the workers run as? Are the workers running as be same user with the same limits? I've had issues cloning large git repositories from java processes on memory constrained systems. What ruby version are you using? |
The weird thing is that I have 2 servers, exactly the same hardware and Ubuntu version, same configuration, same ruby version, same code, same everything on both of them, one is staging, the other one us production, of course, different RedisToGo (via Heroku, it's the Mini one) DB, and in the staging server doesn't happen this :S |
This error comes from not having enough RAM, so I don't think it's actually a Resque issue. If you can help me reproduce it somehow, I can help investigate. |
I'm running some workers in an Ubuntu box, I'm using monit (but happens the same just by running workers from the command line), ruby 1.9.2, I'm using these workers to clone git repositories, I use RedisToGo (Heroku add-on). What other information would be useful for you guys to be able to help me?
The text was updated successfully, but these errors were encountered: