V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
通过以下 Referral 链接购买 DigitalOcean 主机,你将可以帮助 V2EX 持续发展
DigitalOcean - SSD Cloud Servers
livc
V2EX  ›  VPS

VPS CPU 飙升至 100 如何查找原因?

  •  
  •   livc · 2018-01-05 00:13:20 +08:00 · 350 次点击
    这是一个创建于 2541 天前的主题,其中的信息可能已经有所发展或是发生改变。

    上面所有运行的服务都挂了,ssh 也没反应,

    OpenSSH_7.6p1, LibreSSL 2.6.2
    debug1: Reading configuration data /etc/ssh/ssh_config
    debug1: /etc/ssh/ssh_config line 48: Applying options for *
    debug2: ssh_connect_direct: needpriv 0
    debug1: Connecting to 45.77.79.240 port 22.
    debug1: Connection established.
    debug1: identity file /Users/zhao/.ssh/id_rsa type 0
    debug1: key_load_public: No such file or directory
    debug1: identity file /Users/zhao/.ssh/id_rsa-cert type -1
    debug1: key_load_public: No such file or directory
    debug1: identity file /Users/zhao/.ssh/id_dsa type -1
    debug1: key_load_public: No such file or directory
    debug1: identity file /Users/zhao/.ssh/id_dsa-cert type -1
    debug1: key_load_public: No such file or directory
    debug1: identity file /Users/zhao/.ssh/id_ecdsa type -1
    debug1: key_load_public: No such file or directory
    debug1: identity file /Users/zhao/.ssh/id_ecdsa-cert type -1
    debug1: key_load_public: No such file or directory
    debug1: identity file /Users/zhao/.ssh/id_ed25519 type -1
    debug1: key_load_public: No such file or directory
    debug1: identity file /Users/zhao/.ssh/id_ed25519-cert type -1
    debug1: Local version string SSH-2.0-OpenSSH_7.6
    

    只能强制重启了,好多次这种情况,请问如何知道是什么原因呢??以及如何避免?

    2 条回复    2018-01-05 13:05:03 +08:00
    pagxir
        1
    pagxir  
       2018-01-05 11:18:10 +08:00 via Android
    进控制台看看。
    livc
        2
    livc  
    OP
       2018-01-05 13:05:03 +08:00
    @pagxir #1 ![]( https://i.loli.net/2018/01/05/5a4f06c825f91.png)
    没用过控制台,完全没反应。。。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1235 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 18:05 · PVG 02:05 · LAX 10:05 · JFK 13:05
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.