High CPU utilization after undefined events

Denis Vasiliev

New Member

We observe high jumps in the loading of the CPU process from the Flashphoner. The problem occurs either on all servers at once or on several nodes separately.

Undefined events take place in the interval 00:00 - 01:00 UTС on all servers, after the events, the use of the processor by the Flashphoner increases from 5% to 99%, after the server reboots everything returns to normal.


Based on the logs, the growth of CPU consumption begins after the errors below:

00:20:59,434 ERROR HLSServerHandler - HLS-HTTP-pool-28-thread-5 HTTP error
java.lang.IllegalArgumentException: invalid version format: ￀(￀$￀￀

00:05:58,792 ERROR HLSServerHandler - HLS-HTTP-pool-28-thread-3 HTTP error
java.lang.IllegalArgumentException: empty text

00:27:18,260 ERROR HLSServerHandler - HLS-HTTP-pool-28-thread-3 HTTP error
java.io.IOException: Connection reset by peer

The load is kept statically within 95-99%, only server reboot helps.

Thank you.


Staff member
Good day.
This is a known JDK 8 and JDK 11 issue: Java NIO threads used for websocket incoming connections handling consume CPU while waiting for incoming connections. You should update JDK to 12, 14, 15 or 16 from repository if available or manually as described here.