|
|
@ -11,11 +11,13 @@ function ee_lib_ram() |
|
|
|
EE_MEMCACHE_SIZE="64" |
|
|
|
EE_PHP_MAX_CHILDREN="10" |
|
|
|
EE_SETUP_MAILSCANNER="no" |
|
|
|
EE_SWAP="1024" |
|
|
|
# RAM > 512MB and RAM < 1024MB |
|
|
|
elif [ $EE_TOTAL_RAM -gt 512 ] && [ $EE_TOTAL_RAM -le 1024 ]; then |
|
|
|
EE_OPCACHE_SIZE="128" |
|
|
|
EE_MEMCACHE_SIZE="128" |
|
|
|
EE_PHP_MAX_CHILDREN="10" |
|
|
|
EE_SWAP="1024" |
|
|
|
# RAM > 1024MB and RAM < 2048MB |
|
|
|
elif [ $EE_TOTAL_RAM -gt 1024 ] && [ $EE_TOTAL_RAM -le 2048 ]; then |
|
|
|
EE_OPCACHE_SIZE="256" |
|
|
|