From owner-freebsd-current@FreeBSD.ORG Wed Jan 30 13:36:15 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86E3E16A417 for ; Wed, 30 Jan 2008 13:36:15 +0000 (UTC) (envelope-from qpadla@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.190]) by mx1.freebsd.org (Postfix) with ESMTP id 0149113C45D for ; Wed, 30 Jan 2008 13:36:14 +0000 (UTC) (envelope-from qpadla@gmail.com) Received: by fk-out-0910.google.com with SMTP id b27so218159fka.11 for ; Wed, 30 Jan 2008 05:36:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:reply-to:to:subject:date:user-agent:references:in-reply-to:cc:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; bh=e+URSKsQBPYpF72As6zrjor8bc+RSqwX5A5zgfiXjvw=; b=m4P3DRFhfNcYty4n394Vva8t17rMuGUOOAxyW9I9wJzxAZxak6/AyvulA4o1t20PZrrVaZCHa89Hxn4U1GBEZ0zjIBMth5AA3v0vrAGFNwIwRS3O3dN1uiEoHOHchXWTqKqsBOrGSKI8K6cVO7SFjCiDU91k+USZt1nqCgIOQSk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to:cc:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=LsJErHAKN+nE0xQiAxBr0urWqYnabCgmoBwiIdSTAbzmE/ZylI6ulIMKsdewWgI4ArDiCDoW81K6ixYwrIWPWZm3IDO4upcVl+pVqRF7ve0cljnJmWMYriHmYqGMMI0GUGIt6quB8PFuVrhnkbA6qkTyx9978pn6qbrZuhLHQlg= Received: by 10.78.138.14 with SMTP id l14mr981840hud.57.1201700172194; Wed, 30 Jan 2008 05:36:12 -0800 (PST) Received: from atlas.local ( [89.162.141.1]) by mx.google.com with ESMTPS id d24sm170631nfh.19.2008.01.30.05.36.09 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 30 Jan 2008 05:36:10 -0800 (PST) From: Nikolay Pavlov To: freebsd-current@freebsd.org Date: Wed, 30 Jan 2008 15:36:04 +0200 User-Agent: KMail/1.9.6 (enterprise 0.20070907.709405) References: <200712120512.42689.qpadla@gmail.com> <20071212031727.GA43155@heff.fud.org.nz> <200712251846.04474.qpadla@gmail.com> In-Reply-To: <200712251846.04474.qpadla@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801301536.04772.qpadla@gmail.com> Cc: Andrew Thompson Subject: Re: Unable to shutdown jail on BETA4 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: qpadla@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jan 2008 13:36:15 -0000 On Tuesday 25 December 2007 18:46:04 Nikolay Pavlov wrote: > On Wednesday 12 December 2007 05:17:27 Andrew Thompson wrote: > > On Wed, Dec 12, 2007 at 05:12:42AM +0200, Nikolay Pavlov wrote: > > > Hi all. > > > Not sure were to go with this... I see a weird jail behavior on > > > recent BETA4. After successful "/etc/rc.d/jail stop cell" execution > > > the jail is still could be listed with jls command: > > > root@cassini:~# jls > > > JID IP Address Hostname Path > > > 4 xxx.53.51.236 php-cgi /home/jails/php-cgi > > > > > > But i am unable to find any processes with this jid in the system: > > > root@cassini:~# ps ax -o jid | grep 4 > > > root@cassini:~# > > > > > > Any comments? > > > > This has been fixed (sort of), make sure you have r1.208.2.1 of > > /usr/src/sys/kern/kern_conf.c > > > > > > cheers, > > Andrew > > Unfortunately the problem is still there, but it's not easy to trigger > it. Here it is after "/etc/rc.d/jail restart php_cgi" and 11 days of > uptime: root@cassini:~# jls > JID IP Address Hostname Path > 9 xxx.53.51.236 php-cgi /home/jails/php-cgi > 7 xxx.53.51.236 php-cgi /home/jails/php-cgi > root@cassini:~# ps awwx -o jid | grep 9 | wc -l > 13 > root@cassini:~# ps awwx -o jid | grep 7 | wc -l > 0 > root@cassini:~# uname -a > FreeBSD cassini 7.0-BETA4 FreeBSD 7.0-BETA4 #2: Thu Dec 13 06:54:11 EET > 2007 root@cassini:/usr/obj/usr/src/sys/GENERIC amd64 The problem is still present in 7.0-RC1: FreeBSD cassini.grimmbrothers.com.ua 7.0-RC1 FreeBSD 7.0-RC1 #0: Mon Jan 28 16:57:47 EET 2008 root@cassini:/usr/obj/usr/src/sys/GENERIC amd64 After executing "/etc/rc.d/jail restart php_cgi" I see a jail without a processes: root@cassini:/home/www/# jls JID IP Address Hostname Path 2 xxx.53.51.236 php-cgi /home/jails/php-cgi 1 xxx.53.51.236 php-cgi /home/jails/php-cgi root@cassini:/home/www/# ps awwx -o jid | grep 1 | wc -l 0 root@cassini:/home/www/# ps awwx -o jid | grep 2 | wc -l 13 Also i am using nullfs to mount some directories for this jail, however i am not sure if it's related to the problem. -- ====================================================================== - Best regards, Nikolay Pavlov. <<<----------------------------------- ======================================================================