Browse Source

Fastcgi Cache Used 25% Size Of /var/run Available Size

old-stable
Mitesh Shah 12 years ago
parent
commit
07efb20544
  1. 7
      install.sh

7
install.sh

@ -143,6 +143,13 @@ else
ln -s /usr/local/sbin/easyengine /usr/local/sbin/ee
fi
# Adjust FastCGI Cache Size 20% Of /var/run
VARRUNSIZE=$(df --block-size=M /var/run | awk '{print $4}' | tail -n1 |cut -d'M' -f1)
FCSIZE=$(expr $VARRUNSIZE \* 25 / 100)
# Change Size
sed -i "s/500m/$FCSIZE\m/" /usr/share/easyengine/nginx/conf.d/fastcgi.conf
# Source EE Auto Complete To Take Effect
source /etc/bash_completion.d/ee

Loading…
Cancel
Save