Fraoch
Patron
- Joined
- Aug 14, 2014
- Messages
- 395
This is weird - take a look at this top output:
bzip2 and python 2.7 are taking up about 50% of my CPU, and my FreeNAS is idle.
The reporting tab shows it's been this way for at least 24 hours.
This is after a reboot. I am tuning my new Sophos UTM firewall and it somehow cut this FreeNAS off the network (still trying to figure that out) so I rebooted the FreeNAS server. I had gone onto it to check the log files and see what happened when I find this.
The log file shows nothing unusual:
For a second I thought it might be turning over the old logfile, but it has been locked in a state of high CPU usage way before this time.
FreeNAS dropping off the network and this high CPU usage seem related. Yesterday morning it spontaneously jumped to 80% CPU and stayed there all day until I found it was no longer on the network and rebooted it. It resumed at normal idle CPU, then jumped up again at the first file transfer, staying at 30% CPU for about 3 hours, then jumping to 50% CPU where it's staying. However this first file transfer occurred at the exact same time it was turning over the log file...
Could it be compressing the log and hanging? In trying to see older logfiles I seemed to crash nano when I tried to view /var/log/messages.0. I can't open it. Wouldn't that be the older logfile bzip2 is trying to compress?
Any suggestions?
Code:
last pid: 15031; load averages: 2.25, 2.17, 2.13 up 0+09:14:22 08:39:59 83 processes: 3 running, 80 sleeping CPU: 51.0% user, 0.0% nice, 1.1% system, 0.0% interrupt, 47.8% idle Mem: 170M Active, 503M Inact, 13G Wired, 2600K Cache, 1766M Free ARC: 12G Total, 7561M MFU, 3928M MRU, 672K Anon, 62M Header, 667M Other Swap: 8192M Total, 284K Used, 8191M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 12989 root 1 103 0 16116K 8416K CPU0 0 515:50 100.00% bzip2 49184 root 1 103 0 85372K 11532K CPU1 1 334:17 100.00% python2.7 15026 root 1 21 0 67400K 20932K uwait 1 0:00 0.49% dtrace 3313 root 12 20 0 177M 11636K uwait 1 0:58 0.00% collectd 2212 root 1 20 0 56676K 4292K select 2 0:51 0.00% snmpd 2208 root 6 25 0 99316K 7812K select 2 0:46 0.00% python2.7 2238 root 1 20 0 37584K 2260K nanslp 3 0:15 0.00% zpool 2102 root 4 20 0 9908K 1516K rpcsvc 0 0:11 0.00% nfsd 3140 root 1 52 0 198M 36036K select 0 0:10 0.00% python2.7 3136 root 6 20 0 386M 107M usem 1 0:07 0.00% python2.7 5340 30001 1 20 0 223M 63980K select 3 0:06 0.00% perl5.18. 2526 root 1 20 0 12044K 1472K select 3 0:02 0.00% powerd 1895 root 1 20 0 90328K 5464K kqread 1 0:01 0.00% syslog-ng 5999 root 1 52 0 171M 12452K ttyin 2 0:01 0.00% python2.7 3595 root 4 52 0 176M 11900K select 2 0:01 0.00% python2.7
bzip2 and python 2.7 are taking up about 50% of my CPU, and my FreeNAS is idle.
The reporting tab shows it's been this way for at least 24 hours.
This is after a reboot. I am tuning my new Sophos UTM firewall and it somehow cut this FreeNAS off the network (still trying to figure that out) so I rebooted the FreeNAS server. I had gone onto it to check the log files and see what happened when I find this.
The log file shows nothing unusual:
Code:
Jul 22 00:00:00 Minas-Tirith newsyslog[12900]: logfile turned over due to size>100K Jul 22 00:00:00 Minas-Tirith syslog-ng[1895]: Configuration reload request received, reloading configuration; Jul 22 00:30:08 Minas-Tirith afpd[18750]: Login by nobody (AFP3.4) Jul 22 00:30:08 Minas-Tirith afpd[18750]: afp_zzz: entering extended sleep Jul 22 00:41:12 Minas-Tirith afpd[18750]: AFP logout by nobody Jul 22 00:41:12 Minas-Tirith afpd[18750]: AFP statistics: 283030.10 KB read, 204484.96 KB written Jul 22 00:41:12 Minas-Tirith afpd[18750]: done Jul 22 08:00:04 Minas-Tirith autosnap.py: [tools.autosnap:70] Popen()ing: /sbin/zfs snapshot "volume1@auto-20150722.0800-1m" Jul 22 08:00:04 Minas-Tirith autosnap.py: [tools.autosnap:70] Popen()ing: /sbin/zfs snapshot "volume1/Aileens_Storage@auto-20150722.0800-2d" Jul 22 08:00:04 Minas-Tirith autosnap.py: [tools.autosnap:70] Popen()ing: /sbin/zfs snapshot "volume1@auto-20150722.0800-2d" Jul 22 08:00:05 Minas-Tirith autosnap.py: [tools.autosnap:70] Popen()ing: /sbin/zfs get -H freenas:state "volume1/Aileens_Storage@auto-20150720.0800-2d" Jul 22 08:00:05 Minas-Tirith autosnap.py: [tools.autosnap:70] Popen()ing: /sbin/zfs destroy -r -d "volume1/Aileens_Storage@auto-20150720.0800-2d" Jul 22 08:00:05 Minas-Tirith autosnap.py: [tools.autosnap:70] Popen()ing: /sbin/zfs get -H freenas:state "volume1@auto-20150720.0800-2d" Jul 22 08:00:05 Minas-Tirith autosnap.py: [tools.autosnap:70] Popen()ing: /sbin/zfs destroy -r -d "volume1@auto-20150720.0800-2d" Jul 22 08:00:05 Minas-Tirith autosnap.py: [tools.autosnap:70] Popen()ing: /sbin/zfs get -H freenas:state "volume1@auto-20150622.0800-1m" Jul 22 08:00:05 Minas-Tirith autosnap.py: [tools.autosnap:70] Popen()ing: /sbin/zfs destroy -r -d "volume1@auto-20150622.0800-1m"
For a second I thought it might be turning over the old logfile, but it has been locked in a state of high CPU usage way before this time.
FreeNAS dropping off the network and this high CPU usage seem related. Yesterday morning it spontaneously jumped to 80% CPU and stayed there all day until I found it was no longer on the network and rebooted it. It resumed at normal idle CPU, then jumped up again at the first file transfer, staying at 30% CPU for about 3 hours, then jumping to 50% CPU where it's staying. However this first file transfer occurred at the exact same time it was turning over the log file...
Could it be compressing the log and hanging? In trying to see older logfiles I seemed to crash nano when I tried to view /var/log/messages.0. I can't open it. Wouldn't that be the older logfile bzip2 is trying to compress?
Any suggestions?