[pve-devel] [PATCH qemu-server 2/2] vma restore: bump timeout for reading header
Fiona Ebner
f.ebner at proxmox.com
Tue Jun 18 09:52:48 CEST 2024
With high IO pressure, 5 seconds might not be enough, even if the
request is small.
Suggested-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---
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 {
--
2.39.2
More information about the pve-devel
mailing list