Plesk 17.0.17
Ubuntu 16.04.2 LTS
After the CPU of my machine skyrocketed (seen by Zabbix) I was barely able to login using SSH and when I was logged in I was unable to type any commands.
Strangely enough I was still able to access an important website of that server. Maybe this was due to 1 core being saturated?
I decided to give this machine a (remote) reset.
After the machine came back, it was running normally except for that important site.
It was a PHP-connection problem.
A "netstat -an | grep php" revealed that there was no process listening on that dedicated (site) socket.
I did a Plesk repair web, but this didn't make a difference
The socket existed in the website's user space.
I removed it and switched PHP handlers back and forth and the site started to work.
Am I right in thinking that unix socket wasn't working because it already existed and could not be created and therefore the process failed to startup?
If that's correct then shouldn't the system be changed so it becomes more robust by removing that socket automatically?
Can I get some more info as to which config files are involved to start that PHP-process?
Ubuntu 16.04.2 LTS
After the CPU of my machine skyrocketed (seen by Zabbix) I was barely able to login using SSH and when I was logged in I was unable to type any commands.
Strangely enough I was still able to access an important website of that server. Maybe this was due to 1 core being saturated?
I decided to give this machine a (remote) reset.
After the machine came back, it was running normally except for that important site.
It was a PHP-connection problem.
A "netstat -an | grep php" revealed that there was no process listening on that dedicated (site) socket.
I did a Plesk repair web, but this didn't make a difference
The socket existed in the website's user space.
I removed it and switched PHP handlers back and forth and the site started to work.
Am I right in thinking that unix socket wasn't working because it already existed and could not be created and therefore the process failed to startup?
If that's correct then shouldn't the system be changed so it becomes more robust by removing that socket automatically?
Can I get some more info as to which config files are involved to start that PHP-process?