ulimit settings
ulimit settings
- Subject: ulimit settings
- From: Brian Tabone <email@hidden>
- Date: Sun, 16 Nov 2003 23:06:38 -0600
Joey,
I was re-reading your message and noticed you had already tried
maxprocperuid, my bad. However, What does
bash> ulimit -a
Say on your machine, on mine, even though ulimit says unlimited, ulimit
-a tells me
ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) 6144
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 1
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 100
virtual memory (kbytes, -v) 14336
I think you have to explicitly bump up your ulimit in your shell
-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.