ruby-on-rails – Heroku Rails无法为连接分配新进程:无法分配内存

前端之家收集整理的这篇文章主要介绍了ruby-on-rails – Heroku Rails无法为连接分配新进程:无法分配内存前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我有3个Rails应用程序都使用相同的代码库. 2/3的应用程序运行正常,但其中一个给我这个错误
could not fork new process for connection: Cannot allocate memory

尝试查看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 memory

这是一个相对较小的应用,特别是数据方面.我已经尝试重新推送所有内容,我已经尝试了heroku重新启动,Heroku的状态页面表示他们没事.任何帮助将不胜感激.

解决方法

Heroku的家伙把它固定下来他们的问题

猜你在找的Ruby相关文章