Exit with "system unavailable" when the maximum number of processes is reached
This commit is contained in:
parent
d80c21b15f
commit
79fd49f611
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue