Re: NPROC / MAXUPRC (Cameron Knowlton)
Hello! I remember that in old BSD based SunOS 4.x there was a way to set kernel variables at runtime using adb. I do remember that once I had to enlarge something like NPROC, the system-wide no. of processes. In Mac OS X we have sysctl, IMHO a modern and easy to use tool to achieve the same. And: "sysctl -a" shows: kern.maxproc = 532 After reading the man page ("man 8 sysctl") I tried: pete 156 /\ sysctl -w kern.maxproc=999 kern.maxproc: Operation not permitted pete 157 /\ sudo sysctl -w kern.maxproc=999 Password: kern.maxproc: 532 -> 999 pete 158 /\ sysctl -a | grep proc kern.maxproc = 999 pete 159 /\ But it does succeed to raise the shell's maxproc value above 100! Do I have to reboot? Logging out and in did not change anything ... -- Greetings Pete _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Peter Dyballa