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:
我有3个Rails应用程序都使用相同的代码库。 2/3的应用程序运行正常,但其中一个给了我这个错误:
could not fork new process for connection: Cannot allocate memory
无法为连接分叉新进程:无法分配内存
Upon trying to look at the Postgres logs, it is a little more specific:
在尝试查看Postgres日志时,它更加具体:
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 memorypsql:bin // psql-9.2.1-64bit pv:bin // pv-1.1.4-64bit psql-9.2.1-64bit:无法分叉新进程进行连接:无法分配内存无法分叉新进程进行连接:无法分配内存无法分叉新进程进行连接:无法分配内存bin / brie:第146行:[::整数表达式预期pg_dump:bin // pg_dump-9.2.1-64bit psql-9.2.1-64bit:无法fork新进程连接:无法分配内存无法分叉新进程进行连接:无法分配内存无法分叉新进程进行连接:无法分配内存
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-restart,而Heroku的状态页面说它们很好。任何帮助,将不胜感激。
1 个解决方案
#1
3
Heroku people fixed it. Their problem
Heroku人修复了它。他们的问题
#1
3
Heroku people fixed it. Their problem
Heroku人修复了它。他们的问题