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

no warning on reading workers = 0

parent 6152ef1c
No related branches found
No related tags found
No related merge requests found
...@@ -183,9 +183,11 @@ fi ...@@ -183,9 +183,11 @@ fi
if [ $iWorkerIdle -eq 0 ]; then if [ $iWorkerIdle -eq 0 ]; then
ph.setStatus warning ph.setStatus warning
fi fi
if [ $iWorkerReading -eq 0 ]; then
ph.setStatus warning # seems not to be useful
fi # if [ $iWorkerReading -eq 0 ]; then
# ph.setStatus warning
# fi
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# output # output
...@@ -207,13 +209,13 @@ if [ $iWorkerIdle -eq 0 ]; then ...@@ -207,13 +209,13 @@ if [ $iWorkerIdle -eq 0 ]; then
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 [ $iWorkerReading -eq 0 ]; then # if [ $iWorkerReading -eq 0 ]; then
echo $hint # echo $hint
echo "WARNING: No reading workers available." # echo "WARNING: No reading workers available."
echo " Maybe there is a current peak only." # echo " Maybe there is a current peak only."
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 if [ $iMaxChilds -gt 0 ]; then
echo $hint 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 "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."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment