Re: Connections don't closing?

2005-11-07 Thread sebb
On 04/11/05, Fernando Ribeiro [EMAIL PROTECTED] wrote:
 Palavras de sebb [Fri, Nov 04, 2005 at 02:45:58PM +]:
  On 04/11/05, Fernando Ribeiro [EMAIL PROTECTED] wrote:
  
  
   jmeter is very slow, returning time out erros.
   I don't found the error for this.
 
  Timeout is not due to JMeter.
 
  What is the exact error message? What does jmeter.log say?

 the error

 java.net.ConnectException: Connection timed out at
 java.net.PlainSocketImpl.socketConnect(Native Method) at
 java.net.PlainSocketImpl.doConnect(Unknown Source) at
 java.net.PlainSocketImpl.connectToAddress(Unknown Source) at
 java.net.PlainSocketImpl.connect(Unknown Source) at
 java.net.Socket.connect(Unknown Source) at
 java.net.Socket.connect(Unknown Source) at
 sun.net.NetworkClient.doConnect(Unknown Source) at
 sun.net.www.http.HttpClient.openServer(Unknown Source) at
 sun.net.www.http.HttpClient.openServer(Unknown Source) at
 sun.net.www.http.HttpClient. (Unknown Source) at
 sun.net.www.http.HttpClient.New(Unknown Source) at
 sun.net.www.http.HttpClient.New(Unknown Source) at
 sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown
 Source) at
 sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
 at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
 at
 org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:412)
 at
 org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:514)
 at
 org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:503)
 at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247) at
 java.lang.Thread.run(Unknown Source)


The connection timed out, i.e. the remote system did not accept the connection.


 my jmeter.log

 2005/11/04 16:28:37 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 
 1-1 started
 2005/11/04 16:28:37 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 
 1-2 started
 2005/11/04 16:28:38 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 
 1-3 started
 2005/11/04 16:28:38 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 
 1-4 started
 2005/11/04 16:28:38 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 
 1-5 started
 2005/11/04 16:28:38 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 
 1-6 started
 2005/11/04 16:28:38 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 
 1-7 started
 2005/11/04 16:28:38 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 
 1-8 started
 2005/11/04 16:28:38 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 
 1-9 started
 2005/11/04 16:28:38 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 
 1-10 started
 2005/11/04 16:33:36 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 
 1-3 is done
 2005/11/04 16:33:36 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread 
 2
 2005/11/04 16:33:47 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 
 1-5 is done
 2005/11/04 16:33:47 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread 
 4
 2005/11/04 16:34:13 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 
 1-7 is done
 2005/11/04 16:34:13 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread 
 6
 2005/11/04 16:34:34 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 
 1-10 is done
 2005/11/04 16:34:34 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread 
 9
 2005/11/04 16:34:50 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 
 1-1 is done
 2005/11/04 16:34:50 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread  0
 2005/11/04 16:36:09 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 
 1-2 is done
 2005/11/04 16:36:09 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread 
 1
 2005/11/04 16:36:09 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 
 1-9 is done
 2005/11/04 16:36:09 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread 
 8
 2005/11/04 16:37:40 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 
 1-8 is done
 2005/11/04 16:37:40 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread 
 7
 2005/11/04 16:37:55 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 
 1-4 is done
 2005/11/04 16:37:55 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread 
 3
 2005/11/04 16:38:08 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 
 1-6 is done
 2005/11/04 16:38:08 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread 
 5
 2005/11/04 16:38:08 INFO  - jmeter.engine.StandardJMeterEngine: Stopping test
 2005/11/04 16:38:08 INFO  - jmeter.engine.StandardJMeterEngine: Notifying 
 test listeners of end of test
 2005/11/04 16:38:08 INFO  - jmeter.gui.util.JMeterMenuBar: 
 setRunning(false,local)
 2005/11/04 16:38:08 INFO  - jmeter.engine.StandardJMeterEngine: Test has ended

 10 min to 10 threads? 0.o

 
  Version of JMeter? JVM? OS? What are you running JMeter on?

 jakarta-jmeter-2-1.20051025

 java version 1.5.0_04
 Java(TM) 2 Runtime Environment, Standard Edition 

Re: Connections don't closing?

2005-11-04 Thread sebb
Try disabling keep-alive.

On 04/11/05, Fernando Ribeiro [EMAIL PROTECTED] wrote:
 Hi all,

  I'm testing a web server and i look how the jmeter don't closing the
 connections. So, i need the timeout connection time expire.

  How to fix this?

 --
 Fernando Ribeiro - GPG-KEY: 0x8D7255F4
 Linux Counter: #273768 - ICQ: 175630330
 RHCE - Red Hat Certified Engineer
 LPIC-2 - Advanced Linux
 CCSA - CheckPoint Cert. Security Admin.
 Death the graph! Death the mouse
 Death patents! Death closed standards!
 http://www.nerdgroup.org
 http://musb.nerdgroup.org
 --
 Grandes mentes discutem idéias;
 Mentes medianas discutem eventos;
 Mentes pequenas discutem pessoas.
 --
 A mente que se abre a uma nova idéia
 jamais volta ao seu tamanho original.
 Albert Einstein


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Connections don't closing?

2005-11-04 Thread Fernando Ribeiro


jmeter is very slow, returning time out erros.
I don't found the error for this.

Try with and without keep-alive, but without success.

Can anybody look the .jmx?

http://www.nerdgroup.org/staff/fernando/projetos/correio/metricas/Plan.jmx

Thank you very much



 Try disabling keep-alive.

 On 04/11/05, Fernando Ribeiro [EMAIL PROTECTED] wrote:
 Hi all,

  I'm testing a web server and i look how the jmeter don't closing
 the
 connections. So, i need the timeout connection time expire.

  How to fix this?

 --
 Fernando Ribeiro - GPG-KEY: 0x8D7255F4
 Linux Counter: #273768 - ICQ: 175630330
 RHCE - Red Hat Certified Engineer
 LPIC-2 - Advanced Linux
 CCSA - CheckPoint Cert. Security Admin.
 Death the graph! Death the mouse
 Death patents! Death closed standards!
 http://www.nerdgroup.org
 http://musb.nerdgroup.org
 --
 Grandes mentes discutem idéias;
 Mentes medianas discutem eventos;
 Mentes pequenas discutem pessoas.
 --
 A mente que se abre a uma nova idéia
 jamais volta ao seu tamanho original.
 Albert Einstein


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-- 
Fernando Ribeiro - GPG-KEY: 0x8D7255F4
Linux Counter: #273768 - ICQ: 175630330
RHCE - Red Hat Certified Engineer
LPIC-2 - Advanced Linux
CCSA - CheckPoint Cert. Security Admin.
Death the graph! Death the mouse
Death patents! Death closed standards!
http://www.nerdgroup.org
http://musb.nerdgroup.org
--
Grandes mentes discutem idéias;
Mentes medianas discutem eventos;
Mentes pequenas discutem pessoas.
--
A mente que se abre a uma nova idéia
jamais volta ao seu tamanho original.
Albert Einstein


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Connections don't closing?

2005-11-04 Thread sebb
On 04/11/05, Fernando Ribeiro [EMAIL PROTECTED] wrote:


 jmeter is very slow, returning time out erros.
 I don't found the error for this.

Timeout is not due to JMeter.

What is the exact error message? What does jmeter.log say?

Version of JMeter? JVM? OS? What are you running JMeter on?

 Try with and without keep-alive, but without success.

 Can anybody look the .jmx?

Both the ThreadGroup and the internal loop controller have a loop
count of 1; that does not make sense for a performance test, as there
won't be time to create a steady state.

By the time the 20th thread starts, thread 1 may well have finished.

It's quite a complicated test plan.
Do you get the same slowness and timeouts with a simpler plan?

 http://www.nerdgroup.org/staff/fernando/projetos/correio/metricas/Plan.jmx

 Thank you very much



  Try disabling keep-alive.
 
  On 04/11/05, Fernando Ribeiro [EMAIL PROTECTED] wrote:
  Hi all,
 
   I'm testing a web server and i look how the jmeter don't closing
  the
  connections. So, i need the timeout connection time expire.
 
   How to fix this?
 
  --
  Fernando Ribeiro - GPG-KEY: 0x8D7255F4
  Linux Counter: #273768 - ICQ: 175630330
  RHCE - Red Hat Certified Engineer
  LPIC-2 - Advanced Linux
  CCSA - CheckPoint Cert. Security Admin.
  Death the graph! Death the mouse
  Death patents! Death closed standards!
  http://www.nerdgroup.org
  http://musb.nerdgroup.org
  --
  Grandes mentes discutem idéias;
  Mentes medianas discutem eventos;
  Mentes pequenas discutem pessoas.
  --
  A mente que se abre a uma nova idéia
  jamais volta ao seu tamanho original.
  Albert Einstein
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 --
 Fernando Ribeiro - GPG-KEY: 0x8D7255F4
 Linux Counter: #273768 - ICQ: 175630330
 RHCE - Red Hat Certified Engineer
 LPIC-2 - Advanced Linux
 CCSA - CheckPoint Cert. Security Admin.
 Death the graph! Death the mouse
 Death patents! Death closed standards!
 http://www.nerdgroup.org
 http://musb.nerdgroup.org
 --
 Grandes mentes discutem idéias;
 Mentes medianas discutem eventos;
 Mentes pequenas discutem pessoas.
 --
 A mente que se abre a uma nova idéia
 jamais volta ao seu tamanho original.
 Albert Einstein


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]