PHP websocket server issue with MYSQL not running sometimes

I have developed a PHP Websocket server … similar to a chat server…

the issue I am having is that everything works fine when I first start the server or whenever I start the server and for few hours it works well…

However after few hours the MYSQL queries get skipped… I have put a PDO function to check the mysql connection … The connection status is live …but still I cannot find out why the mysql query doesnt work…

I am running nginx on UBUNTU server

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.