commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd,commited 1/3] hurd: set interrupt timeout to 1 minute


From: Samuel Thibault
Subject: [hurd,commited 1/3] hurd: set interrupt timeout to 1 minute
Date: Sun, 28 Oct 2018 14:38:18 +0100

Seeing a server not able to get interrupted for 3s is not so surprising when
e.g. a lot of writes are happening. 1 minute allows to actually notice the
issue and be able to debug it.

        * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
---
 ChangeLog      | 4 ++++
 hurd/hurdsig.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 736d85f221..79255d3795 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-10-28  Samuel Thibault  <address@hidden>
+
+       * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
+
 2018-10-26  Joseph Myers  <address@hidden>
 
        * scripts/build-many-glibcs.py: Remove compatibility for missing
diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c
index aa82f63413..48179b4197 100644
--- a/hurd/hurdsig.c
+++ b/hurd/hurdsig.c
@@ -57,7 +57,7 @@ unsigned long int __hurd_sigthread_stack_end;
 struct hurd_sigstate *_hurd_sigstates;
 
 /* Timeout for RPC's after interrupt_operation. */
-mach_msg_timeout_t _hurd_interrupted_rpc_timeout = 3000;
+mach_msg_timeout_t _hurd_interrupted_rpc_timeout = 60000;
 
 static void
 default_sigaction (struct sigaction actions[NSIG])
-- 
2.19.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]