[svlug] Reuse of pid's.

Bill Ward bill at wards.net
Wed Jan 21 13:33:32 PST 2009


On Wed, Jan 21, 2009 at 11:59 AM, Greg Lindahl <lindahl at pbm.com> wrote:
> 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.

Right, and so if you have process creation happening that fast, such
that a PID which was recently freed is already to be used again,
you've got bigger problems than this.




More information about the svlug mailing list