Skip to content

Commit

Permalink
ensure max_requests is set
Browse files Browse the repository at this point in the history
  • Loading branch information
mastacontrola committed May 29, 2018
1 parent e61b7fe commit bddd71c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/common/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1498,6 +1498,7 @@ EOF
esac
if [[ -n $phpfpmconf ]]; then
sed -i 's/listen = .*/listen = 127.0.0.1:9000/g' $phpfpmconf >>$workingdir/error_logs/fog_error_${version}.log 2>&1
sed -i 's/^[;]pm\.max_requests = .*/pm.max_requests = 2000/g' $phpfpmconf >>$workingdir/error_logs/fog_error_${version}.log 2>&1
fi
if [[ $osid -eq 2 ]]; then
a2enmod $phpcmd >>$workingdir/error_logs/fog_error_${version}.log 2>&1
Expand Down

0 comments on commit bddd71c

Please sign in to comment.