[svlug] Reuse of pid's.

Don Marti dmarti at zgp.org
Wed Jan 21 12:25:47 PST 2009


begin Greg Lindahl quotation of Wed, Jan 21, 2009 at 11:59:35AM -0800:
> On Wed, Jan 21, 2009 at 11:20:12AM -0800, Don Marti wrote:
> 
> > Not really, since you don't know what pid the kernel
> > will give the next process it creates.
> 
> 'cept they're traditionally handed out round-robin, which is why
> killall works most of the time. It's only when you have a very fast
> rate of process creation that you get into trouble.

Or if there's a naughty user who  has read the fork(2) man page
logged in.

-- 
Don Marti                                        +1 510-814-0932
http://zgp.org/~dmarti/                          +1 510-332-1587 mobile
dmarti at zgp.org
See you at OpenSource World: August 10-13, 2009 in San Francisco




More information about the svlug mailing list