From owner-freebsd-stable@FreeBSD.ORG Sun Jul 8 02:39:17 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D533D106564A; Sun, 8 Jul 2012 02:39:16 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 41FBC8FC08; Sun, 8 Jul 2012 02:39:16 +0000 (UTC) Received: by werp13 with SMTP id p13so6931576wer.13 for ; Sat, 07 Jul 2012 19:39:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=tN6yhZNP/iAOVioZeL/HlFmRQLFMt+orupl1WIDQYOw=; b=c31k35GDDyiAogSR0TaPMA1oNnd48g3kMi9Zkl3Y7pOPTs7MEHVZCIriTL2f/va5Io M3sCdAMzPn0eWFKOU94iE+NFbj5YTnQeKu5PiILF8umt8p+5LuBLtd9VG1Cty9MLbu7W vioTDGDdzwyiJ42O30P2KQq0LfbbT4FmDpuKzTVvXGFh/MeqVgHU1gWnYuoeQM0PAd2z YSDrYBmrQgGI4c4N3XdOPiIbXFGJedVwFSU+0xtgI5vBMZtYLuQtIHjtMTvNCmE+vGyR kU42VnIIxV5zxkSsGCxWT62iZaE0C2g1Frao0+AHFn6mxhmjjJEIVZ3/GJUw0X1qBFri N0iA== MIME-Version: 1.0 Received: by 10.216.50.140 with SMTP id z12mr9878949web.11.1341715155194; Sat, 07 Jul 2012 19:39:15 -0700 (PDT) Received: by 10.223.88.155 with HTTP; Sat, 7 Jul 2012 19:39:15 -0700 (PDT) In-Reply-To: References: Date: Sat, 7 Jul 2012 21:39:15 -0500 Message-ID: From: Adam Vande More To: Ivan Voras Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: apache hangs in wait4 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: Sun, 08 Jul 2012 02:39:17 -0000 On Sat, Jul 7, 2012 at 9:22 PM, Ivan Voras wrote: > Hello, > > I have a very embarrassing problem where apache22-worker, running > mod_fcgid with php, perl and python fastcgi processes, hangs daliy in > wait4: > > # procstat -k 54688 > PID TID COMM TDNAME KSTACK > 54688 101355 httpd - mi_switch > sleepq_catch_signals sleepq_wait_sig _sleep kern_wait sys_wait4 > amd64_syscall Xfast_syscall > > The only suspicious things in logs is this: > > [Sat Jul 07 20:00:01 2012] [notice] SIGUSR1 received. Doing graceful > restart > [Sat Jul 07 20:00:10 2012] [error] FastCGI process 41228 still did not > exit, terminating forcefully > > The 41228 process is a Perl FastCGI web application using p5-FCGI > (wwsympa), and it is in the accept wchan. > > Any ideas? > Is it the same time? newsyslog perhaps? -- Adam Vande More