You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "C.Vijayakumar" <bc...@altechindia.com> on 2009/04/30 13:40:53 UTC

JDBC Connection Config

Hi 

I went through the Distributed Testing PDF file and configured all the
setting as described in it . While am running the test plan I am getting the
following error message as 


" Connection refused to host 192.168.1.78;nested exception
is:java.net.ConnectionException:Connection refused:connect "


(1) My system IP address is  192.168.1.57  and am running the Test Plan from
my system 
(2) The IP address of Slave system is  192.168.1.78  
(3) I configured the setCP of Server.batch in slave system as START
C:\Program Files\Java\jdk1.6.0_02\jre\bin\rmiregistry
(4) I configured the hosts in jmeter.properties in my system as -
remote_hosts=192.168.1.78
(5) I just started jmeter and run the same test plan 6. Soon it shows the
above error message . 


( Note :- While I executed the JMeter.server batch file in slave I got the
following message on command prompt )

  Could not find ApacheJmeter_core.jar ...
  ... Trying JMETER_HOME=..
  Found ApacheJMeter_core.jar

Could any one please explain where I made mistake(s) ?

Thanks in Advance . 

Thanking you .
With warm regards.,
Vijayakumar.C

-----Original Message-----
From: Yesu Grover, Noida [mailto:yesu.grover@hcl.in]
Sent: Monday, May 04, 2009 12:10 PM
To: JMeter Users List
Subject: RE: JDBC Connection Config


Hi Vijayakumar,

It seems that u r trying to put load through one machine only.Try to
distribute load across different machine and use Distributed
Testing(http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testi
ng_step_by_step.pdf) option available in jmeter. This should resolve your
problem   

Thanks
Yesu

________________________________________
From: Suvendu_Mohapatra [Suvendu_mohapatra@satyam.com]
Sent: Monday, May 04, 2009 11:46 AM
To: JMeter Users List
Subject: RE: JDBC Connection Config

Please visit the following link....[2.4 Run Jmeter]
http://jakarta.apache.org/jmeter/usermanual/get-started.html


With Regards,
Suvendu


-----Original Message-----
From: C.Vijayakumar [mailto:bcvijayakumar@altechindia.com]
Sent: Monday, May 04, 2009 11:49 AM
To: 'JMeter Users List'
Cc: Suvendu_Mohapatra
Subject: RE: JDBC Connection Config

Still am getting the following error for 6000 concurrent users

Uncaught Exception java.lang.OutOfMemoryError: unable to create new native
thread. See log file for details.

Thats why I asked for how to use non-gui mode ?

Thanking you .
With warm regards.,
Vijayakumar.C

-----Original Message-----
From: Suvendu_Mohapatra [mailto:Suvendu_mohapatra@satyam.com]
Sent: Monday, May 04, 2009 11:26 AM
To: JMeter Users List
Subject: RE: JDBC Connection Config

The changes whatever you have does not solve your problem in gui mode??

With Regards,
Suvendu


-----Original Message-----
From: C.Vijayakumar [mailto:bcvijayakumar@altechindia.com]
Sent: Monday, May 04, 2009 11:27 AM
To: Suvendu_Mohapatra
Cc: 'JMeter Users List'
Subject: RE: JDBC Connection Config


Hi ,

Thanks for your guidance and could you please briefly explain - how can I
use JMeter in non gui mode ?

Thanks a lot in advance for your help

Thanking you .
With warm regards.,
Vijayakumar.C

-----Original Message-----
From: Suvendu_Mohapatra [mailto:Suvendu_mohapatra@satyam.com]
Sent: Monday, May 04, 2009 11:01 AM
To: JMeter Users List
Subject: RE: JDBC Connection Config

Please make changes in the following way..it may help you...

set HEAP=-Xms512m -Xmx1024m
set NEW=-XX:NewSize=128m -XX:MaxNewSize=512m set
SURVIVOR=-XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=50% set
TENURING=-XX:MaxTenuringThreshold=2
set EVACUATION=-XX:MaxLiveObjectEvacuationRatio=50%
set RMIGC=-Dsun.rmi.dgc.client.gcInterval=600000
-Dsun.rmi.dgc.server.gcInterval=600000
set PERM=-XX:PermSize=128m -XX:MaxPermSize=128m set DEBUG=-verbose:gc
-XX:+PrintTenuringDistribution

save the jmeter.bat file and run jmeter once again. If you are facing the
same problem then run your script in non-gui mode...



With Regards,
Suvendu

-----Original Message-----
From: C.Vijayakumar [mailto:bcvijayakumar@altechindia.com]
Sent: Monday, May 04, 2009 11:03 AM
To: 'JMeter Users List'
Cc: mattcoventon@iseinc.biz
Subject: JDBC Connection Config

Hi Sebb / Matt ,

Am using JMeter for Load testing our Java application . I have some doubts
on using JMeter . Could you please help me to solve my doubts pls ?

My Tuning Parameters are as follows

set HEAP=-Xms512m -Xmx1024m
set NEW=-XX:NewSize=128m -XX:MaxNewSize=128m set
SURVIVOR=-XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=50% set
TENURING=-XX:MaxTenuringThreshold=2
set EVACUATION=-XX:MaxLiveObjectEvacuationRatio=20%
set RMIGC=-Dsun.rmi.dgc.client.gcInterval=600000
-Dsun.rmi.dgc.server.gcInterval=600000
set PERM=-XX:PermSize=128m -XX:MaxPermSize=128m set DEBUG=-verbose:gc
-XX:+PrintTenuringDistribution


I have defined the Heap size as 512 - 1024  & My RAM size is 512 MB . I have
run my Test Plan using JDBC Connection configuration for 3964 concurrent
users successfully .  If I use more than 4000 Users , JMeter shows Out of
Memory error . Even if i tried running the test plan by changing the Heap
size as 256 - 1024 , 768 - 1536 & 512 - 512 , there is no improvement on my
concurrent users , still am getting Out of memory error message

I tried the same test plan in another system which has 1 GB RAM , But in
that system,   Only 2000 concurrent users have successfully completed and I
got the same Out of Memory error .

Could anyone / you please reveal me what I have to do to get proper results
for more than 5000 Concurrent users ?

Thanking you in Advance .

Thanking you .
With warm regards.,
Vijayakumar.C


DISCLAIMER:
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org




DISCLAIMER:
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org




DISCLAIMER:
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
DISCLAIMER:
----------------------------------------------------------------------------
-------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and
intended for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its
affiliates. Any views or opinions presented in this email are solely those
of the author and may not necessarily reflect the opinions of HCL or its
affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written
consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender
immediately. Before opening any mail and attachments please check them for
viruses and defect.

----------------------------------------------------------------------------
-------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org