100% cpu usage on CentOS/RHEL 6
Amol Kulkarni
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.
#!/bin/bash
while [ 1 ]
do
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/java -version &
sleep 1s
done
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.
>
> 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<https://bugzilla.kernel.org/show_bug.cgi?id=32922>
>>
>> Mark Thornton
>>
>>
More information about the discuss
mailing list