N
N
Natterum2015-12-18 16:27:50
Nginx
Natterum, 2015-12-18 16:27:50

Does anyone know how to properly configure Nginx+FastCGI on Red Hat?

I installed the Nginx+FastCGI bundles on Red Hat following the standard instructions
https://www.linode.com/docs/websites/nginx/nginx-a...
Now the problem is that the server leaks memory because of this and remains only 10 MB out of 1024 MB, on which the server works and is quite good, then after a while MySQL crashes with an error and only restarting the server helps.
Tell me where the configuration file is located and how it can be configured so that there is no such memory leak?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Natterum, 2015-12-18
@Natterum

The problem is generally solved In the /etc/rc.d/init.d/php-fastcgi
file You just need to change the parameters PHP_FCGI_CHILDREN=3 PHP_FCGI_MAX_REQUESTS=100 As you wish

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question