-
Notifications
You must be signed in to change notification settings - Fork 419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pm2 状态问题 #3
Comments
id是3的这个是worker吗?你看看pm2 logs有什么错误信息没,还有log文件夹下也看看。 |
pm2 logs: 有很多错误。我的内存是16G的。那内存限制调成100M? |
本地log: |
我只看到一个内存溢出,其他的无关紧要, |
调大female及其它内存限制到120,增加了3个female 仍然female内存溢出,是不是要重启下female,如何重启? |
重启就是pm2 restart id |
我感觉怎么不像是内存限制的问题,我都调大到8000了还是有出错 |
目前启动了11个worker, 1个male, 3个female,是不是male太少了? |
关于比例问题,规则参考这个。 |
female内存调到10000,开了5个,基本没问题了。现在又出来worker内存不够。 |
可以自动更新的,但是最初的方法效率比较低,没有正真使用。 |
现在worker老是重启,提示内存不够。我都把内存限制提到1000了,怎么还这样? |
还真没遇到过worker经常重启的,有可能是你的内存不足,或则你的频率太高了,调整试试 |
还有个问题。搜索你为什么选择elasticsearch, 为什么不选择sphinx呢 |
@wdfsinap 随便选的,你熟悉sphinx的话,也可以用 |
正常的,mongodb本来就很占内存和硬盘,可以把数据库部在另一台机器上,这样影响小点。 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
pm2 list下有个程序restarted状态里重启了很多次,这正常吗?
The text was updated successfully, but these errors were encountered: