swap-stopper, go back to continuing after the restarts are called.
This commit is contained in:
@@ -66,6 +66,7 @@ while [[ true ]]; do
|
|||||||
then
|
then
|
||||||
echo "WARNING: RAM full and swap is growing. Restarting LLMs."
|
echo "WARNING: RAM full and swap is growing. Restarting LLMs."
|
||||||
restart_llms
|
restart_llms
|
||||||
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If both are high then restart LLM services.
|
# If both are high then restart LLM services.
|
||||||
@@ -74,6 +75,7 @@ while [[ true ]]; do
|
|||||||
then
|
then
|
||||||
echo "WARNING: RAM and swap both high. Restarting LLMs."
|
echo "WARNING: RAM and swap both high. Restarting LLMs."
|
||||||
restart_llms
|
restart_llms
|
||||||
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Finish #
|
# Finish #
|
||||||
|
|||||||
Reference in New Issue
Block a user