jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Connection refused...
Date Sun, 01 Jun 2008 13:29:46 GMT
On 01/06/2008, Lists <lists@dankeeley.co.uk> wrote:
> The jmeter.log file shows this:
>
>  2008/06/01 13:14:20 INFO  -
>  org.apache.commons.httpclient.HttpMethodDirector: I/O exception
>  (java.net.ConnectException) caught when processing request: Connection timed
>  out
>  2008/06/01 13:14:20 INFO  -
>  org.apache.commons.httpclient.HttpMethodDirector: Retrying request
>
>
>  I am assuming that the full connection refused then eventually returns if
>  the total number of retries fails.
>
>  how many times does it retry? been googling for defaults but I can't find
>  any!

jmeter.properties has a link to:

http://jakarta.apache.org/commons/httpclient/preference-api.html

which now redirects to:

http://hc.apache.org/httpclient-3.x/preference-api.html

See also httpclient.parameters in the bin directory

>  Dan
>
>  (Jmeter 2.3.1)
>
>
>  --------- Original Message --------
>  From: JMeter Users List <jmeter-user@jakarta.apache.org>
>
> To: JMeter Users List <jmeter-user@jakarta.apache.org>, Lists
>  <lists@dankeeley.co.uk>
>
> Subject: Re: Connection refused...
>  Date: 01/06/08 13:18
>
>  > On 01/06/2008, Lists &lt;lists@dankeeley.co.uk&gt; wrote:
>  > &gt; hmm, i'm not sure this is the problem im seeing now :)
>  > &gt;
>  > &gt;  I upped the ulimit and it seemed to improve but eventually came
>  back.
>  > &gt;
>  > &gt;  So what could cause this? we see nothing in the logs at the other
>
> end.
>  >
>  > Which logs are those?
>  > AFAIK, the server log won't show failed connections, because they will
>  > be handled by the OS.
>  >
>
> > &gt;  The other thing thats interesting is that every time this happens
>  the
>  > &gt;  response time is always 224s .  Why would that be? How many times
>  does it
>  > &gt;  retry the connection before giving up? I can see some messages in
>  the logs
>  > &gt;  about retrying...
>  > &gt;
>
> >
>  > Which sampler are you using?
>  >
>
> > &gt;  Thanks,
>  > &gt;  Dan
>  > &gt;
>  > &gt;
>  > &gt;  --------- Original Message --------
>  > &gt;  From: JMeter Users List &lt;jmeter-user@jakarta.apache.org&gt;
>  > &gt;  To: JMeter Users List &lt;jmeter-user@jakarta.apache.org&gt;
>  > &gt;  Subject: Connection refused...
>  > &gt;  Date: 01/06/08 13:04
>  > &gt;
>  > &gt;  &gt; It seems that you get this error:
>  > &gt;  &gt;
>  > &gt;  &gt; java.net.ConnectException: Connection refused
>  > &gt;  &gt;         at java.net.PlainSocketImpl.socketConnect(Native
>  Method)
>  > &gt;  &gt;
>  > &gt;  &gt; When you run out of file descriptors on unix. (i.e. ulimit -n)
>  > &gt;  &gt;
>  > &gt;  &gt; I think thats worth knowing - because the error seems slightly
>  misleading
>  > &gt;  &gt; although i guess technically correct.  It's just in this case
>  the OS has
>  > &gt;  &gt; refused the connection rather than the target machine.
>  > &gt;  &gt;
>  > &gt;  &gt; Dan
>  > &gt;  &gt;
>  > &gt;  &gt; ________________________________________________
>  > &gt;  &gt; Message sent using UebiMiau 2.7.10
>  > &gt;  &gt;
>  > &gt;  &gt;
>  > &gt;  &gt;
>  > &gt;  &gt;
>  ---------------------------------------------------------------------
>  > &gt;  &gt; To unsubscribe, e-mail:
>
> jmeter-user-unsubscribe@jakarta.apache.org
>
> > &gt;  &gt; For additional commands, e-mail:
>
> jmeter-user-help@jakarta.apache.org
>
> > &gt;  &gt;
>  > &gt;  &gt;
>  > &gt;  &gt;
>  > &gt;
>  > &gt;  ________________________________________________
>  > &gt;  Message sent using UebiMiau 2.7.10
>  > &gt;
>  > &gt;
>  > &gt;
>  > &gt;
>  ---------------------------------------------------------------------
>  > &gt;  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  > &gt;  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  > &gt;
>  > &gt;
>
> >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >
>  >
>  >
>
>  ________________________________________________
>  Message sent using UebiMiau 2.7.10
>
>
>
>  ---------------------------------------------------------------------
>  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


Mime
View raw message