-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Stephen,
On 4/21/2009 5:35 PM, Stephen Caine wrote: > This is the number of threads Tomcat will handle before it errors with > 'max threads reached. This is on OS X, 64 bit memory. The heap size is > 2 gigs. > > If you know how to increase this number, then please provide the > information. Others have also noted this limit on OS X in previous > posts to this list. ulimit? On my Mac OS X 10.4.11, "ulimit -a" reports max user processes (-u switch) are set to 256. You could probably increase that by doing: ulimit -u 1024 or whatever. If you've reached an upper limit of 2400, it's probably because you're reaching a hard limit set up somewhere else. There's also: sysctl -w kern.maxprocperuid=1024 (or more?) or sysctl -w kern.maxproc=10000 (or more?) (My kern.maxproc is currently set to 532 -- what a strange number -- while kern.maxprocperuid is currently 266). You can also set your defaults in /etc/sysctl.conf: kern.maxproc=10000 kern.maxprocperuid=5000 I didn't know any of this before 5 minutes ago. Google is your friend. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAknuQ5wACgkQ9CaO5/Lv0PAAWgCcDkE+pxWHWYg7LgpYt+deUPqo ZfcAoJTtQ8RHCnWjXf127ZePRoagordH =CJ17 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org