From owner-freebsd-questions@FreeBSD.ORG Wed Aug 2 17:23:46 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 411B316A4E1 for ; Wed, 2 Aug 2006 17:23:46 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out3.blueyonder.co.uk (smtp-out3.blueyonder.co.uk [195.188.213.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10DC743D76 for ; Wed, 2 Aug 2006 17:23:41 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [172.23.170.138] (helo=anti-virus01-09) by smtp-out3.blueyonder.co.uk with smtp (Exim 4.52) id 1G8KRX-0002f0-U6; Wed, 02 Aug 2006 18:23:39 +0100 Received: from [82.41.35.166] (helo=[192.168.0.2]) by asmtp-out2.blueyonder.co.uk with esmtp (Exim 4.52) id 1G8KRV-0000E7-Uk; Wed, 02 Aug 2006 18:23:37 +0100 Message-ID: <44D0DF98.6080103@dial.pipex.com> Date: Wed, 02 Aug 2006 18:23:36 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.13) Gecko/20060515 X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <44CF8361.2090004@pixelhammer.com> <20060801204437.GG63872@dan.emsphone.com> <44D0D80A.2080703@pixelhammer.com> <20060802170543.GD58585@dan.emsphone.com> In-Reply-To: <20060802170543.GD58585@dan.emsphone.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: piperd in top X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Aug 2006 17:23:46 -0000 Dan Nelson wrote: >In the last episode (Aug 02), DAve said: > > >>Dan Nelson wrote: >> >> >>>In the last episode (Aug 01), DAve said: >>> >>> >>>>We are in the process of getting a good hammering of spam. I've >>>>been watching my mail gateways and they are keeping up well enough. >>>>But looking at top I am seeing a lot of processes with state of >>>>piperd. >>>> >>>> >>>Piperd means the process is waiting on a read from a pipe. You can >>>use lsof to determine what process is at the other end of the pipe >>>(run lsof, find your process, find the PIPE fd, then find the other >>>process with the same 0xXXXXXXXX value). >>> >>> >>Excellent, thank you. May I ask where you found that info. I looked >>but came up empty. I'd like to know the meanings of some other states >>not mentioned in the man pages. Such as nanslp, *GIANT, kqread, etc. >> >> > >The only place wait states are documented is the source, basically. >There are many hundreds of them. States with an asterisk are mutexes >To find the code related to piperd: > >find /usr/src/sys -name "*.c" | xargs grep -n piperd > > > Or you could search the archive of questions@ where many of the more common states where elucidated just a couple months ago and Giorgos provided a good description of the UPPER CASE states. --Alex