in reply to Re^3: forkManager PID 1 less than top
in thread forkManager PID 1 less than top

or if the actual offset is subject to system timing?

On more secure systems, the pid is picked randomly, not sequentially. I didn't think anyone still did sequential pids! What system are you using?

Replies are listed 'Best First'.
Re^5: forkManager PID 1 less than top
by vsespb (Chaplain) on Oct 13, 2013 at 18:59 UTC
    Where did you see random PIDs ? I think all (most?) Linux distros use sequental. http://en.wikipedia.org/wiki/Process_identifier#Unix-like
    Process IDs are usually allocated on a sequential basis

    Also:
    http://www.redhat.com/archives/redhat-list/2004-August/msg00004.html

    http://lists.freebsd.org/pipermail/freebsd-security/2010-February/005549.html

    I am running Ubuntu with 3.8 kernal, PIDs are sequental.
    Also, I think there can be problems with some software, when recently-used PID re-used too fast.
      Windows
        ... secure ... fork emulation ... ridiculousness