Hello,

>From /etc/sysctl.conf:

# Allow for more PIDs (cool factor!); may break some programs
#kernel.pid_max = 999999

I though it may be neat to have a bigger pid pool, So I edited the file to 
change the value to 99999 and run:

#  sysctl -p
error: "Invalid argument" setting key "kernel.pid_max"
# cat /proc/sys/kernel/pid_max
32768
# echo "99999" > /proc/sys/kernel/pid_max
bash: echo: write error: Invalid argument
# echo 99999 > /proc/sys/kernel/pid_max
bash: echo: write error: Invalid argument
# sysctl -w kernel.pid_max="99999"
error: "Invalid argument" setting key "kernel.pid_max"
# sysctl -w kernel.pid_max=99999
error: "Invalid argument" setting key "kernel.pid_max"

How do you get this to work? I do have sysctl support in the kernel:

# cat /usr/src/linux/.config | grep SYSCTL
CONFIG_SYSCTL=y

Also, assuming you can help me get this sorted does anyone know which programs 
this may break?

Thanks for consideration,
-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972

-- 
gentoo-user@gentoo.org mailing list

Reply via email to