>> if (nextpid == 30000) >> nextpid = 1; > > I belive that it sets nextpid to 100, at least it did on our BSD system. And it doesn't on his (S5?) system. Different systems do it differently. (Actually, the S5R3 code sets "nextpid" - actually, "mpid" - to 0, but if process ID 0 isn't already in use something rather strange has happened on your system....)