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.

Thanks
Maumita

On Fri, Sep 11, 2009 at 10:15 AM, Deepak Shetty <[email protected]> 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 <[email protected]
> >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
> >
>

Reply via email to