From owner-freebsd-current@FreeBSD.ORG Tue Dec 25 16:46:00 2007 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 E906416A46B for ; Tue, 25 Dec 2007 16:46:00 +0000 (UTC) (envelope-from qpadla@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id 32FD713C4E7 for ; Tue, 25 Dec 2007 16:45:59 +0000 (UTC) (envelope-from qpadla@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so1484356fgg.35 for ; Tue, 25 Dec 2007 08:45:59 -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:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; bh=jnYLcogdvm1wBaDXTcpwk5+/zrjpH7Zfie8YFeJNHdg=; b=UWQLqkvNwUnnK30clx893LeAQLOKnnVN+2J9L1/7z9IZZC9WerhCoCGwx2ylMF1tbZHxqA/bvOsd6TJXK6kfWjPYDhtHb8PMHzpIHTqsbJZ+RODPmJ2M8qh2y7h19LCloAcHsDRyaIV1R/hCMVS9vh1GbTe/35nNXHSpPZ16+8o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=wVeeyROfeK9DJQm6NIAJxJ/Slsv86f58kERuSC4pAarpVyNnc8C4TkolWAiWENo9P/EYwgkwgo1qcyb/N4gEVaV8dx0GpQniSV88zDJPWEGu+q8aSEOc4XdnyIq3PsSmr6B+llPLwHEn7+G45GybhvS5g2c2hntmJbJGBxb4rMk= Received: by 10.82.108.9 with SMTP id g9mr10612573buc.34.1198601158798; Tue, 25 Dec 2007 08:45:58 -0800 (PST) Received: from orion ( [89.162.141.1]) by mx.google.com with ESMTPS id b33sm8728805ika.5.2007.12.25.08.45.56 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 25 Dec 2007 08:45:57 -0800 (PST) From: Nikolay Pavlov To: Andrew Thompson Date: Tue, 25 Dec 2007 18:46:04 +0200 User-Agent: KMail/1.9.6 (enterprise 0.20070907.709405) References: <200712120512.42689.qpadla@gmail.com> <20071212031727.GA43155@heff.fud.org.nz> In-Reply-To: <20071212031727.GA43155@heff.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712251846.04474.qpadla@gmail.com> Cc: freebsd-current@freebsd.org 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: Tue, 25 Dec 2007 16:46:01 -0000 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 -- ====================================================================== - Best regards, Nikolay Pavlov. <<<----------------------------------- ======================================================================