From patchwork Sun Oct 28 13:38:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 989987 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-96784-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ens-lyon.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="MKZCU2nc"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42jf2s3Dgcz9sDF for ; Mon, 29 Oct 2018 00:39:01 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; q=dns; s= default; b=kxS8MF/X5pKrqr57OpKrJF9m/biyqiiYYl3NhNQ8M/j8sYXejQz0F aPpIBoKrjRDghAgVNIUKMc6QSClR+YtQBYr0vVx5svTjG6V/SgpErJcySBj4QtaA gZoXf2sWEbxLqCBteHvEt079lm04fzZqtIni2bvv0BkqUJHRix5vys= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; s=default; bh=l7Q2j33+Bwir0DT0LWSbyZ+w89M=; b=MKZCU2nc+ISYEPtPpJrPMgRs4ZaA PFK/SsUdZQhFwdzi1a9UWBzqNBkMPnKxo04mcaeTsffp/aXT5u+nRvsqBHYN9L4c KQ09Km1V5nqqDDW07Q0Q4gH7avS9b6fLr5yXA4UYWfKd9EnBmiC8hHJ8uswaxU5F DoYk1qG9kuIVEKg= Received: (qmail 64008 invoked by alias); 28 Oct 2018 13:38:32 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 63737 invoked by uid 89); 28 Oct 2018 13:38:29 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_NEUTRAL autolearn=ham version=3.3.2 spammy=60000, HContent-Transfer-Encoding:8bit X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault , commit-hurd@gnu.org Subject: [hurd,commited 1/3] hurd: set interrupt timeout to 1 minute Date: Sun, 28 Oct 2018 14:38:18 +0100 Message-Id: <20181028133820.11856-2-samuel.thibault@ens-lyon.org> In-Reply-To: <20181028133820.11856-1-samuel.thibault@ens-lyon.org> References: <20181028133820.11856-1-samuel.thibault@ens-lyon.org> MIME-Version: 1.0 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 + + * 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 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])