Hi, I tried with 550 threads in tomcat for 500 concurrent users. But not succeed.
Jmeter Client:- System: Windows XP Professional Verison 2002 SP2 Computer: Intel(R) Core(TM)2 CPU 6300 @ 1.86 Ghz 1.86 GHz, 1.97 GB of RAM Jmeter Server:- System: Windows XP Professional x64 Edition Verison 2003 SP2 Computer: Intel(R) Xeon(R) CPU 5130 @ 2.00 Ghz 2.00 GHz, 8.00 GB of RAM Thanks Maumita 2009/9/11 Jakub Białek <ragno...@gmail.com> > If you have 500 (truly) concurrent users then you need at least 500 > threads in tomcat, try with 550 thread. > > You run jmeter on windows or linux os? > > Best regards, > Jakub > > 2009/9/11 Mytho Logic <maumita.majum...@gmail.com>: > > Hi, > > > > I changed the maxthreads limit in tomcat server.xml to 400 and tried the > > same testplan again..but few sample requests gets failed and throws > > exception. > > what should I do to solve the problem. > > > > Exception:- > > > > java.net.ConnectException: Connection refused: connect > > at java.net.PlainSocketImpl.socketConnect(Native Method) > > at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) > > at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) > > at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) > > at java.net.Socket.connect(Socket.java:519) > > at java.net.Socket.connect(Socket.java:469) > > at sun.net.NetworkClient.doConnect(NetworkClient.java:157) > > at sun.net.www.http.HttpClient.openServer(HttpClient.java:382) > > at sun.net.www.http.HttpClient.openServer(HttpClient.java:494) > > at sun.net.www.http.HttpClient.<init>(HttpClient.java:231) > > at sun.net.www.http.HttpClient.New(HttpClient.java:304) > > at sun.net.www.http.HttpClient.New(HttpClient.java:316) > > at > > > sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:817) > > at > > > sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:769) > > at > > > sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:694) > > at > > > org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:431) > > at > > > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1021) > > at > > > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1007) > > at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:290) > > at java.lang.Thread.run(Thread.java:595) > > > > Thanks > > Maumita > > > > > > On Fri, Sep 11, 2009 at 3:07 PM, sebb <seb...@gmail.com> wrote: > > > >> On 11/09/2009, Mytho Logic <maumita.majum...@gmail.com> wrote: > >> > Hi, > >> > > >> > In tomcat server.xml, I changed the maxtheads limit to 300 and kept > >> > JAVA_OPTS=-Xms512m -Xmx1024m > >> > > >> > But not succeed.I am getting same "java.net.ConnectException: > Connection > >> > refused: connect" exception. Am I missing anything to change in > >> server.xml > >> > file. > >> > The machine on which tomcat server is running has 2 GB RAM. > >> > > >> > Please help on this. > >> > >> This appears to be a Tomcat configuaration issue. > >> > >> Read the Tomcat documentation carefully, and if that does not answer > >> your query, then post a question on the Tomcat user list. > >> > >> > Thanks > >> > Maumita > >> > > >> > > >> > On Fri, Sep 11, 2009 at 10:15 AM, Deepak Shetty <shet...@gmail.com> > >> wrote: > >> > > >> > > Hi > >> > > http://tomcat.apache.org/tomcat-5.5-doc/config/http.html > >> > > There are three thread related properties in server.xml . You seem > to > >> have > >> > > run into maxThreads limit > >> > > Note that if your server cant handle the load that is a server/OS > >> problem , > >> > > you are more likely to get help on a tomcat forum. Jmeter is > >> generating the > >> > > load correctly. > >> > > regards > >> > > deepak > >> > > > >> > > On Thu, Sep 10, 2009 at 9:38 PM, Mytho Logic < > >> maumita.majum...@gmail.com > >> > > >wrote: > >> > > > >> > > > Hi, > >> > > > > >> > > > I am using jmeter version 2.3.2. > >> > > > To test my application for 200 concurrent users I have used > >> distibuted > >> > > > testing set up. > >> > > > It works fine for 200 users. > >> > > > The test plan was - > >> > > > 1. 200 concurrent users will first hit the home page > >> > > > 2. After that 200 concurrent users will hit the products page > >> > > > 3. After that 200 concurrent users will hit the product Detail > page > >> > > > > >> > > > For concurrent user setup I have used 'Synchronizing Timer' above > >> the > >> > > > thread > >> > > > groups and mentioned 200. > >> > > > It works fine and I got the result. > >> > > > > >> > > > Setup:- > >> > > > > >> > > > Tomcat server, Jmeter client and Jmeter server all are in 3 > >> different > >> > > > machine. > >> > > > > >> > > > Tomcat Server > >> > > > ------------- > >> > > > JAVA_OPTS=-Xms1024m -Xmx1024m > >> > > > > >> > > > Jmeter Client > >> > > > ------------- > >> > > > HEAP=-Xms512m -Xmx1024m > >> > > > > >> > > > Jmeter Server > >> > > > ------------- > >> > > > HEAP=-Xms512m -Xmx4096m > >> > > > > >> > > > Using the same configuration and same setup,when i tried for 220 > >> > > concurrent > >> > > > users for few few sample requests I got > >> > > > "java.net.ConnectException: Connection refused: connect: > exception. > >> > > > Sometime I succeded for 220 concurrent users without any > errors.But > >> next > >> > > > time whne I again run the test plan for > >> > > > 220 concurrent users I got exception. > >> > > > > >> > > > What is the reason behind this exception and how can I solve > this? > >> > > > I need to load my application upto 500 concurrent users. Please > >> suggesst > >> > > > how > >> > > > can I do this? > >> > > > > >> > > > This is an urgent requirement. > >> > > > > >> > > > Thanks > >> > > > Maumita > >> > > > > >> > > > >> > > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org > >> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org > >> > >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org > For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org > >