Increase your uid max proc
Increase your uid max proc
- Subject: Increase your uid max proc
- From: Brian Tabone <email@hidden>
- Date: Sun, 16 Nov 2003 22:10:05 -0600
Joey,
You need to increase your max proc per uid (do this using systcl).
Here is how to do it:
bash> sysctl kern.maxprocperuid
kern.maxprocperuid = 100
bash> sudo sysctl -w kern.maxprocperuid=200
kern.maxprocperuid: 100 -> 200
Hope that helps,
-Brian T
On Nov 16, 2003, at 8:32 PM, Joey Stanford wrote:
Howdy!
I'm out of options, hoping you guys (and girls) might be able to clue
me in.
Running 10.3 will all the latest updates on a 2ghz, 2gig Dual G5.
Using tcsh but bash has same problem.
I keep running out of "resources" whatever that is when I hit about 135
pids (and I have over 100gig of disk left and about 500meg of unused
memory when this happens). I get the standard "unable to fork" errors.
e.g.
2003-11-14 10:56:20.479 Konfabulator[6491] Exception raised during
posting of notification. Ignored. exception: couldn't fork
2003-11-14 16:18:14.697 Mail[1770] Exception raised during posting of
notification. Ignored. exception: couldn't fork
In term I get just "unable to fork"
I bumped up my sysctl using /etc/sysctl.conf:
kern.maxproc=2048
kern.maxprocperuid=512
and then unlimited in the shell:
[joey@futune]:/Applications/entropy/src> limit
cputime unlimited
filesize unlimited
datasize unlimited
stacksize 65536 kbytes
coredumpsize unlimited
memoryuse unlimited
descriptors 10240
memorylocked unlimited
maxproc 512
[joey@futune]:/Applications/entropy/src> lsof | wc -l
394
kern.maxfiles = 12288
kern.maxfilesperproc = 10240
Help? Any ideas?
Thanks!
----------------------
http://stan4d.net
http://entropy.stop1984.com
[demime 0.98b removed an attachment of type application/pgp-signature
which had a name of PGP.sig]
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.