I have 3 Rails applications that all use the same code base. 2/3 of the applications are running fine, but one of them gives me this error:
could not fork new process for connection: Cannot allocate memory
Upon trying to look at the Postgres logs, it is a little more specific:
psql: bin//psql-9.2.1-64bit pv: bin//pv-1.1.4-64bit psql-9.2.1-64bit:
could not fork new process for connection: Cannot allocate memory
could not fork new process for connection: Cannot allocate memory
could not fork new process for connection: Cannot allocate memory
bin/brie: line 146: [: : integer expression expected pg_dump:
bin//pg_dump-9.2.1-64bit psql-9.2.1-64bit:
could not fork new process for connection: Cannot allocate memory
could not fork new process for connection: Cannot allocate memory
could not fork new process for connection: Cannot allocate memory
This is a relatively small app, especially data-wise. I have tried re-pushing everything, I have tried heroku-restart, and Heroku's status page says they're fine. Any help would be appreciated.
Heroku people fixed it. Their problem