Increase number of children
This commit is contained in:
parent
0de2445636
commit
6d1470b76b
|
@ -2695,6 +2695,18 @@ cgi.fix_pathinfo=0
|
||||||
|
|
||||||
Save and exit. Also edit */etc/php5/cli/php.ini* and set /memory_limit/ to the same value. This should prevent any rogue scripts from crashing the system.
|
Save and exit. Also edit */etc/php5/cli/php.ini* and set /memory_limit/ to the same value. This should prevent any rogue scripts from crashing the system.
|
||||||
|
|
||||||
|
#+BEGIN_SRC: bash
|
||||||
|
editor /etc/php5/fpm/pool.d/www.conf
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
Set the following:
|
||||||
|
|
||||||
|
#+BEGIN_SRC: bash
|
||||||
|
pm.max_children = 10
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
Save and exit.
|
||||||
|
|
||||||
#+BEGIN_SRC: bash
|
#+BEGIN_SRC: bash
|
||||||
service php5-fpm restart
|
service php5-fpm restart
|
||||||
service nginx restart
|
service nginx restart
|
||||||
|
@ -7203,7 +7215,7 @@ map $http_upgrade $connection_upgrade {
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443;
|
||||||
server_name tunes.us.to;
|
server_name tunes.us.to;
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue