Re: tomcat connection limit

2009-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 8/9/2009 9:33 PM, Thomas G. Lau wrote: > [r...@app1-testing ~]# ulimit -a > open files (-n) 65535 > max user processes (-u) 65535 Right. What user is Tomcat running as? > maxThreads="300

Re: tomcat connection limit

2009-08-09 Thread Thomas G. Lau
[r...@app1-testing ~]# ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 71680 max locked memory (kbytes, -l) 32 max memory

Re: tomcat connection limit

2009-08-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 8/7/2009 2:58 AM, Thomas G. Lau wrote: > I did use > ulimit -n 65535 > ulimit -u 65535 Were you root? If not, you may not be able to set your ulimits that high. Try 'ulimit -a' after "modifying" to see what the limits actually are. > I ha

Re: tomcat connection limit

2009-08-07 Thread Mark Thomas
Thomas G. Lau wrote: > Dear Mark, > > may I ask what did you tune on your tomcat? Nothing. I just set maxThreads="1" to give me plenty of head room. The tuning was all in the application. > we are still using 5.0 5.0.x has not been supported for some time. Mark -

Re: tomcat connection limit

2009-08-07 Thread Thomas G. Lau
Dear Mark, may I ask what did you tune on your tomcat? we are still using 5.0 _ Thomas Lau Product Engineer Product Development NTT Com Asia Limited Phone: +852 3793-0733 Address: 12/F., Guardian House, 32 Oi Kwan Road, Wan Chai, Hong Kong Email: thomas@ntt.com.hk Mark Thomas wr

Re: tomcat connection limit

2009-08-07 Thread Mark Thomas
Thomas G. Lau wrote: > Dear All, > > I am currently testing tomcat connection limit, while doing so, I have > meet the 1100connection limit to Tomcat server, There is no such limit in Tomcat. I have just tested Tomcat with 3000 concurrent connections and saw zero errors. I did, however, need to t