Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Aug 2006 12:05:43 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        DAve <dave.list@pixelhammer.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: piperd in top
Message-ID:  <20060802170543.GD58585@dan.emsphone.com>
In-Reply-To: <44D0D80A.2080703@pixelhammer.com>
References:  <44CF8361.2090004@pixelhammer.com> <20060801204437.GG63872@dan.emsphone.com> <44D0D80A.2080703@pixelhammer.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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

-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060802170543.GD58585>