You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by shimo <ds...@gmail.com> on 2008/02/12 17:07:11 UTC

JMeter HTTP connection time out ????

Helllo. I have just started using JMeter 2 days ago. Dont know too much about
it .

Well here is what i am trying to do : - 40 downloads requests on 40 threads
started in the same second. All 40 requests  are geting the same file. Now
the file has like 6.7 MB and my connection is 1.5 MB/s. Problem is that i am
getting response(file appears as being 100% downloaded in JMeter) for 25-30
requests. I cant get over 30 for this file. If i am using a smaller file
like 2MB then is no problem. I have chek the server where i am doing the
requests and i have there 40 requests indeed for the 6.7 MB file. Also the
server is sending all 40 files to the jmeter client.  Problem is that at
some point JMeter is ending the connection. I know this for sure cause i can
check the lvl of the download for each request on the server and i have 30
files that where fully downloaded and 10 that are at various % percentage.

I have put "httpclient.timeout=0" in jemeter.properties, also "Keep Alive"
is checked in the test(dont know if any of this helps acctually ).  

Thanks for the help guys . 
-- 
View this message in context: http://www.nabble.com/JMeter-HTTP-connection-time-out------tp15434522p15434522.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: JMeter HTTP connection time out ????

Posted by sebb <se...@gmail.com>.
On 15/02/2008, shimo <ds...@gmail.com> wrote:
>
>  I removed all listeners, only the HTTP request is up in the test.
>  set the Xms32m Xmx64m and page to 32 . Same 6.7 MB file and started 10
>  concurent downloads.
>  I am still getting the out of memory.

That may be be because the file still has to be temporarily stored in
memory until the sampler has completed; the result data won't be
deleted until the sampler has finished.

There is an enhancement request to allow large files to be downloaded
but not stored, but it has yet to be implemented.

> I am more then sure i dont have the
>  necesary background to solve this in time. Guess i will just have to use ab
>  or httperf again, even tho my boss will not like it .
>

Or use multiple JMeter instances?

>  Anyway thx for the help Sebb-2-2, btw if you have time and you are in the
>  mood to point me to an example/test  that is doing concurent downloads of
>  huge files :D

AFAIK there aren't any such examples.

> We are hosting video files mainly , for one of the biggest
>  internet media players, and usually they dont have files larger then 1 GB,
>  but we have one of the main players in blogging launching a plugin soon, and
>  i wanted to do some performance testing so i can draw some guidelines for
>  the boss . Managed to do all other tests with JMeter, and the results are
>  close to AB and httperf results , but i cant get the download part working
>  with jmeter .

Useful to know that JMeter is producing similar results.

>
>  sebb-2-2 wrote:
>  >
>  > JMeter currently stores all the data from a sampler in the sample
>  > result; if you have a listener that keeps the data (e.g. Tree View)
>  > then you will soon run out of memory.
>  >
>  > Please read:
>  >
>  > http://jakarta.apache.org/jmeter/usermanual/best-practices.html#lean_mean
>  >
>  > and
>  >
>  > http://jakarta.apache.org/jmeter/usermanual/component_reference.html#listeners
>  >
>  > On 15/02/2008, shimo <ds...@gmail.com> wrote:
>  >>
>  >>  Hello, thx for the answer .
>  >>
>  >>  Well is not related to Connection timeout at all.
>  >>
>  >>  Is the beautiful HEAP SIZE. Anyway increasing the heap size is not the
>  >> best
>  >>  solution. We need to download 200 files at the same time for a sustained
>  >>  period. I am just wondering what is gonne happen if 50 files have like
>  >> 100
>  >>  MB each.... Tbh i dont have enough RAM for JVM in this case.
>  >>
>  >>  I have no ideea how can i test 200 downloads/second with JMeter without
>  >>  hiting the HEAP size wall....
>  >>  If you know anything about this please help.
>  >>
>  >>
>  >>
>  >>
>  >>  sebb-2-2 wrote:
>  >>  >
>  >>  > It would help if you could provide the exact error message you are
>  >> seeing.
>  >>  >
>  >>  > Connection timeout is probably caused by the server.
>  >>  >
>  >>  > On 12/02/2008, shimo <ds...@gmail.com> wrote:
>  >>  >>
>  >>  >>  Helllo. I have just started using JMeter 2 days ago. Dont know too
>  >> much
>  >>  >> about
>  >>  >>  it .
>  >>  >>
>  >>  >>  Well here is what i am trying to do : - 40 downloads requests on 40
>  >>  >> threads
>  >>  >>  started in the same second. All 40 requests  are geting the same
>  >> file.
>  >>  >> Now
>  >>  >>  the file has like 6.7 MB and my connection is 1.5 MB/s. Problem is
>  >> that
>  >>  >> i am
>  >>  >>  getting response(file appears as being 100% downloaded in JMeter)
>  >> for
>  >>  >> 25-30
>  >>  >>  requests. I cant get over 30 for this file. If i am using a smaller
>  >> file
>  >>  >>  like 2MB then is no problem. I have chek the server where i am doing
>  >> the
>  >>  >>  requests and i have there 40 requests indeed for the 6.7 MB file.
>  >> Also
>  >>  >> the
>  >>  >>  server is sending all 40 files to the jmeter client.  Problem is
>  >> that at
>  >>  >>  some point JMeter is ending the connection. I know this for sure
>  >> cause i
>  >>  >> can
>  >>  >>  check the lvl of the download for each request on the server and i
>  >> have
>  >>  >> 30
>  >>  >>  files that where fully downloaded and 10 that are at various %
>  >>  >> percentage.
>  >>  >>
>  >>  >>  I have put "httpclient.timeout=0" in jemeter.properties, also "Keep
>  >>  >> Alive"
>  >>  >>  is checked in the test(dont know if any of this helps acctually ).
>  >>  >>
>  >>  >>  Thanks for the help guys .
>  >>  >>
>  >>  >> --
>  >>  >>  View this message in context:
>  >>  >>
>  >> http://www.nabble.com/JMeter-HTTP-connection-time-out------tp15434522p15434522.html
>  >>  >>  Sent from the JMeter - User mailing list archive at Nabble.com.
>  >>  >>
>  >>  >>
>  >>  >>
>  >> ---------------------------------------------------------------------
>  >>  >>  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
>  >>  >
>  >>  >
>  >>  >
>  >>
>  >>
>  >> --
>  >>  View this message in context:
>  >> http://www.nabble.com/JMeter-HTTP-connection-time-out------tp15434522p15496182.html
>  >>
>  >> Sent from the JMeter - User mailing list archive at Nabble.com.
>  >>
>  >>
>  >>  ---------------------------------------------------------------------
>  >>  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
>  >
>  >
>  >
>
>  --
>
> View this message in context: http://www.nabble.com/JMeter-HTTP-connection-time-out------tp15434522p15502428.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  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


Re: JMeter HTTP connection time out ????

Posted by shimo <ds...@gmail.com>.
I removed all listeners, only the HTTP request is up in the test. 
set the Xms32m Xmx64m and page to 32 . Same 6.7 MB file and started 10
concurent downloads. 
I am still getting the out of memory. I am more then sure i dont have the
necesary background to solve this in time. Guess i will just have to use ab
or httperf again, even tho my boss will not like it . 

Anyway thx for the help Sebb-2-2, btw if you have time and you are in the
mood to point me to an example/test  that is doing concurent downloads of
huge files :D We are hosting video files mainly , for one of the biggest
internet media players, and usually they dont have files larger then 1 GB,
but we have one of the main players in blogging launching a plugin soon, and
i wanted to do some performance testing so i can draw some guidelines for
the boss . Managed to do all other tests with JMeter, and the results are
close to AB and httperf results , but i cant get the download part working
with jmeter . 


sebb-2-2 wrote:
> 
> JMeter currently stores all the data from a sampler in the sample
> result; if you have a listener that keeps the data (e.g. Tree View)
> then you will soon run out of memory.
> 
> Please read:
> 
> http://jakarta.apache.org/jmeter/usermanual/best-practices.html#lean_mean
> 
> and
> 
> http://jakarta.apache.org/jmeter/usermanual/component_reference.html#listeners
> 
> On 15/02/2008, shimo <ds...@gmail.com> wrote:
>>
>>  Hello, thx for the answer .
>>
>>  Well is not related to Connection timeout at all.
>>
>>  Is the beautiful HEAP SIZE. Anyway increasing the heap size is not the
>> best
>>  solution. We need to download 200 files at the same time for a sustained
>>  period. I am just wondering what is gonne happen if 50 files have like
>> 100
>>  MB each.... Tbh i dont have enough RAM for JVM in this case.
>>
>>  I have no ideea how can i test 200 downloads/second with JMeter without
>>  hiting the HEAP size wall....
>>  If you know anything about this please help.
>>
>>
>>
>>
>>  sebb-2-2 wrote:
>>  >
>>  > It would help if you could provide the exact error message you are
>> seeing.
>>  >
>>  > Connection timeout is probably caused by the server.
>>  >
>>  > On 12/02/2008, shimo <ds...@gmail.com> wrote:
>>  >>
>>  >>  Helllo. I have just started using JMeter 2 days ago. Dont know too
>> much
>>  >> about
>>  >>  it .
>>  >>
>>  >>  Well here is what i am trying to do : - 40 downloads requests on 40
>>  >> threads
>>  >>  started in the same second. All 40 requests  are geting the same
>> file.
>>  >> Now
>>  >>  the file has like 6.7 MB and my connection is 1.5 MB/s. Problem is
>> that
>>  >> i am
>>  >>  getting response(file appears as being 100% downloaded in JMeter)
>> for
>>  >> 25-30
>>  >>  requests. I cant get over 30 for this file. If i am using a smaller
>> file
>>  >>  like 2MB then is no problem. I have chek the server where i am doing
>> the
>>  >>  requests and i have there 40 requests indeed for the 6.7 MB file.
>> Also
>>  >> the
>>  >>  server is sending all 40 files to the jmeter client.  Problem is
>> that at
>>  >>  some point JMeter is ending the connection. I know this for sure
>> cause i
>>  >> can
>>  >>  check the lvl of the download for each request on the server and i
>> have
>>  >> 30
>>  >>  files that where fully downloaded and 10 that are at various %
>>  >> percentage.
>>  >>
>>  >>  I have put "httpclient.timeout=0" in jemeter.properties, also "Keep
>>  >> Alive"
>>  >>  is checked in the test(dont know if any of this helps acctually ).
>>  >>
>>  >>  Thanks for the help guys .
>>  >>
>>  >> --
>>  >>  View this message in context:
>>  >>
>> http://www.nabble.com/JMeter-HTTP-connection-time-out------tp15434522p15434522.html
>>  >>  Sent from the JMeter - User mailing list archive at Nabble.com.
>>  >>
>>  >>
>>  >> 
>> ---------------------------------------------------------------------
>>  >>  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
>>  >
>>  >
>>  >
>>
>>
>> --
>>  View this message in context:
>> http://www.nabble.com/JMeter-HTTP-connection-time-out------tp15434522p15496182.html
>>
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>>  ---------------------------------------------------------------------
>>  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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/JMeter-HTTP-connection-time-out------tp15434522p15502428.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: JMeter HTTP connection time out ????

Posted by sebb <se...@gmail.com>.
JMeter currently stores all the data from a sampler in the sample
result; if you have a listener that keeps the data (e.g. Tree View)
then you will soon run out of memory.

Please read:

http://jakarta.apache.org/jmeter/usermanual/best-practices.html#lean_mean

and

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#listeners

On 15/02/2008, shimo <ds...@gmail.com> wrote:
>
>  Hello, thx for the answer .
>
>  Well is not related to Connection timeout at all.
>
>  Is the beautiful HEAP SIZE. Anyway increasing the heap size is not the best
>  solution. We need to download 200 files at the same time for a sustained
>  period. I am just wondering what is gonne happen if 50 files have like 100
>  MB each.... Tbh i dont have enough RAM for JVM in this case.
>
>  I have no ideea how can i test 200 downloads/second with JMeter without
>  hiting the HEAP size wall....
>  If you know anything about this please help.
>
>
>
>
>  sebb-2-2 wrote:
>  >
>  > It would help if you could provide the exact error message you are seeing.
>  >
>  > Connection timeout is probably caused by the server.
>  >
>  > On 12/02/2008, shimo <ds...@gmail.com> wrote:
>  >>
>  >>  Helllo. I have just started using JMeter 2 days ago. Dont know too much
>  >> about
>  >>  it .
>  >>
>  >>  Well here is what i am trying to do : - 40 downloads requests on 40
>  >> threads
>  >>  started in the same second. All 40 requests  are geting the same file.
>  >> Now
>  >>  the file has like 6.7 MB and my connection is 1.5 MB/s. Problem is that
>  >> i am
>  >>  getting response(file appears as being 100% downloaded in JMeter) for
>  >> 25-30
>  >>  requests. I cant get over 30 for this file. If i am using a smaller file
>  >>  like 2MB then is no problem. I have chek the server where i am doing the
>  >>  requests and i have there 40 requests indeed for the 6.7 MB file. Also
>  >> the
>  >>  server is sending all 40 files to the jmeter client.  Problem is that at
>  >>  some point JMeter is ending the connection. I know this for sure cause i
>  >> can
>  >>  check the lvl of the download for each request on the server and i have
>  >> 30
>  >>  files that where fully downloaded and 10 that are at various %
>  >> percentage.
>  >>
>  >>  I have put "httpclient.timeout=0" in jemeter.properties, also "Keep
>  >> Alive"
>  >>  is checked in the test(dont know if any of this helps acctually ).
>  >>
>  >>  Thanks for the help guys .
>  >>
>  >> --
>  >>  View this message in context:
>  >> http://www.nabble.com/JMeter-HTTP-connection-time-out------tp15434522p15434522.html
>  >>  Sent from the JMeter - User mailing list archive at Nabble.com.
>  >>
>  >>
>  >>  ---------------------------------------------------------------------
>  >>  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
>  >
>  >
>  >
>
>
> --
>  View this message in context: http://www.nabble.com/JMeter-HTTP-connection-time-out------tp15434522p15496182.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  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


Re: JMeter HTTP connection time out ????

Posted by shimo <ds...@gmail.com>.
Hello, thx for the answer .

Well is not related to Connection timeout at all. 

Is the beautiful HEAP SIZE. Anyway increasing the heap size is not the best
solution. We need to download 200 files at the same time for a sustained
period. I am just wondering what is gonne happen if 50 files have like 100
MB each.... Tbh i dont have enough RAM for JVM in this case. 

I have no ideea how can i test 200 downloads/second with JMeter without
hiting the HEAP size wall....
If you know anything about this please help.



sebb-2-2 wrote:
> 
> It would help if you could provide the exact error message you are seeing.
> 
> Connection timeout is probably caused by the server.
> 
> On 12/02/2008, shimo <ds...@gmail.com> wrote:
>>
>>  Helllo. I have just started using JMeter 2 days ago. Dont know too much
>> about
>>  it .
>>
>>  Well here is what i am trying to do : - 40 downloads requests on 40
>> threads
>>  started in the same second. All 40 requests  are geting the same file.
>> Now
>>  the file has like 6.7 MB and my connection is 1.5 MB/s. Problem is that
>> i am
>>  getting response(file appears as being 100% downloaded in JMeter) for
>> 25-30
>>  requests. I cant get over 30 for this file. If i am using a smaller file
>>  like 2MB then is no problem. I have chek the server where i am doing the
>>  requests and i have there 40 requests indeed for the 6.7 MB file. Also
>> the
>>  server is sending all 40 files to the jmeter client.  Problem is that at
>>  some point JMeter is ending the connection. I know this for sure cause i
>> can
>>  check the lvl of the download for each request on the server and i have
>> 30
>>  files that where fully downloaded and 10 that are at various %
>> percentage.
>>
>>  I have put "httpclient.timeout=0" in jemeter.properties, also "Keep
>> Alive"
>>  is checked in the test(dont know if any of this helps acctually ).
>>
>>  Thanks for the help guys .
>>
>> --
>>  View this message in context:
>> http://www.nabble.com/JMeter-HTTP-connection-time-out------tp15434522p15434522.html
>>  Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>>  ---------------------------------------------------------------------
>>  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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/JMeter-HTTP-connection-time-out------tp15434522p15496182.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: JMeter HTTP connection time out ????

Posted by sebb <se...@gmail.com>.
It would help if you could provide the exact error message you are seeing.

Connection timeout is probably caused by the server.

On 12/02/2008, shimo <ds...@gmail.com> wrote:
>
>  Helllo. I have just started using JMeter 2 days ago. Dont know too much about
>  it .
>
>  Well here is what i am trying to do : - 40 downloads requests on 40 threads
>  started in the same second. All 40 requests  are geting the same file. Now
>  the file has like 6.7 MB and my connection is 1.5 MB/s. Problem is that i am
>  getting response(file appears as being 100% downloaded in JMeter) for 25-30
>  requests. I cant get over 30 for this file. If i am using a smaller file
>  like 2MB then is no problem. I have chek the server where i am doing the
>  requests and i have there 40 requests indeed for the 6.7 MB file. Also the
>  server is sending all 40 files to the jmeter client.  Problem is that at
>  some point JMeter is ending the connection. I know this for sure cause i can
>  check the lvl of the download for each request on the server and i have 30
>  files that where fully downloaded and 10 that are at various % percentage.
>
>  I have put "httpclient.timeout=0" in jemeter.properties, also "Keep Alive"
>  is checked in the test(dont know if any of this helps acctually ).
>
>  Thanks for the help guys .
>
> --
>  View this message in context: http://www.nabble.com/JMeter-HTTP-connection-time-out------tp15434522p15434522.html
>  Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  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