pid rollover?
root at spdyne.UUCP
root at spdyne.UUCP
Mon Jan 30 09:07:00 AEST 1989
In article <460 at oglvee.UUCP> jr at oglvee.UUCP (Jim Rosenberg) writes:
>.... However we seem to be hitting rollover
>of pids at 32K, implying that the kernel must be using short as the type of a
>pid -- at least internally.
And John F. Haugh II (jfh at rpp386.Dallas.TX.US) Writes:
>I can't answer for the EXACT reason this was done this way, but can explain
>the behaviour better.
>For starters, PID's roll over at 30000 exactly. The code goes something
>like
>
> if (nextpid == 30000)
> nextpid = 1;
I belive that it sets nextpid to 100, at least it did on our BSD system.
-Chert Pellett
root at spdyne
More information about the Comp.unix.wizards
mailing list