100% cpu usage on CentOS/RHEL 6

David Holmes david.holmes at oracle.com
Tue Jul 3 02:24:48 UTC 2012


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.

Thanks,
David Holmes

On 3/07/2012 12:02 AM, Mark Thornton wrote:
> On 02/07/12 14:45, Amol Kulkarni wrote:
>> Hi,
>>
>> 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:
> https://bugzilla.kernel.org/show_bug.cgi?id=32922
>
> Mark Thornton
>



More information about the discuss mailing list