diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-06-07 01:54:37 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-06-07 01:54:37 +0000 |
commit | 32cd3ca3dc00b13b1c6e8d1da76e3d84e7be2698 (patch) | |
tree | ca8a30b86a08d4874d229af3594d89d76387d16a /etc/inc/system.inc | |
parent | ca1f0641952c2a713da8d4ce1c1348948aaaa141 (diff) | |
download | pfsense-32cd3ca3dc00b13b1c6e8d1da76e3d84e7be2698.zip pfsense-32cd3ca3dc00b13b1c6e8d1da76e3d84e7be2698.tar.gz |
* Increase max load per proc to 100
* Increase fastcgi count to 3 only when there is more than 74 megs of ram
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r-- | etc/inc/system.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 9799c04..16b4e6c 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -576,7 +576,7 @@ function system_generate_lighty_config($filename, $memory = get_memory(); $avail = $memory[0]; - if($avail > 0 and $avail < 65) { + if($avail > 0 and $avail < 75) { $max_procs = 1; $max_requests = 1; } @@ -597,7 +597,7 @@ fastcgi.server = ( ".php" => "socket" => "/tmp/php-fastcgi.socket", "min-procs" => 1, "max-procs" => {$max_procs}, - "max-load-per-proc" => 10, + "max-load-per-proc" => 100, "idle-timeout" => 1, "bin-environment" => ( "PHP_FCGI_CHILDREN" => "{$max_procs}", |