状态描述:
服务器开了一段时间后自动死机,屏幕有显示但是键盘和鼠标都没有响应。
问题排查:
服务器端安装了进程守护应用,开启之后过一会就会出现这个问题,重启电脑后只要进程守护程序启动就会出现这个问题。所以开始查看守护里面的进程日志。文章源自玩技e族-https://www.playezu.com/300554.html
文章源自玩技e族-https://www.playezu.com/300554.html
1、原因是因为服务器中端口冲突,进程守护程序不断和系统中的一个服务5500的端口抢占导致服务器死机。文章源自玩技e族-https://www.playezu.com/300554.html
2、之前查看了网站的cpu和内存都没有过高的问题也会死机,所以查看了/var/log/message并没有什么用。文章源自玩技e族-https://www.playezu.com/300554.html
3、查看内存进程占用smem -k也没有发现什么问题。文章源自玩技e族-https://www.playezu.com/300554.html
处理方式:
将服务器中的端口更改为其他的端口即可解决这个问题。文章源自玩技e族-https://www.playezu.com/300554.html
经验总结:
这种问题只看服务器记录是看不出来什么问题的,还是要讲安装的软件或者程序重新关闭挨个测试。文章源自玩技e族-https://www.playezu.com/300554.html
文章源自玩技e族-https://www.playezu.com/300554.html文章源自玩技e族-https://www.playezu.com/300554.html
香港 2F
My brother suggested I might like this web site. He was entirely right.
This post actually made my day. You cann’t
imagine just how much time I had spent for this information!
Thanks!
北京市 B1
@ ae688.net Thank you It’s my pleasure.
亚太地区 1F
This is really interesting, You’re a very skilled blogger.
I have joined your feed and look forward to seeking more of your great post.
Also, I’ve shared your website in my social
networks!
北京市 B1
@ dagathomo Thank you It’s my pleasure.