From owner-freebsd-current@FreeBSD.ORG Sat Oct 15 00:25:02 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84EC116A41F; Sat, 15 Oct 2005 00:25:02 +0000 (GMT) (envelope-from nge@cs.hmc.edu) Received: from turing.cs.hmc.edu (turing.cs.hmc.edu [134.173.42.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4440E43D45; Sat, 15 Oct 2005 00:25:02 +0000 (GMT) (envelope-from nge@cs.hmc.edu) Received: by turing.cs.hmc.edu (Postfix, from userid 26983) id 6BF6A53250; Fri, 14 Oct 2005 17:25:01 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by turing.cs.hmc.edu (Postfix) with ESMTP id 566445A92B; Fri, 14 Oct 2005 17:24:59 -0700 (PDT) Date: Fri, 14 Oct 2005 17:24:59 -0700 (PDT) From: Nate Eldredge X-X-Sender: nate@turing To: Andy Hilker In-Reply-To: <20051014224856.GB73118@mail.crypta.net> Message-ID: References: <434BCDF6.3090303@samsco.org> <1129201350.13257.9.camel@myfreebsd.homeunix.org> <20051013155511.GA1748@mail.crypta.net> <200510141502.16653.jhb@freebsd.org> <20051014224856.GB73118@mail.crypta.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org Subject: Re: FreeBSD 6.0-RC1 available X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Oct 2005 00:25:02 -0000 On Sat, 15 Oct 2005, Andy Hilker wrote: > Hi, > >>> http://www.freebsd.org/cgi/query-pr.cgi?pr=conf/82430 >> >> Why does the process name have []'s around it? > > Thanks for your reply. > >> From "man ps": > > If the command vector cannot be located (usually because it has not > been set, as is the case of system processes and/or kernel threads) > the command name is printed within square brackets. > > I have this behaviour with mysqld, the bug reporter with clamd. > Running mysqld jailed, the process name is ok and not in brackets. Do you think this is related? I don't know as to FreeBSD specifically, but on other Unices this often happens for ordinary processes when they are swapped out. The kernel normally gets argv out of the process's memory, but if it is swapped out, it doesn't want to bother to swap it in just for that. So it gives you just the command name instead. It might be that it's just coincidence, this happened to your non-jailed process but not to your jailed one. -- Nate Eldredge nge@cs.hmc.edu