Gentoo Archives: gentoo-user

From: darren kirby <bulliver@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] kernel.pid_max
Date: Sun, 17 Sep 2006 06:58:21
Message-Id: 200609162353.56602.bulliver@badcomputer.org
1 Hello,
2
3 >From /etc/sysctl.conf:
4
5 # Allow for more PIDs (cool factor!); may break some programs
6 #kernel.pid_max = 999999
7
8 I though it may be neat to have a bigger pid pool, So I edited the file to
9 change the value to 99999 and run:
10
11 # sysctl -p
12 error: "Invalid argument" setting key "kernel.pid_max"
13 # cat /proc/sys/kernel/pid_max
14 32768
15 # echo "99999" > /proc/sys/kernel/pid_max
16 bash: echo: write error: Invalid argument
17 # echo 99999 > /proc/sys/kernel/pid_max
18 bash: echo: write error: Invalid argument
19 # sysctl -w kernel.pid_max="99999"
20 error: "Invalid argument" setting key "kernel.pid_max"
21 # sysctl -w kernel.pid_max=99999
22 error: "Invalid argument" setting key "kernel.pid_max"
23
24 How do you get this to work? I do have sysctl support in the kernel:
25
26 # cat /usr/src/linux/.config | grep SYSCTL
27 CONFIG_SYSCTL=y
28
29 Also, assuming you can help me get this sorted does anyone know which programs
30 this may break?
31
32 Thanks for consideration,
33 -d
34 --
35 darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
36 "...the number of UNIX installations has grown to 10, with more expected..."
37 - Dennis Ritchie and Ken Thompson, June 1972
38
39 --
40 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] kernel.pid_max Richard Fish <bigfish@××××××××××.org>
Re: [gentoo-user] kernel.pid_max Drew <drew.kay@×××××.com>