Skip to content
Snippets Groups Projects

remove warning for this limit

Merged Hahn Axel (hahn) requested to merge remove-php-processes-warning into master
1 file
+ 13
9
Compare changes
  • Side-by-side
  • Inline
+ 13
9
@@ -191,10 +191,12 @@ fi
# ph.setStatus warning
# fi
if [ $iMaxChilds -gt 0 ]; then
# ph.setStatus critical
ph.setStatus warning
fi
# 5601 - remove warning for this limit (it is a flag and won't remove)
# if [ $iMaxChilds -gt 0 ]; then
# # ph.setStatus critical
# ph.setStatus warning
# fi
if [ $iWorkerIdle -eq 0 ]; then
ph.setStatus warning
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
# fi
if [ $iMaxChilds -gt 0 ]; then
echo $hint
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
# 5601 - remove warning for this limit (it is a flag and won't remove)
# if [ $iMaxChilds -gt 0 ]; then
# echo $hint
# 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
echo $hint
echo "WARNING: $iQueue queued requests were found. Maximum of queued items is $iMaxQueue (since last start of fpm service)."
Loading