Sunday, July 1, 2012

Leap second causing ksoftirqd and Java eat up a lot of cpu rescources in CentOS 6

A leap second is added on 1 July 2012 UTC+0.

I found that ksoftirqd and MATLAB in my machines comsume extremely high CPU load even they were idle.

The affected machines all run on Centos 6 and 6.2.

The solution is simple, just run:
# date -s "`date`"

on the affected machine and they got back normal.

Reference:
http://marc.info/?l=linux-kernel&m=134113389621450&w=2 


Updates:


When I read the system log, the kenrel indeed acknowledge the occurrence of lead second.


I think the problem is from Java, which Matlab runs on it.

When all "hot dog" were gone....

Finally, Hong Kong has no public air-conditioned buses. All of them become our memory.