MySQL auto stopped

Hi,

The MySQL service of my friend’s web site often stop, and it cannot restart again sometimes. I checked for him and I found the following error in error log.

2016/07/14 22:25:34 [error] 4583#4583: *16217 connect() failed (111: Connection refused) while connecting to upstream, client: 162.158.243.16, server: pcucgame.com, request: "GET /stardew-valley-wizard/ HTTP/1.1", subrequest: "/redis-fetch", upstream: "redis://127.0.0.1:6379", host: "pcucgame.com"

I am not sure it related to MySQL itself or redis Does anyone have ideas for this? Thanks

MySQL will crash in situation of low memory.

Is there enough RAM for server needs?

I belive it have enough ram

I just told my fd make a new VPS server and move to it with default settings.

Now he have following error message in the log.

2016/07/16 21:43:13 [error] 909#909: *114560 upstream timed out (110: Connection timed out) while reading upstream, client: 162.158.241.90, server: pcucgame.com, request: “POST /wp-admin/admin.php?page=wp-autolink/wp-autolink-updatedpost.php HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9070”, host: “pcucgame.com”, referrer: “https://pcucgame.com/wp-admin/admin.php?page=wp-autolink%2Fwp-autolink-updatedpost.php&taskId=5&url_status=0

Is it a php7 error? It show upstream error

The error message suggests PHP7 is not running.