From 46a7f24c84299bb1ad63de725f67d1df5dffc2dc Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 9 Oct 2018 22:27:59 +0200 Subject: [PATCH] hurd: set interrupt timeout to 1 minute 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 736d85f..79255d3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2018-10-28 Samuel Thibault + + * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000. + 2018-10-26 Joseph Myers * scripts/build-many-glibcs.py: Remove compatibility for missing diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c index aa82f63..48179b4 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.7.4