Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 96885 invoked from network); 23 Jul 2009 15:58:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Jul 2009 15:58:01 -0000 Received: (qmail 98346 invoked by uid 500); 23 Jul 2009 15:59:06 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 98282 invoked by uid 500); 23 Jul 2009 15:59:06 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 98272 invoked by uid 99); 23 Jul 2009 15:59:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jul 2009 15:59:06 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of asp.adieu@gmail.com designates 209.85.218.228 as permitted sender) Received: from [209.85.218.228] (HELO mail-bw0-f228.google.com) (209.85.218.228) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jul 2009 15:58:56 +0000 Received: by bwz28 with SMTP id 28so910815bwz.37 for ; Thu, 23 Jul 2009 08:58:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=c6fwURPChRAmReMfVgXccpPqXLyFepz8L96kfz5/tn4=; b=Y6JQR0dwwOTJBTnLCpsrsF4z9pE549vZRrLj8GQt+DxVUZsnpC8BabFea+c+NJHaKI ZXp5P6yO2eIApcrY24J+a9SpzcTm3wqx5yQPCzJgGHUqFN7g4OR3VorBz8/6ADZd88Ig +8LSHwXYLYSaRBNrYdQEMtK+zGAHkKuIAIWKc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=GK+N7P0mOR3Bd6zlerMlb0FMk/mLqpESW5m0peaoRM1XJPHngUSVjO16WiD+zHqI7+ jJDVRq9ozyys9FXtw98qBJjtCwdHQ0av0bTQ0coFo9a5fhvLEt53osxtpXVvbGpLeXWx QJ3hPHsKJd9PNrYrj1IvhhxEN9nuWrb3SbNX0= MIME-Version: 1.0 Received: by 10.103.137.10 with SMTP id p10mr1239205mun.29.1248364716171; Thu, 23 Jul 2009 08:58:36 -0700 (PDT) In-Reply-To: <25aac9fc0907230729i6a2d553le693044443807689@mail.gmail.com> References: <25aac9fc0907230729i6a2d553le693044443807689@mail.gmail.com> Date: Thu, 23 Jul 2009 18:58:36 +0300 Message-ID: Subject: Re: Sampler response data: java.net.BindException. Any ideas what it is and how to avoid it? From: Adrian Speteanu To: JMeter Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Thanks for the idea. I'll try the HttpClient sampler instead. "> Perhaps add "Connection close" to some of the samplers." Is it possible to do this with the sampler? How? About the RAM, the peak memory of the java.exe process was ~450m and the Xmx flag was 640m, so, in this case all was ok from this point of view (I assume). On Thu, Jul 23, 2009 at 5:29 PM, sebb wrote: > On 23/07/2009, Adrian Speteanu wrote: >> It doesn't seem related to the server or the application tested. In >> =A0the logs of JMeter nothing is written during the test (i found only >> =A0start and stop threads). >> =A0Any ideas on why it happens / how to avoid it? >> >> =A0[ the error message ] >> =A0" >> =A0java.net.BindException: Address already in use: connect >> =A0 =A0 =A0 =A0 at java.net.PlainSocketImpl.socketConnect(Native Method) >> =A0 =A0 =A0 =A0 at java.net.PlainSocketImpl.doConnect(Unknown Source) >> =A0 =A0 =A0 =A0 at java.net.PlainSocketImpl.connectToAddress(Unknown Sou= rce) >> =A0 =A0 =A0 =A0 at java.net.PlainSocketImpl.connect(Unknown Source) >> =A0 =A0 =A0 =A0 at java.net.SocksSocketImpl.connect(Unknown Source) >> =A0 =A0 =A0 =A0 at java.net.Socket.connect(Unknown Source) >> =A0 =A0 =A0 =A0 at java.net.Socket.connect(Unknown Source) >> =A0 =A0 =A0 =A0 at sun.net.NetworkClient.doConnect(Unknown Source) >> =A0 =A0 =A0 =A0 at sun.net.www.http.HttpClient.openServer(Unknown Source= ) >> =A0 =A0 =A0 =A0 at sun.net.www.http.HttpClient.openServer(Unknown Source= ) >> =A0 =A0 =A0 =A0 at sun.net.www.http.HttpClient.(Unknown Source) >> =A0 =A0 =A0 =A0 at sun.net.www.http.HttpClient.New(Unknown Source) >> =A0 =A0 =A0 =A0 at sun.net.www.http.HttpClient.New(Unknown Source) >> =A0 =A0 =A0 =A0 at sun.net.www.protocol.http.HttpURLConnection.getNewHtt= pClient(Unknown Source) >> =A0 =A0 =A0 =A0 at sun.net.www.protocol.http.HttpURLConnection.plainConn= ect(Unknown Source) >> =A0 =A0 =A0 =A0 at sun.net.www.protocol.http.HttpURLConnection.connect(U= nknown Source) >> =A0 =A0 =A0 =A0 at org.apache.jmeter.protocol.http.sampler.HTTPSampler.s= ample(HTTPSampler.java:490) >> =A0 =A0 =A0 =A0 at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBa= se.sample(HTTPSamplerBase.java:1037) >> =A0 =A0 =A0 =A0 at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBa= se.sample(HTTPSamplerBase.java:1023) >> =A0 =A0 =A0 =A0 at org.apache.jmeter.threads.JMeterThread.process_sample= r(JMeterThread.java:346) >> =A0 =A0 =A0 =A0 at org.apache.jmeter.threads.JMeterThread.run(JMeterThre= ad.java:243) >> =A0 =A0 =A0 =A0 at java.lang.Thread.run(Unknown Source) >> =A0" > > I suspect you may have run out of sockets. > > Perhaps add "Connection close" to some of the samplers. > > Try using the HttpClient sampler instead of the default HTTP sampler. > >> =A0[test system] windows xp pro, 1g ram > > More RAM would be better. > >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0jmeter 2.3.4 (i have modified= the loggin level to >> =A0info for most indicators) >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0jvm 1.6.0_13 >> =A0the test is very light for the server and response times are good; >> =A0i have a bit to many listeners > > You can always reload the JTL file in a different Listener after the > test has completed. > >> =A0- i am interested in comparing results >> =A0for same action in various situations, however the virtual machine >> =A0behaved ok, stayed well within the max heap memory and during the tes= t >> =A0the processor wasn't loaded more than 40-50% on average, so i hope >> =A0that wouldn't be the problem, I suspect network issues. > > >> =A0I am new to the JMeter Users List so I don't know if this was discuss= ed before. > > That's what the mail archives are for ;-) > >> =A0--------------------------------------------------------------------- >> =A0To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org >> =A0For 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