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
if [ $iWorkerIdle -eq 0 ]; then
ph.setStatus warning
fi
if [ $iWorkerReading -eq 0 ]; then
ph.setStatus warning
fi
# seems not to be useful
# if [ $iWorkerReading -eq 0 ]; then
# ph.setStatus warning
# fi
# ----------------------------------------------------------------------
# output
......@@ -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
fi
if [ $iWorkerReading -eq 0 ]; then
echo $hint
echo "WARNING: No reading workers available."
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
fi
# if [ $iWorkerReading -eq 0 ]; then
# echo $hint
# echo "WARNING: No reading workers available."
# 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
# 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."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment