Heroku Rails无法为连接分叉新进程:无法分配内存 [英] Heroku Rails could not fork new process for connection: Cannot allocate memory
问题描述
我有3个Rails应用程序都使用相同的代码库。 2/3的应用程序运行正常,但其中一个给我这个错误:
无法为连接分叉新进程:无法分配内存
在试图查看Postgres日志时,它更具体一些:
psql: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新进程
连接:无法分配内存
无法分叉新进程
连接:无法分配内存
无法分配新进程
连接:无法分配内存
这是一个相对较小的应用,尤其是数据方面。我试过重新推动一切,我已经尝试过heroku-restart,Heroku的状态页面说他们没事。任何帮助将不胜感激。
解决方案Heroku的人修复了它。他们的问题
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 memoryThis 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
这篇关于Heroku Rails无法为连接分叉新进程:无法分配内存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!