jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Connections problem while testing web application
Date Tue, 21 Jun 2005 17:34:47 GMT
Ramp up is described here:

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

You're probably trying to start the threads too quickly.

Setting ramp-up to the same as number of threads is a good starting
point; you may be able to reduce it later.

S.
On 6/21/05, srikanth peddireddy <srikanth_mails@yahoo.co.in> wrote:
> Hi All,
> 
>     I am trying to do a load test kind of thing on my web application.
> I have a test plan containing a sequence of HTTP requests  (say Req1,Req3, Req3 ).
> In Req2 and 3 " lot of other web pages are embedded(in frame sets , as images etc). Retrieve
All Embedded Resources from HTML Files "  is selected for them
> 
> 
>  Then I ran the test with following settings
> 
>  Number of threads   20
>  Ramp-up period as 0
> Loop count    1
> 
> and then i incresed  Threads to 30 and Ramp-up to 1 second
> 
> Test ran succesfully in both cases.
> But when i incresed threds to 40 (keeping ramp up at 1 second ) following error is shown
for many requests in response data
> 
> Java.net.SocketException: No buffer space available (maximum connections reached?): connect
>  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.<init>(Unknown Source)
>  at sun.net.www.http.HttpClient.<init>(Unknown Source)
>  at sun.net.www.http.HttpClient.New(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.plainConnect(Unknown Source)
>  at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
>  at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:464)
>  at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:590)
>  at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:578)
>  at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:281)
>  at java.lang.Thread.run(Unknown Source)
> 
> 
> I am running a Win 98 system with 128 MB RAM. Is this configuration has something to
do with the error.
> If not some one kindly expalin me the reasons behind this. What actually Romp-up is and
what would be the ideal value to set for it.
> Any help will be very much appreciated.
> 
> Regards
> Srikanth.P
> 
> 
> Disclaimer
> ------------------------------------------------------------------------------------
> This e-mail message may contain confidential, proprietary
> or legally privileged information. It should not be used by
> anyone who is not the original intended recipient. If you
> have erroneously received this message, please delete it
> immediately and notify the sender.
> 
> The views, opinions, conclusions and other information
> expressed in this electronic mail are those of the
> individual sender and not endorsed by SDG Software
> Technologies Pvt. Ltd. unless otherwise indicated by an
> authorised representative independent of this message.
> 
> Before opening any attachment please check them for viruses
> and defects. SDG Software Technologies Pvt. Ltd. shall not
> accept responsibility for any loss or damage arising from
> the use of this email or attachment(s).
> -------------------------------------------------------------------------------------
> 
> ---------------------------------
> How much free photo storage do you get? Store your friends n family photos for FREE with
Yahoo! Photos.
>  http://in.photos.yahoo.com
>

---------------------------------------------------------------------
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