100% cpu usage on CentOS/RHEL 6
amolk112k at gmail.com
Tue Jul 3 11:07:04 UTC 2012
I dont think this is the leap-second bug bcos I can simulate it at any time
using foll script.
while [ 1 ]
/usr/lib/jvm/java-1.6.0-openjdk-188.8.131.52.x86_64/bin/java -version &
The leap second bug seems to be occuring only near 30 Jun or 1 Jul.
I did generate a backtrace with this prb but I dont have openjdk with debug
symbols - can u tell me where I can get it?
On Tue, Jul 3, 2012 at 7:54 AM, David Holmes <david.holmes at oracle.com>wrote:
> Yes this sounds like the linux leap-second bug.
> Despite a lot of ignorant comments on the web this is not a bug in Java.
> But I would really appreciate it if someone experience this can send me a
> stack trace from the problematic thread(s). I think I know what is
> happening but need to confirm.
> David Holmes
> On 3/07/2012 12:02 AM, Mark Thornton wrote:
>> On 02/07/12 14:45, Amol Kulkarni wrote:
>>> I have a java app running on CentOS 6.0. It always runs in background via
>>> cron. Sometimes this app goes into wait state while using 100% cpu.
>>> My java version is :
>>> java version "1.6.0_17"
>>> OpenJDK Runtime Environment (IcedTea6 1.7.4) (rhel-1.21.b17.el6-x86_64)
>>> OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)
>>> Other symptoms are :
>>> a. One thread of the process seems to be in a loop waiting for something.
>>> When traced using strace, it shows following o/p continuously :
>>> futex(0x7fb8000ac728, FUTEX_WAKE_PRIVATE, 1) = 0
>>>> futex(0x7fb8000ac754, FUTEX_WAIT_BITSET_PRIVATE|**FUTEX_CLOCK_REALTIME,
>> Could it be related to this:
>> Mark Thornton
More information about the discuss