• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved random 502 bad gateway

DarkKikies

Basic Pleskian
Hello, lately I find myself to have random 502 errors nginx.
And all domains, including plesk are not accessible.
Sometimes on plesk you get this error:
sql Failed to create unix socket

I actually do not nginx active on vps

Running a cat /proc/user_beancounters
It is one of failcnt 500 on numothersock.

How can I fix? I might have a guide?

The ram is never above the 50%. The vps is on ovh.


In the sw-cp-server error_log I found:

*64 socket() failed (12: Cannot allocate memory) while connecting to upstream, client: ****, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "****"
 
Last edited:
Your virtual server does not have enough resources for the requirements of your websites. You will need to upgrade the vserver or contact your administrator on increasing the parameters for your account.
 
I resolved, a client of mine was making requests to an external db that made me reach the limit with numothersock.

I just replaced that IP with the localhost numthersock fell drastically.

I do not know what may be due...

thanks for the reply Peter Debik ;)
 
Back
Top