本帖最後由 角色 於 2010-8-24 23:17 編輯
本来每天reboot,应该没有问题。但是今天却经常reboot就出问题了。然后我用putty 进去看,发现CPU loading非常大(用command top)
正常的CPU loading是非常低,如下:- Mem: 35032K used, 10672K free, 0K shrd, 164K buff, 1068K cached
- Load average: 0.02 0.08 0.12
- PID USER STATUS VSZ PPID %CPU %MEM COMMAND
- 2256 root R 976 353 6.4 2.1 busybox
- 328 root S 18452 166 0.0 40.3 asterisk
- 150 root S 18452 1 0.0 40.3 asterisk
- 292 root S 18452 166 0.0 40.3 asterisk
- 166 root S 18452 150 0.0 40.3 asterisk
- 177 root S 18452 166 0.0 40.3 asterisk
- 182 root S 18452 166 0.0 40.3 asterisk
- 179 root S 18452 166 0.0 40.3 asterisk
- 284 root S 18452 166 0.0 40.3 asterisk
- 291 root S 18452 166 0.0 40.3 asterisk
- 320 root S 18452 166 0.0 40.3 asterisk
- 1089 root S 18452 166 0.0 40.3 asterisk
- 285 root S 18452 166 0.0 40.3 asterisk
- 283 root S 18452 166 0.0 40.3 asterisk
- 173 root S 18452 166 0.0 40.3 asterisk
- 287 root S 18452 166 0.0 40.3 asterisk
- 281 root S 18452 166 0.0 40.3 asterisk
- 282 root S 18452 166 0.0 40.3 asterisk
- 203 root S 18452 166 0.0 40.3 asterisk
- 288 root S 18452 166 0.0 40.3 asterisk
- 229 root S 18452 166 0.0 40.3 asterisk
複製代碼 然后我再看Dielog,发现中间经常reboot。- root:/persistent/etc> cat /persistent/DieLog
- Asterisk is rebooted at Wed Aug 18 20:00:11 UTC 2010
- Asterisk is rebooted at Thu Aug 19 20:00:18 UTC 2010
- Asterisk is rebooted at Fri Aug 20 20:00:17 UTC 2010
- Asterisk is rebooted at Sat Aug 21 20:00:16 UTC 2010
- Asterisk is rebooted at Sun Aug 22 20:00:13 UTC 2010
- Asterisk is rebooted at Mon Aug 23 20:00:11 UTC 2010
- Asterisk die at Tue Aug 24 11:51:28 UTC 2010
- Asterisk die at Tue Aug 24 11:56:41 UTC 2010
- Asterisk die at Tue Aug 24 12:04:53 UTC 2010
- Asterisk die at Tue Aug 24 12:38:31 UTC 2010
- Asterisk die at Tue Aug 24 12:50:48 UTC 2010
- Asterisk die at Mon Jan 1 00:04:21 UTC 2007
- Asterisk die at Tue Aug 24 13:38:03 UTC 2010
- Asterisk die at Tue Aug 24 13:43:17 UTC 2010
複製代碼 我关了好几次都不行,那么我怀疑IP-01给外间攻击,所以我把modem关掉,然后再观察CPU loading,发现慢慢好了,那么我的估计可能是对。把Modem关了,外面的人想搞也搞不到,然后自自然就离开(这是我的估计)。所以下次你的IP-01有问题,你可以先关一下modem看看。
如果不是这样,可以用serial cable接IP-01的serial port,而把lan线拔走。用serial console去观测,看看是否CPU能在正常的水平。
角色 |