When all io-threads are occupied the CPU usage is very high - Wildfly 29

209 views
Skip to first unread message

Yashaswini Adiga

unread,
Nov 2, 2023, 1:00:07 AM11/2/23
to WildFly
Hi All,

We are seeing a scenario when busy task thread count reaches the io thread count we see the CPU is being blocked. The reason we have these threads busy is because our call to once of our backend server takes time. this is SOAP call over http. However, we are wondering why would the CPU usage spike.

This is our configuration 
            <worker name="default" io-threads="200" task-max-threads="200"/>

Any insights appreciated

Bartosz Baranowski

unread,
Nov 7, 2023, 6:42:22 AM11/7/23
to WildFly
Id bet that it might be due to thread starvation and aggressive attempts to reclaim blocked resources? Better question is - why all IO threads become occupied by SOAP call? This does look like flaw in design/bottle neck.
Reply all
Reply to author
Forward
0 new messages