centos7服务器无缘无故卡死原因排查

运维笔记41.3K阅读模式

状态描述:

服务器开了一段时间后自动死机,屏幕有显示但是键盘和鼠标都没有响应。

问题排查:

服务器端安装了进程守护应用,开启之后过一会就会出现这个问题,重启电脑后只要进程守护程序启动就会出现这个问题。所以开始查看守护里面的进程日志。文章源自玩技e族-https://www.playezu.com/300554.html

centos7服务器无缘无故卡死原因排查文章源自玩技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

Linux运维实战:CentOS 7.6操作系统从入门到精通
Linux运维实战:CentOS 7.6操作系统从入门到精通
本书通过大量实例,循序渐进地讲解了在Linux 发行版CentOS7.6系统中的基础操作、用户管理、权限管理、磁盘管理、shell编程等技术和各种实战经验与技巧。
46.11
文章源自玩技e族-https://www.playezu.com/300554.html文章源自玩技e族-https://www.playezu.com/300554.html
评论  4  访客  2  作者  2
    • ae688.net
      ae688.net 0

      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!

      • dagathomo
        dagathomo 0

        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!

      匿名

      发表评论

      匿名网友