Exit with "system unavailable" when the maximum number of processes is reached

This commit is contained in:
Michael Vogel 2016-06-06 21:22:54 +02:00
parent d80c21b15f
commit 79fd49f611

View File

@ -65,7 +65,7 @@ if(!$install) {
if ($processlist["amount"] > $max_processes) { if ($processlist["amount"] > $max_processes) {
logger("Processcheck: Maximum number of processes for frontend tasks (".$max_processes.") reached.", LOGGER_DEBUG); logger("Processcheck: Maximum number of processes for frontend tasks (".$max_processes.") reached.", LOGGER_DEBUG);
return; system_unavailable();
} }
} }