Heroku Rails 无法为连接分叉新进程:无法分配内存 [英] Heroku Rails could not fork new process for connection: Cannot allocate memory

查看:21
本文介绍了Heroku Rails 无法为连接分叉新进程:无法分配内存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有 3 个 Rails 应用程序,它们都使用相同的代码库.2/3 的应用程序运行良好,但其中一个给了我这个错误:

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

在尝试查看 Postgres 日志时,它更具体一些:

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:
无法为连接分叉新进程:无法分配内存
无法为连接分叉新进程:无法分配内存
无法为连接分叉新进程:无法分配内存
bin/brie:第 146 行:[:: 预期整数表达式 pg_dump:
bin//pg_dump-9.2.1-64bit psql-9.2.1-64bit:
无法分叉新进程用于连接:无法分配内存
无法分叉新进程连接:无法分配内存
无法分叉新进程连接:无法分配内存

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-restart,Heroku 的状态页面说他们很好.任何帮助将不胜感激.

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 人员修复了它.他们的问题

Heroku people fixed it. Their problem

这篇关于Heroku Rails 无法为连接分叉新进程:无法分配内存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆