diff --git a/PVE/HTTPServer.pm b/PVE/HTTPServer.pm index 6395bdd9a..eb4fa7ec4 100755 --- a/PVE/HTTPServer.pm +++ b/PVE/HTTPServer.pm @@ -1441,6 +1441,11 @@ sub wait_end_loop { return; } + # fork and exit, so that parent starts a new worker + if (fork()) { + exit(0); + } + # else we need to wait until all open connections gets closed my $w; $w = AnyEvent->timer (after => 1, interval => 1, cb => sub { eval {