tomcat – mjs.fyi Technology, Cyber Security, Digital Transformation, and Beer Sun, 01 Jul 2012 12:43:10 +0000 en-US hourly 1 https://wordpress.org/?v=6.6.1 July 1 2012 Linux problems? High CPU/Load? Probably caused by the Leap Second! /2012/07/july-1-2012-tomcat-problems-high-cpuload-probably-caused-by-the-leap-second/ /2012/07/july-1-2012-tomcat-problems-high-cpuload-probably-caused-by-the-leap-second/#comments Sun, 01 Jul 2012 12:43:10 +0000 http://linux.uits.uconn.edu/mas02041/?p=194 (Update posted, see below)

As posted in multiple places around the web:

Debian

/etc/init.d/ntp stop
date `date +"%m%d%H%M%C%y.%S"`

Red Hat

/etc/init.d/ntpd stop
date `date +"%m%d%H%M%C%y.%S"`

Update:

This first manifested itself for us in our Java stacks — all of our (dual processor) Tomcat servers were running at a load of 30-40.  However, this is a known (and fixed) kernel bug:

https://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6b43ae8a619d17c4935c3320d2ef9e92bdeed05d

Apparently, simply forcing a reset of the date is enough to fix the problem:

date -s "`date`"
]]>
/2012/07/july-1-2012-tomcat-problems-high-cpuload-probably-caused-by-the-leap-second/feed/ 2