From owner-freebsd-stable@FreeBSD.ORG Thu Jul 14 10:08:56 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C533D106564A for ; Thu, 14 Jul 2011 10:08:56 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8687B8FC0C for ; Thu, 14 Jul 2011 10:08:56 +0000 (UTC) Received: by qwc9 with SMTP id 9so69032qwc.13 for ; Thu, 14 Jul 2011 03:08:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=nMge6yLdroh3dh3X48RRO7PifLK1V10VyVRjl45hpVA=; b=lQY+npZthnHUTJ+OybMU4d9gtoB5vRSFMqkZ3Ae001IFJX7zF9SrMY2Px1/oSnRGu1 MnNK/HkCit9zmp9kT2JqZUVZhjEq8EOWG4O122jMX9N5jXepg0D3E2duMPrjxml2R1KK CdNreojythLUB58f2nIpVJVgp5bKJbuANl1OE= MIME-Version: 1.0 Received: by 10.224.128.78 with SMTP id j14mr1766112qas.319.1310636336470; Thu, 14 Jul 2011 02:38:56 -0700 (PDT) Received: by 10.229.219.19 with HTTP; Thu, 14 Jul 2011 02:38:56 -0700 (PDT) Date: Thu, 14 Jul 2011 13:38:56 +0400 Message-ID: From: Subbsd To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Subject: watchdog timeout for pwait/rc.shutdown X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2011 10:08:56 -0000 Hi Tell me please, is it possible to change the behavior of shutdown sequence to avoid work of kill process (or increase timeout). =F4ot always process can not react to signals and stop - for example, heavy MySQL server databases or databases/redis - can not keep up with 30 seconds to correct shutdown. In my example noSQL product - redis holds a 10 GB RAM memory and when stop it just did not have time to reset the state to disk when i stop process or jail with redis. As result ive have in /var/db/redis "dump.tmp.XX" - broken DB about ~3 Gb instead of 10 GB. Waiting for PIDS: 47924 30 second watchdog timeout expired. Shutdown terminated. Thu Jul 14 16:24:30 MSD 2011 Killed PS: I may be mistaken but I think this problem did not exist before PS2: i have RELENG_8 and HEAD version of FreeBSD PS3: Thanks in advance