Vesta 2.0 is coming soon! See our progress update: https://vestacp.com/docs/vesta-2-update
connect() & recv() failed
connect() & recv() failed
Hello.
Work CentOS 6.8 and Vesta 0.9.8 (x86_64)/17
Used Apache + Nginx
And a lot of errors in the logs:
How to fix?
Work CentOS 6.8 and Vesta 0.9.8 (x86_64)/17
Used Apache + Nginx
And a lot of errors in the logs:
Code: Select all
connect() failed (111: Connection refused) while connecting to upstream
recv() failed (104: Connection reset by peer) while reading response header from upstream
Re: connect() & recv() failed
It seems your Apache is more busy than your Nginx. When Nginx get some requests but Apache can't handle, you get '502 Bad Gateway', which meas Apache refused to work for Nginx.
Try decrease 'worker_connections' and 'worker_processes' in Nginx and increase 'MaxClients', 'ServerLimit'
Make sure worker_connections * worker_processes < MaxClients < ServerLimit
PS: I guess, it's more like resource like problem.
Try decrease 'worker_connections' and 'worker_processes' in Nginx and increase 'MaxClients', 'ServerLimit'
Make sure worker_connections * worker_processes < MaxClients < ServerLimit
PS: I guess, it's more like resource like problem.