High Traffic experience error 500 internal server error
High Traffic experience error 500 internal server error
Hello, im using vestacp on my site with over 150,000 unique visitors per day and im very happy how vestacp handle my site. But its just came to my attention that when my Nginx usage reach to 1900 current connection its sometimes display error 500 internal server error and when i refresh its working fine.
MY SERVER NOW:
-16GB Ram
-8 Core Processor
-CentOS 6.5 x64
from digitalocean.com
Is there anything i can do to increase my Nginx usage cause its always stacking in 1900 and i already move to bigger server.
Or is there anything you can suggest to avoid 500 internal server error.
Sorry for my english.
MY SERVER NOW:
-16GB Ram
-8 Core Processor
-CentOS 6.5 x64
from digitalocean.com
Is there anything i can do to increase my Nginx usage cause its always stacking in 1900 and i already move to bigger server.
Or is there anything you can suggest to avoid 500 internal server error.
Sorry for my english.
Re: High Traffic experience error 500 internal server error
Yep, I have one or two suggestion. ;-)
You need optimize your server settings and reise settings in nginx/apache/mysql. But don't do it carelessly, you need set parameters, which your server can handle. What's 500 error is? It's webserver error. I think apache2 cant' handle all requests.
Use need cache everywhere and everything you can. If your cms/site engine can, use memcache and nginx cache.
You need optimize your server settings and reise settings in nginx/apache/mysql. But don't do it carelessly, you need set parameters, which your server can handle. What's 500 error is? It's webserver error. I think apache2 cant' handle all requests.
Use need cache everywhere and everything you can. If your cms/site engine can, use memcache and nginx cache.
Re: High Traffic experience error 500 internal server error
And one more think, VestaCP don't make your server cool. It's a tool to make your server, but there is no magic - tunings need ;-)
Re: High Traffic experience error 500 internal server error
I have configured my nginx settings,my server has 8 processor and i increase my worker_processes to 8 and it seems fixed. But i more query, how do i increase my httpd current connections? cause the max current connections is 400.
Re: High Traffic experience error 500 internal server error
500 Internal Server Error - Nginxskurudo wrote:What's 500 error is?
Re: High Traffic experience error 500 internal server error
In over 9000 cases this is webserver error.getgmb wrote:500 Internal Server Error - Nginx
Re: High Traffic experience error 500 internal server error
/etc/httpd/conf/httpd.confgetgmb wrote:I have configured my nginx settings,my server has 8 processor and i increase my worker_processes to 8 and it seems fixed. But i more query, how do i increase my httpd current connections? cause the max current connections is 400.
<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
ServerLimit 256
MaxClients 200
MaxRequestsPerChild 4000
</IfModule>
param ServerLimit > MaxClients
or you get error when apache/httpd test configuration
Re: High Traffic experience error 500 internal server error
Yes but when i refresh its working fine, only when i reach 1900 nginx current connection its showing this error.skurudo wrote:In over 9000 cases this is webserver error.getgmb wrote:500 Internal Server Error - Nginx