lkml.org 
[lkml]   [2000]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PID Wrap <strangeness>
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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site