Very high EAProc WaitQ

Hi guys,

I'm having very high EAProc WaitQ and it is making my php pages to load very slow.
One of the php page constantly calls another php script every 6 seconds.

Server details:
Ubuntu 18.04 OS.
Dual Core.

During peak times the EAProc WaitQ goes to 100-200 range. Image from LiteSpeed WebAdmin Console.

top -c during peak times.

ps -ef|wc during peak times.

Server Config:
Max Connections 500
Process Soft Limit 300

Even going up to 900 max connections and 900 PHP_LSAPI_CHILDREN isn't solving the issue, also not using database.

Any help is appreciated.