From owner-freebsd-stable@FreeBSD.ORG Fri Aug 17 08:19:18 2007 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 48F3916A41A for ; Fri, 17 Aug 2007 08:19:18 +0000 (UTC) (envelope-from peceka@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.freebsd.org (Postfix) with ESMTP id 180A313C474 for ; Fri, 17 Aug 2007 08:19:12 +0000 (UTC) (envelope-from peceka@gmail.com) Received: by ug-out-1314.google.com with SMTP id o4so365074uge for ; Fri, 17 Aug 2007 01:19:11 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NuS+itjrMK2QRvvIPLaJTWPqqFAd+AOgzpQ5BrK1uoEG/HJwyK/jWxlZFwlrC0bdHRjCdcuh2kilxcoJ+X9FQV5KS1iVm/T1asirBx4eoFalL2JBn4LcHxFuzw33D78s2aXgjo+4jtMHMPKEoA7yrt4xRwMkj+TukCS/rjeDwiI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dQfCNnz2w/Yw9ADW0zma0xyerDXl9Yiv6rn5JSvdeFpLdRb+b8GcsggXk1ZHJa2TAJgXJMhbyJjZMy0FOd+JRQ9Y0v+QQA8k3k14uclPGCjxhyeJG6Vm8x96stpLnPzuOSVKyb6hYXoOt5FSSjG/DbpkukxCwKZ1Npj0FPiFa7M= Received: by 10.66.222.9 with SMTP id u9mr2843371ugg.1187338751461; Fri, 17 Aug 2007 01:19:11 -0700 (PDT) Received: by 10.66.250.12 with HTTP; Fri, 17 Aug 2007 01:19:11 -0700 (PDT) Message-ID: Date: Fri, 17 Aug 2007 10:19:11 +0200 From: peceka To: "Eugene Grosbein" In-Reply-To: <20070817080004.GA62845@svzserv.kemerovo.su> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070817080004.GA62845@svzserv.kemerovo.su> Cc: freebsd-stable@freebsd.org Subject: Re: unable to kill process, problem with FBSD6? 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: Fri, 17 Aug 2007 08:19:42 -0000 2007/8/17, Eugene Grosbein : > On Fri, Aug 17, 2007 at 08:47:01AM +0200, peceka wrote: > > > I've got strange problem. I've setup pound on my FBSD6 box and > > sometimes it (pound) stops. Normally it should exit but it doesn't - > > it hangs. > > > > # ps auwx | grep pound > > pound 46868 0.0 1.0 55428 21932 ?? SE 1:58PM 0:31.34 > > /usr/local/sbin/pound -f /usr/local/etc/pound.cfg > > > > S: Marks a process that is sleeping for less than about 20 seconds. > > E: The process is trying to exit. > > > > It dies after 30 minutes. > > > > This problem doesn't exists on Linux. > > > > This behaviour is very irregular. > > Why FBSD doesn't kill this process? > > It does if it become 'trying to exit'. > It may have a serial device open and bugs in the driver may prevent > process from closing device in timely manner. Try switching to uart(4) driver > from sio(4) if this is your case. But pound (web reverse proxy: http://www.apsis.ch/pound/) has nothing common with serial device. So this solution is not for me. :( Regards, p.