You can increase the "Max connectons" of lsphp5 external app.
There might be problem with DB SQL statements, which lock the table for long time, and block all other SQL query, thus all PHP processes hang.
Use command
mysqladmin processlist
to check active SQL querys when you experience the...