High CPU and I/O Usage and Syslog getting spammed with DHCP Information

Nov 14th, 2017 | By | Category: Linux / Freebsd

I ran into this issue earlier this day on a brand new Google Cloud VM.  In my cloud console my CPU usage was pinned at 100% for hours and the only thing showing up in top was dhclient using around 3-5% and journald using 3-5%

After going into the syslog I found a ton of spam like this:

dhclient: DHCPDECLINE on eth0 to port 67
dhclient: DHCPDISCOVER on eth0 to port 67 interval 3

Anyways, after googling and googling around I found this: https://askubuntu.com/questions/720412/daemon-log-syslog-files-getting-spamed-with-dhcp-information

Which taught me that apparently after uninstalling sendmail it leaves some bullshit script behing that wreaks all kinds of havok.  Luckily the problem was very easily fixed by deleting this file:



So delete that and everything is right in the world:

Tags: , ,

Leave a Comment