From 581b6783201b1774bdd51b8d45845703d7a0519f Mon Sep 17 00:00:00 2001 From: Fiona Ebner Date: Tue, 18 Jun 2024 09:52:48 +0200 Subject: [PATCH] vma restore: bump timeout for reading header With high IO pressure, 5 seconds might not be enough, even if the request is small. Suggested-by: Thomas Lamprecht Signed-off-by: Fiona Ebner --- PVE/QemuServer.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 85e8d74b..5e2f5e2a 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -7546,7 +7546,7 @@ sub restore_vma_archive { local $SIG{PIPE} = sub { die "interrupted by signal\n"; }; local $SIG{ALRM} = sub { die $timeout_message; }; - $oldtimeout = alarm(5); # for reading the VMA header - might hang with a corrupted one + $oldtimeout = alarm(60); # for reading the VMA header - might hang with a corrupted one $timeout_message = "got timeout reading VMA header - corrupted?\n"; my $parser = sub {