[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hurd-commit
Subject:    [hurd,commited 1/3] hurd: set interrupt timeout to 1 minute
From:       Samuel Thibault <samuel.thibault () ens-lyon ! org>
Date:       2018-10-28 13:38:18
Message-ID: 20181028133820.11856-2-samuel.thibault () ens-lyon ! org
[Download RAW message or body]

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  <samuel.thibault@ens-lyon.org>
+
+	* hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
+
 2018-10-26  Joseph Myers  <joseph@codesourcery.com>
 
 	* 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic