We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
nginx 500 internal server error
nginx 500 internal server error
Error log for nginx (/var/log/nginx/error.log)
I have followed this instructions.
http://stackoverflow.com/questions/7325 ... ts-per-min
Somewhere on google I also read about changing soft and hard limit but I don't know if this is the culprit and that how to change it.
The default
ulimit -Sn
1024
ulimit -Hn
4096
I am using CentOS 6.7 x64
Code: Select all
2016/08/04 06:15:59 [alert] 16205#16205: socketpair() failed while spawning "worker process" (24: Too many open files)
2016/08/04 06:15:59 [alert] 16205#16205: socketpair() failed while spawning "worker process" (24: Too many open files)
2016/08/04 06:15:59 [alert] 16205#16205: socketpair() failed while spawning "worker process" (24: Too many open files)
2016/08/04 06:15:59 [alert] 16205#16205: socketpair() failed while spawning "worker process" (24: Too many open files)
2016/08/04 06:15:59 [alert] 16205#16205: socketpair() failed while spawning "cache manager process" (24: Too many open files)
2016/08/04 06:15:59 [alert] 16205#16205: socketpair() failed while spawning "cache loader process" (24: Too many open files)
http://stackoverflow.com/questions/7325 ... ts-per-min
Somewhere on google I also read about changing soft and hard limit but I don't know if this is the culprit and that how to change it.
The default
ulimit -Sn
1024
ulimit -Hn
4096
I am using CentOS 6.7 x64
Re: nginx 500 internal server error
Remove the line where you are assigning a different log file so he uses the standard one at /var/log/nginx/error.log
Also the socket thing is a recommendation and some people can recommend you to use tcp, but still should not be related to your error if you phpinfo.php is working.
Does this Yii requires any kind of cute urls or something similar?
try adding " fastcgiintercepterrors on; " to the php block and check error log.
Also the socket thing is a recommendation and some people can recommend you to use tcp, but still should not be related to your error if you phpinfo.php is working.
Does this Yii requires any kind of cute urls or something similar?
try adding " fastcgiintercepterrors on; " to the php block and check error log.
Re: nginx 500 internal server error
You can change the soft and hard limits in etc/nginx/nginx.conf
increase the values of
worker_rlimit_nofile xxxxxx;
worker_connections xxxxxx;
increase the values of
worker_rlimit_nofile xxxxxx;
worker_connections xxxxxx;
Re: nginx 500 internal server error
I believe the issue is with the system. Should be this one: https://serverfault.com/questions/63721 ... -on-centoskareem wrote:You can change the soft and hard limits in etc/nginx/nginx.conf
increase the values of
worker_rlimit_nofile xxxxxx;
worker_connections xxxxxx;