summaryrefslogtreecommitdiffstats
path: root/etc/rc.php_ini_setup
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-11-21 16:18:04 -0500
committerScott Ullrich <sullrich@pfsense.org>2009-11-21 16:18:04 -0500
commitf82be9e4ecae9c33095ca6fb6532e7f78fe7e266 (patch)
treeec3a555dfd2d148b922032868f7a024b992dd8bc /etc/rc.php_ini_setup
parent2b11ff4db021d793dda7bb7bbf460f7d0d528bd7 (diff)
downloadpfsense-f82be9e4ecae9c33095ca6fb6532e7f78fe7e266.zip
pfsense-f82be9e4ecae9c33095ca6fb6532e7f78fe7e266.tar.gz
Set default size for apc shm to 10 megs for < 128
Diffstat (limited to 'etc/rc.php_ini_setup')
-rwxr-xr-xetc/rc.php_ini_setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.php_ini_setup b/etc/rc.php_ini_setup
index 6d1315e..c63b493 100755
--- a/etc/rc.php_ini_setup
+++ b/etc/rc.php_ini_setup
@@ -33,7 +33,7 @@ AVAILMEM=`cat /var/log/dmesg.boot | grep "memory" | grep "avail" | awk '{ print
# Calculate APC SHM size according
# to detected memory values
if [ "$AVAILMEM" -lt "128" ]; then
- APCSHMEMSIZE="5"
+ APCSHMEMSIZE="10"
fi
if [ "$AVAILMEM" -gt "128" ]; then
APCSHMEMSIZE="25"
OpenPOWER on IntegriCloud