Re: PID Wrap <strangeness>

From: Mike A. Harris (mharris@meteng.on.ca)
Date: Wed Feb 23 2000 - 17:14:14 EST


On Wed, 23 Feb 2000, Mathijs Mohlmann wrote:

>Date: Wed, 23 Feb 2000 14:37:46 +0100
>From: Mathijs Mohlmann <mathijs@knoware.nl>
>To: root@chaos.analogic.com
>Cc: linux-kernel@vger.rutgers.edu
>Subject: Re: PID Wrap <strangeness>
>
>"Richard B. Johnson" wrote:
>> A hard-coded number of 300 is an eye-opener.
>
>I'm starting to think, that 300 isn't even low enough. My redhat sysinit
>scripts use so many pids, that my first daemon has pid 340. 600 would be
>a saner value on my system.

Perhaps it would be a good idea to use a /proc/sys entry then?
/proc/sys/kernel/low_pid

At the end of boot time, at the end of the rc.local script could
do:

echo $(( $$ + 20 )) > /proc/sys/kernel/low_pid

--
Mike A. Harris                                     Linux advocate     
Computer Consultant                                  GNU advocate  
Capslock Consulting                          Open Source advocate

Suspicious Anagram #4: Word: PRESIDENT CLINTON OF THE USA Anagram: TO COPULATE HE FINDS INTERNS

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:34 EST