CPU usage 100% with wildfly 26.

76 views
Skip to first unread message

Arjun Lodhe

unread,
Jul 1, 2024, 11:56:45 PM (5 days ago) Jul 1
to WildFly
Hello everyone,

We are observing high CPU utilization with security scanner (e.g. Qualys).
So we have a JAVA application deployed on wildfly which works fine normally. But as soon as we run the Qualys scanner the utilization goes high (upto 100%) and it stays like this until we reboot the server or restart the wildfly services. 

Wildfly version: WFLYSRV0050: WildFly Full 26.1.3.Final (WildFly Core 18.1.2.Final).

Also, we dont see this with wildfly version: WFLYSRV0049: WildFly Full 19.0.0.Final (WildFly Core 11.0.0.Final)


Regards,
Arjun

The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful.  The views and opinions included in this email belong to their author and do not necessarily mirror the views and opinions of the company.  If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. 

Pratik Gupta

unread,
Jul 3, 2024, 4:25:24 AM (4 days ago) Jul 3
to WildFly
Hi,

We are also facing the same issue where CPU utilization going very high at the time of security scan. Any solution or workaround for this? 

- Pratik

Kumar Dawani

unread,
Jul 4, 2024, 10:00:47 AM (3 days ago) Jul 4
to WildFly
Hello All,

Lot of of our customers are facing the similar issue, please suggest a quick fix or workaround for this issue.

If anyone has any clue to the fix or root cause of the issue please post it would be really helpful.

Regards,
Kumar

Darran Lofthouse

unread,
Jul 4, 2024, 10:03:01 AM (3 days ago) Jul 4
to WildFly
I would suggest seeing if you can reproduce this in a non production environment so that you can undertake some investigation as to what is happening.

A couple of things that may be useful could be some GC logging and a few thread dumps taken during the high CPU utilisation to try and see what is happening at the time.

Arjun Lodhe

unread,
Jul 5, 2024, 1:00:00 AM (2 days ago) Jul 5
to Darran Lofthouse, WildFly
Thank you for the response Darran Lofthouse. 
Unfortunately, when the CPU  utilization is high, we are not able to generate heapdump or threaddump. However I managed to generate process stack using gdb and almost all the processes are stuck here:

Thread 246 (Thread 0x7fa93ceb5700 (LWP 8409)):
#0  0x00007fa965568a35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa964432873 in os::PlatformEvent::park() () from /usr/lib/jvm/java-11-openjdk-11.0.18.0.10-1.el7_9.x86_64/lib/server/libjvm.so
#2  0x00007fa9643dc1a2 in Monitor::IWait(Thread*, long) () from /usr/lib/jvm/java-11-openjdk-11.0.18.0.10-1.el7_9.x86_64/lib/server/libjvm.so
#3  0x00007fa9643dcd66 in Monitor::wait(bool, long, bool) () from /usr/lib/jvm/java-11-openjdk-11.0.18.0.10-1.el7_9.x86_64/lib/server/libjvm.so
#4  0x00007fa96414a08e in JVM_WaitForReferencePendingList () from /usr/lib/jvm/java-11-openjdk-11.0.18.0.10-1.el7_9.x86_64/lib/server/libjvm.so
#5  0x00007fa94ab50a30 in ?? ()
#6  0x00007fa93ceb48f0 in ?? ()

Regards,
Arjun

--
You received this message because you are subscribed to the Google Groups "WildFly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wildfly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/55400351-49f6-4580-920f-742773cd9bd0n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages