Skip to content
Snippets Groups Projects
Commit 88b1114c authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

Merge branch 'remove-php-processes-warning' into 'master'

remove warning for this limit

See merge request !29
parents f9260c65 e48a1780
No related branches found
No related tags found
1 merge request!29remove warning for this limit
...@@ -191,10 +191,12 @@ fi ...@@ -191,10 +191,12 @@ fi
# ph.setStatus warning # ph.setStatus warning
# fi # fi
if [ $iMaxChilds -gt 0 ]; then # 5601 - remove warning for this limit (it is a flag and won't remove)
# ph.setStatus critical # if [ $iMaxChilds -gt 0 ]; then
ph.setStatus warning # # ph.setStatus critical
fi # ph.setStatus warning
# fi
if [ $iWorkerIdle -eq 0 ]; then if [ $iWorkerIdle -eq 0 ]; then
ph.setStatus warning ph.setStatus warning
fi fi
...@@ -231,11 +233,13 @@ fi ...@@ -231,11 +233,13 @@ fi
# echo " Or count of allowed workers (pm.max_children) or spare servers (pm.XXX_spare_servers) is too low." # echo " Or count of allowed workers (pm.max_children) or spare servers (pm.XXX_spare_servers) is too low."
# echo # echo
# fi # fi
if [ $iMaxChilds -gt 0 ]; then
echo $hint # 5601 - remove warning for this limit (it is a flag and won't remove)
echo "WARNING: Max. count of children was reached: $iMaxChilds. Maximum of active workers was $iMaxActive - maybe count of allowed workers (pm.max_children) is too low." # if [ $iMaxChilds -gt 0 ]; then
echo # echo $hint
fi # echo "WARNING: Max. count of children was reached: $iMaxChilds. Maximum of active workers was $iMaxActive - maybe count of allowed workers (pm.max_children) is too low."
# echo
# fi
if [ $iQueue -gt 0 ]; then if [ $iQueue -gt 0 ]; then
echo $hint echo $hint
echo "WARNING: $iQueue queued requests were found. Maximum of queued items is $iMaxQueue (since last start of fpm service)." echo "WARNING: $iQueue queued requests were found. Maximum of queued items is $iMaxQueue (since last start of fpm service)."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment