diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-09-19 21:29:11 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-09-19 21:29:11 +0000 |
commit | dfd775433655394fed3a6d35c44fc66f11295e15 (patch) | |
tree | 6c4b43433b1f4f99229204676f820d08239ee47d /etc/inc/captiveportal.inc | |
parent | 8d0abf6b393d1ca093568e7004608061d758e902 (diff) | |
download | pfsense-dfd775433655394fed3a6d35c44fc66f11295e15.zip pfsense-dfd775433655394fed3a6d35c44fc66f11295e15.tar.gz |
Be more conservative on the number of fast-cgi processes
Diffstat (limited to 'etc/inc/captiveportal.inc')
-rw-r--r-- | etc/inc/captiveportal.inc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc index 1cbdef3..c0abeaa 100644 --- a/etc/inc/captiveportal.inc +++ b/etc/inc/captiveportal.inc @@ -176,19 +176,19 @@ EOD; $procs = 1; $use_fastcgi = false; } else if($avail > 64 and $avail < 128) { - $procs = 5; + $procs = 2; } else if($avail > 128 and $avail < 164) { - $procs = 15; + $procs = 3; } else if($avail > 164 and $avail < 256) { - $procs = 20; + $procs = 4; } else if($avail > 256 and $avail < 384) { - $procs = 25; + $procs = 5; } else if($avail > 384 and $avail < 512) { - $procs = 30; + $procs = 6; } else if($avail > 512 and $avail < 684) { - $procs = 40; + $procs = 7; } else { - $procs = 50; + $procs = 8; } /* generate lighttpd configuration */ |