在进程崩溃并消耗机器上的所有资源之前帮助分析进程
我正在使用的其中一台服务器经常崩溃/冻结并消耗盒子上的所有资源。它将继续执行此操作,直到进程被终止(很难手动运行,因为盒子没有资源允许我输入命令)或手动重新启动盒子。
我对 UNIX 操作系统的经验不是很丰富 - 你能提供建议来帮助我诊断可能出现的问题吗? 我正在考虑诸如流程监控之类的事情以及需要注意的事情。 真的什么都可以。
预先感谢您的任何建议。 网Q
One of the servers I'm working on regularly crashes/freezes and consumes ALL resources on the box. It will continue doing this until the process is killed (difficult to run manually since the box has no resources to allow me even to enter a command) or the box is manually rebooted.
I'm not very experienced in unix OSes - can you offer advice which will help me diagnose what might be going wrong?
I'm thinking things like process monitoring, and things to look out for.
anything really.
thanks in advance for any advice.
NQ
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当您提到区域时,我建议运行 prstat -cZ > /var/tmp/prstat.log & 并查看问题发生时哪些区域/进程正忙。
As you mention zones, I would suggest running
prstat -cZ > /var/tmp/prstat.log &
and see what zone(s)/process(s) are busy when the problem occur.