SOLVED High CPU load - bzip2 maillog

diedrichg

Wizard
Joined
Dec 4, 2012
Messages
1,319
  • FreeNAS 11.2-U3 STABLE
  • Supermicro X10SLM-F-O uATX
  • Intel Xeon E3-1270 v3
  • Kingston 32GB (8GB x 4) ECC w/Hynix DRAM, 1333MHz, 1.5V - KVR1333D3E9SK2/16G
  • (4) WD Red 2TB in RaidZ2
  • Boot drive: Supermicro 16GB SATADOM - SSD-DM016-PHI
I just noticed that over the past four days my CPU usage has increased 20% each day and is now maxed out on five threads at 100%. I ran top and got a few PIDs so I could run procstat -c PID. The result is 78164 bzip2 /usr/bin/bzip2 -f /var/log/maillog.3 The other codes are showing the same thing with various maillog.x numbers. Killing those PIDs brought my CPU back down to idle. WTF is going on?!

Edit: Could it be that the root user email was accidentally removed and therefore the system couldn't find an email address to send alerts to? How can I test the alert email feature?
 
Last edited:

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080
See the documentation. The button marked "Send Mail" is probably the equivalent button to the one in the old UI that was marked "Send Test Email"

https://www.ixsystems.com/documentation/freenas/11.2/system.html#email

1555220268452.png
 

diedrichg

Wizard
Joined
Dec 4, 2012
Messages
1,319
Update: After killing the rogue bzip2 processes, I then went to the root user's account screen and put in a valid email and saved the change. 24 hours later my machine is happy. I have created a bug to require a valid email to be entered for the root user and to make sure that the password field cannot be left blank. Bug # NAS-101425
 
Top