You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by William Ottley <wi...@gmail.com> on 2010/03/15 16:46:42 UTC
I thought i was starting to understand jmeter, then this situation
happens...
Hi all,
Just as the subject says. I have 2 different servers that i'm trying to
test.
Server#1 (at the office) is a dell PE2850 dual-xeon 3.2ghz with 4G ram
machine #2 (at home) is a intel mini-itx with an Intel Core 2 2.66Ghz
(Q9400S) with 4G ram
Test enviornment:
the webserver is lighttpd (i dropped apache, cause it was causing stupid SYN
and open file errrors)
the testing machines are:
#1 macBookPro with 2G ram
#2 linux Intel dual core 2.66ghz with 2GRam (Home where I test the mini-itx)
#3 Dell Xeon system with 4G ram (Office where I test the PE2850
So, the software I have up and running to verify everything is:
a script that I run on the webserver to see the # of connections via the
lighttpd server-status page
and the jmeter files, which I will attach the config:
http://pastebin.com/uErNkS7y
Now there are 2 problems
#1
I run 8 jmeter instances at home with the testing machine #2 and laptop #1
if I'm right, ThreadGroup.num_threads: 1400 x 8 jmeter instances SHOULD give
me 11,200 connections, right?
BUT, the server-status only shows a max of 4983 connections
There are NOW no errors, no time outs, no open files no SYN no anything. so
why the huge gap differences?
#2
When i'm at the office, the same test script is run, and I test the server,
and instead of getting something like 4500 connections, all i get is 350 to
400 connections!!! soooo i obivously don't understand something.
can anyone help shed some light on this?
On Sun, Mar 14, 2010 at 3:25 PM, Deepak Shetty <sh...@gmail.com> wrote:
> http://jakarta.apache.org/jmeter/usermanual/index.html
> <http://jakarta.apache.org/jmeter/usermanual/index.html>After that you can
> use Google .
>
> On Sun, Mar 14, 2010 at 2:41 AM, rpkishore <rp...@yahoo.com> wrote:
>
> >
> > Hi Everyone,
> >
> > Can anyone please tell me where to start in Jmeter tutorial, I'm new to
> > this
> > tool, is there any website which can give brief step by step introduction
> > to
> > look into this tool with example.
> >
> > Thanks
> > Kishore
> > --
> > View this message in context:
> > http://old.nabble.com/Jmeter-Beginner-tp27893745p27893745.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
> >
> >
>
--
Everything that has, did and will happen in your life, exists now, within
you (William Ottley)
Every universe is covered by seven layers — earth, water, fire, air, sky,
the total energy and false ego — each ten times greater than the previous
one. There are innumerable universes besides this one, and although they are
unlimitedly large, they move about like atoms in You. Therefore You are
called unlimited (Bhagavata Purana 6.16.37)
Re: I thought i was starting to understand jmeter, then this
situation happens...
Posted by William Ottley <wi...@gmail.com>.
I use TOP to see the live statistics on both the webserver and the jmeter
tester: when I run the jmeter test, the cpu goes approx. approx 82% to 86%
with most of the cpu going towards the Java instances. the webserver is
showing approx 65%
and with regards to resources bottleneck, i'm confused. if there were
bottlenecks, wouldn't I get some errors in the jmeter software?
I get no errors from the server or the client: even in the
/var/log/messages or in the web logs....
does this help?
2010/3/15 Andrey Pohilko <ap...@fininfor.ru>
> Maybe your load generator itself overloaded?
> What CPU load says on load generator and your server?
> Where's resources bottleneck?
>
> С уважением,
> Андрей Похилько
> -----Original Message-----
> From: William Ottley [mailto:williamottley@gmail.com]
> Sent: Monday, March 15, 2010 6:47 PM
> To: JMeter Users List
> Subject: I thought i was starting to understand jmeter, then this situation
> happens...
>
> Hi all,
> Just as the subject says. I have 2 different servers that i'm trying to
> test.
> Server#1 (at the office) is a dell PE2850 dual-xeon 3.2ghz with 4G ram
> machine #2 (at home) is a intel mini-itx with an Intel Core 2 2.66Ghz
> (Q9400S) with 4G ram
>
> Test enviornment:
> the webserver is lighttpd (i dropped apache, cause it was causing stupid
> SYN
> and open file errrors)
>
> the testing machines are:
> #1 macBookPro with 2G ram
> #2 linux Intel dual core 2.66ghz with 2GRam (Home where I test the
> mini-itx)
> #3 Dell Xeon system with 4G ram (Office where I test the PE2850
>
> So, the software I have up and running to verify everything is:
> a script that I run on the webserver to see the # of connections via the
> lighttpd server-status page
>
> and the jmeter files, which I will attach the config:
> http://pastebin.com/uErNkS7y
>
> Now there are 2 problems
> #1
> I run 8 jmeter instances at home with the testing machine #2 and laptop #1
> if I'm right, ThreadGroup.num_threads: 1400 x 8 jmeter instances SHOULD
> give
> me 11,200 connections, right?
> BUT, the server-status only shows a max of 4983 connections
> There are NOW no errors, no time outs, no open files no SYN no anything. so
> why the huge gap differences?
>
> #2
> When i'm at the office, the same test script is run, and I test the server,
> and instead of getting something like 4500 connections, all i get is 350 to
> 400 connections!!! soooo i obivously don't understand something.
>
> can anyone help shed some light on this?
>
>
>
>
> On Sun, Mar 14, 2010 at 3:25 PM, Deepak Shetty <sh...@gmail.com> wrote:
>
> > http://jakarta.apache.org/jmeter/usermanual/index.html
> > <http://jakarta.apache.org/jmeter/usermanual/index.html>After that you
> can
> > use Google .
> >
> > On Sun, Mar 14, 2010 at 2:41 AM, rpkishore <rp...@yahoo.com> wrote:
> >
> > >
> > > Hi Everyone,
> > >
> > > Can anyone please tell me where to start in Jmeter tutorial, I'm new to
> > > this
> > > tool, is there any website which can give brief step by step
> introduction
> > > to
> > > look into this tool with example.
> > >
> > > Thanks
> > > Kishore
> > > --
> > > View this message in context:
> > > http://old.nabble.com/Jmeter-Beginner-tp27893745p27893745.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
> > >
> > >
> >
>
>
>
> --
> Everything that has, did and will happen in your life, exists now, within
> you (William Ottley)
>
> Every universe is covered by seven layers - earth, water, fire, air, sky,
> the total energy and false ego - each ten times greater than the previous
> one. There are innumerable universes besides this one, and although they
> are
> unlimitedly large, they move about like atoms in You. Therefore You are
> called unlimited (Bhagavata Purana 6.16.37)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
--
Everything that has, did and will happen in your life, exists now, within
you (William Ottley)
Every universe is covered by seven layers -- earth, water, fire, air, sky,
the total energy and false ego -- each ten times greater than the previous
one. There are innumerable universes besides this one, and although they are
unlimitedly large, they move about like atoms in You. Therefore You are
called unlimited (Bhagavata Purana 6.16.37)
RE: I thought i was starting to understand jmeter, then this situation happens...
Posted by Andrey Pohilko <ap...@fininfor.ru>.
Maybe your load generator itself overloaded?
What CPU load says on load generator and your server?
Where's resources bottleneck?
С уважением,
Андрей Похилько
-----Original Message-----
From: William Ottley [mailto:williamottley@gmail.com]
Sent: Monday, March 15, 2010 6:47 PM
To: JMeter Users List
Subject: I thought i was starting to understand jmeter, then this situation
happens...
Hi all,
Just as the subject says. I have 2 different servers that i'm trying to
test.
Server#1 (at the office) is a dell PE2850 dual-xeon 3.2ghz with 4G ram
machine #2 (at home) is a intel mini-itx with an Intel Core 2 2.66Ghz
(Q9400S) with 4G ram
Test enviornment:
the webserver is lighttpd (i dropped apache, cause it was causing stupid SYN
and open file errrors)
the testing machines are:
#1 macBookPro with 2G ram
#2 linux Intel dual core 2.66ghz with 2GRam (Home where I test the mini-itx)
#3 Dell Xeon system with 4G ram (Office where I test the PE2850
So, the software I have up and running to verify everything is:
a script that I run on the webserver to see the # of connections via the
lighttpd server-status page
and the jmeter files, which I will attach the config:
http://pastebin.com/uErNkS7y
Now there are 2 problems
#1
I run 8 jmeter instances at home with the testing machine #2 and laptop #1
if I'm right, ThreadGroup.num_threads: 1400 x 8 jmeter instances SHOULD give
me 11,200 connections, right?
BUT, the server-status only shows a max of 4983 connections
There are NOW no errors, no time outs, no open files no SYN no anything. so
why the huge gap differences?
#2
When i'm at the office, the same test script is run, and I test the server,
and instead of getting something like 4500 connections, all i get is 350 to
400 connections!!! soooo i obivously don't understand something.
can anyone help shed some light on this?
On Sun, Mar 14, 2010 at 3:25 PM, Deepak Shetty <sh...@gmail.com> wrote:
> http://jakarta.apache.org/jmeter/usermanual/index.html
> <http://jakarta.apache.org/jmeter/usermanual/index.html>After that you can
> use Google .
>
> On Sun, Mar 14, 2010 at 2:41 AM, rpkishore <rp...@yahoo.com> wrote:
>
> >
> > Hi Everyone,
> >
> > Can anyone please tell me where to start in Jmeter tutorial, I'm new to
> > this
> > tool, is there any website which can give brief step by step
introduction
> > to
> > look into this tool with example.
> >
> > Thanks
> > Kishore
> > --
> > View this message in context:
> > http://old.nabble.com/Jmeter-Beginner-tp27893745p27893745.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
> >
> >
>
--
Everything that has, did and will happen in your life, exists now, within
you (William Ottley)
Every universe is covered by seven layers - earth, water, fire, air, sky,
the total energy and false ego - each ten times greater than the previous
one. There are innumerable universes besides this one, and although they are
unlimitedly large, they move about like atoms in You. Therefore You are
called unlimited (Bhagavata Purana 6.16.37)
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: I thought i was starting to understand jmeter, then this
situation happens...
Posted by William Ottley <wi...@gmail.com>.
You are sooo right, and thanks for letting me know the different styles of
tests.
Me thinks I'll be a long running user of this mailing list, and hopefully in
the near future be a contributor as well.
But I have to start somewhere, and the basics is the connections right now.
thanks for all your help!
On Tue, Mar 16, 2010 at 12:39 PM, sebb <se...@gmail.com> wrote:
> On 16/03/2010, William Ottley <wi...@gmail.com> wrote:
> > Awesome question. What am I trying to accomplish?
> > I have 2 routes to go:
> > I'm starting up a "dot com", and i'm trying hard to make sure that there
> > wont' be a lot of costs allocated to "hardware", aka servers.
> > our dot com model, hmmmm will be in such a way, that we won't need a lot
> of
> > servers: since the data will be stored elsewhere.
> > So its basically a few database servers and a lot of web servers.
> >
> > Now I can go traditional, or i can go "new style" aka google servers.
> > I'm in Canada, so prices here might be a bit different than in the
> states.
> > I don't have the capital to buy lots of servers out right and do
> > co-location.
> > So right now, I can cheaply "rent" dedicated servers.
> > the most common cheap dedicated servers are the dell 2950's which are a
> few
> > years old now, and usually have the Dual Xeon proccesors. I can rent
> those
> > for about $85 a month with 100G of bandwidth.
> > For us to go "Alpha" stage, I will need to rent about 4 to 6 servers: so
> > that's going to cost me $425 plus extra bandwidth, etc.
> > And when the webservers get filled up: more. etc
> >
> > That's the traditional way.. well I'm not traditional, and frankly I
> love
> > hardware.
> > soooo, I'm creating a "two server" 2U server...
> > Here's a case I might be buying:
> > http://www.aproimage.com/proddetail.asp?linenumber=315
> >
> > I purchased an Intel mini-itx motherboard, with a Q9400S Intel Core 2
> > proccessor with 4G ram: $550
> >
> > so at the end of all this, I will have 2 servers for just under $1400,
> and
> > co-location is cheaper.
> >
> > BUT, I need to verify if this is truly feasible, Yes hardware wise it
> seems
> > this is smarter, but I want to test and verify.
> > And that is to stake up the web processing power of the 2 "servers".
> Which
> > can handle more load.
> >
> > So,
> > #1 I'm just trying to find the maximum load the servers can take, before
> it
> > crashes.
>
> Connections are only part of this and may not be limiting factor.
>
> You need to decide how many concurrent users the sites are expected to
> handle, and what a typical usage scenario is. Also what your target
> response time is.
>
> Generate a suitable test plan, and try it at various different loads.
> Check the response times.
>
> > #2 How they handle under constant load as well.
> >
>
> Yes, that's useful for detecting application leaks etc.
>
> Also need to measure what happens under peak expected load.
>
> There are lots of different possible behaviours here - for example:
> - runs slower and slower under load, but keeps running
> - new sessions are rejected, but existing sessions continue OK
> - generates errors on many sessions under excess load, but recovers
> gracefully when the load is reduced
> - as above, but does not recover when the load is reduced - requires a
> restart.
> - crashes under excess load.
>
> Also have a look at:
>
>
> http://jakarta.apache.org/jmeter/usermanual/best-practices.html#beanshell_server
>
> This can be used to drive a long-running test (e.g. several days) with
> a varying load to see how the system behaves.
>
> >
> > On Tue, Mar 16, 2010 at 11:28 AM, sebb <se...@gmail.com> wrote:
> >
> > > On 16/03/2010, William Ottley <wi...@gmail.com> wrote:
> > > > HI all,
> > > >
> > > > Well I have a home AND office environment. so the difference really
> is
> > > the 2
> > > > different switches between the machines.
> > > > the office has a cisco, and the home, well linksys switch.
> > > >
> > > > here is my new config:
> > > > http://pastebin.com/B50Nergb
> > > >
> > > > Now I have come to realise that although it did increase the
> > > connections, I
> > > > changed some settings and they lowered. (I'll explain the settings
> in a
> > > > bit). I went to the webserver (home one) and decided to do a
> netstat,
> > > and
> > > > came to see the problem. too many TIME_WAIT:
> > > >
> > > > [root@web1 ~]# netstat -ant |grep :80|wc -l
> > > > 28555
> > > > [root@web1 ~]# netstat -ant |grep :80|grep ESTABLISHED|wc -l
> > > > 7833
> > > > [root@web1 ~]# netstat -ant |grep :80|grep TIME_WAIT|wc -l
> > > > 17581
> > > > [root@web1 ~]# netstat -ant |grep :80|grep FIN_WAIT2|wc -l
> > > > 4162
> > > >
> > > > So, in a nut shell jmeter is doing its job, sending all those
> threads!
> > > BUT,
> > > > now its the webserver side that has to be tweaked to take them all,
> etc.
> > > > I gave up on apache, and decided to install lighttpd: much
> better!!!!
> > >
> > > That's probably a configuration issue; Apache can handle high loads.
> > >
> > > > Now the highest threads I got so far are:
> > > > Home machine: 10993
> > > > office machine: 8518
> > > >
> > > > I think there's only a few things now that could be tweaked on
> jmeter,
> > > but i
> > > > think we can all agree that its doing a great job!
> > > > Back to the changes.
> > > >
> > > > When you add a HTTP Request HTTPClient (thanks SEBB!)
> > > > it comes with these 2 settings already checked:
> > > > Redirect Automatically = true
> > > > Use KeepAlive = true
> > >
> > > [Same is true for the other HTTP Sampler]
> > >
> > > > When I went home, and did my first test (after increasing the
> > > connections
> > > > variable on lighttpd), I got the 10993.
> > > > I then went and changed the config to false for both the redirect
> and
> > > the
> > > > keepalive, and my threads went really low, like 7000, 9000
> > >
> > > Keep Alive just tells the server to expect more traffic on the same
> > > connection. If deselected, then the server will close the connection
> > > at the end of the response.
> > >
> > > > so i'll be reading up on the keepalive part. If all I want to do is
> > > create
> > > > the most amount of connections, do I have more HTTPClient samples,
> or
> > > have
> > > > more Thread Groups? (still can't figure that out).
> > >
> > > Neither.
> > >
> > > Samples in the same thread will re-use the same connection unless it
> > > has been closed, in which case they will use a new one. In both cases,
> > > there is only one connection active at a time.
> > >
> > > When using the HttpClient sampler in JMeter, different threads will
> > > never share the same connection, so the way to increase concurrent
> > > connections is to use more threads.
> > >
> > > > Now the final part of this awesome journey (thanks guys your the
> best!)
> > > is
> > > > to get the server side OS to work and lower those TIME_WAIT!
> > >
> > > TIME_WAIT is an essential part of the IP protocol; it protects against
> > > delayed responses causing problems if the port is reused.
> > >
> > > > I have Centos 5.4? but i'm now starting to think I should go with
> NetBSD
> > > or
> > > > FreeBSD.. anyways (this is beyond this mailling list so won't bug
> you
> > > guys
> > > > on that).
> > > >
> > > > If anyone else is on the same boat as me right now, trying to find
> the
> > > max
> > > > amount of connections their machine can handle, contact me, we can
> share
> > > > resourse....
> > >
> > > What are you trying to achieve? Connections are only part of the
> story.
> > >
> > > > Peace
> > > >
> > > >
> > > > William
> > > >
> > > >
> > > >
> > > > On Tue, Mar 16, 2010 at 7:18 AM, Deepak Goel <de...@gmail.com>
> wrote:
> > > >
> > > > > Hey William
> > > > >
> > > > > Guten Tag
> > > > >
> > > > > 1. Is the home and office networking environment the same?
> > > > > 2. Can you please tell me what parameter are you recording?
> > > (connections?)
> > > > >
> > > > > Thank You
> > > > > Deepak
> > > > >
> > > > > --
> > > > > Keigu
> > > > >
> > > > > Deepak
> > > > > +91-9765089593
> > > > > deicool@gmail.com
> > > > >
> > > > > Skype: thumsupdeicool
> > > > > Google talk: deicool
> > > > > Blog: http://loveandfearless.wordpress.com
> > > > >
> > > > > Check out my Work at:
> > > > > LinkedIn: http://in.linkedin.com/in/thumsupdeicool
> > > > >
> > > > > "Contribute to the world, environment and more :
> > > > > http://www.gridrepublic.org
> > > > > "
> > > > >
> > > > >
> > > > > On Mon, Mar 15, 2010 at 9:16 PM, William Ottley <
> > > williamottley@gmail.com
> > > > > >wrote:
> > > > >
> > > > > > Hi all,
> > > > > > Just as the subject says. I have 2 different servers that i'm
> trying
> > > to
> > > > > > test.
> > > > > > Server#1 (at the office) is a dell PE2850 dual-xeon 3.2ghz with
> 4G
> > > ram
> > > > > > machine #2 (at home) is a intel mini-itx with an Intel Core 2
> > > 2.66Ghz
> > > > > > (Q9400S) with 4G ram
> > > > > >
> > > > > > Test enviornment:
> > > > > > the webserver is lighttpd (i dropped apache, cause it was
> causing
> > > stupid
> > > > > > SYN
> > > > > > and open file errrors)
> > > > > >
> > > > > > the testing machines are:
> > > > > > #1 macBookPro with 2G ram
> > > > > > #2 linux Intel dual core 2.66ghz with 2GRam (Home where I test
> the
> > > > > > mini-itx)
> > > > > > #3 Dell Xeon system with 4G ram (Office where I test the PE2850
> > > > > >
> > > > > > So, the software I have up and running to verify everything is:
> > > > > > a script that I run on the webserver to see the # of
> connections via
> > > the
> > > > > > lighttpd server-status page
> > > > > >
> > > > > > and the jmeter files, which I will attach the config:
> > > > > > http://pastebin.com/uErNkS7y
> > > > > >
> > > > > > Now there are 2 problems
> > > > > > #1
> > > > > > I run 8 jmeter instances at home with the testing machine #2
> and
> > > laptop
> > > > > #1
> > > > > > if I'm right, ThreadGroup.num_threads: 1400 x 8 jmeter
> instances
> > > SHOULD
> > > > > > give
> > > > > > me 11,200 connections, right?
> > > > > > BUT, the server-status only shows a max of 4983 connections
> > > > > > There are NOW no errors, no time outs, no open files no SYN no
> > > anything.
> > > > > so
> > > > > > why the huge gap differences?
> > > > > >
> > > > > > #2
> > > > > > When i'm at the office, the same test script is run, and I test
> the
> > > > > server,
> > > > > > and instead of getting something like 4500 connections, all i
> get is
> > > 350
> > > > > to
> > > > > > 400 connections!!! soooo i obivously don't understand
> something.
> > > > > >
> > > > > > can anyone help shed some light on this?
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Sun, Mar 14, 2010 at 3:25 PM, Deepak Shetty <
> shettyd@gmail.com>
> > > > > wrote:
> > > > > >
> > > > > > > http://jakarta.apache.org/jmeter/usermanual/index.html
> > > > > > > <http://jakarta.apache.org/jmeter/usermanual/index.html
> >After
> > > that you
> > > > > > can
> > > > > > > use Google .
> > > > > > >
> > > > > > > On Sun, Mar 14, 2010 at 2:41 AM, rpkishore <
> rpkishore@yahoo.com>
> > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > Hi Everyone,
> > > > > > > >
> > > > > > > > Can anyone please tell me where to start in Jmeter
> tutorial, I'm
> > > new
> > > > > to
> > > > > > > > this
> > > > > > > > tool, is there any website which can give brief step by
> step
> > > > > > introduction
> > > > > > > > to
> > > > > > > > look into this tool with example.
> > > > > > > >
> > > > > > > > Thanks
> > > > > > > > Kishore
> > > > > > > > --
> > > > > > > > View this message in context:
> > > > > > > >
> http://old.nabble.com/Jmeter-Beginner-tp27893745p27893745.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
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Everything that has, did and will happen in your life, exists
> now,
> > > within
> > > > > > you (William Ottley)
> > > > > >
> > > > > > Every universe is covered by seven layers — earth, water, fire,
> air,
> > > sky,
> > > > > > the total energy and false ego — each ten times greater than
> the
> > > previous
> > > > > > one. There are innumerable universes besides this one, and
> although
> > > they
> > > > > > are
> > > > > > unlimitedly large, they move about like atoms in You. Therefore
> You
> > > are
> > > > > > called unlimited (Bhagavata Purana 6.16.37)
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Everything that has, did and will happen in your life, exists now,
> within
> > > > you (William Ottley)
> > > >
> > > > Every universe is covered by seven layers — earth, water, fire,
> air,
> > > sky,
> > > > the total energy and false ego — each ten times greater than the
> > > previous
> > > > one. There are innumerable universes besides this one, and although
> they
> > > are
> > > > unlimitedly large, they move about like atoms in You. Therefore You
> are
> > > > called unlimited (Bhagavata Purana 6.16.37)
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > >
> > >
> >
> >
> > --
> > Everything that has, did and will happen in your life, exists now,
> within
> > you (William Ottley)
> >
> > Every universe is covered by seven layers — earth, water, fire, air,
> sky,
> > the total energy and false ego — each ten times greater than the
> previous
> > one. There are innumerable universes besides this one, and although they
> are
> > unlimitedly large, they move about like atoms in You. Therefore You are
> > called unlimited (Bhagavata Purana 6.16.37)
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
--
Everything that has, did and will happen in your life, exists now, within
you (William Ottley)
Every universe is covered by seven layers — earth, water, fire, air, sky,
the total energy and false ego — each ten times greater than the previous
one. There are innumerable universes besides this one, and although they are
unlimitedly large, they move about like atoms in You. Therefore You are
called unlimited (Bhagavata Purana 6.16.37)
Re: I thought i was starting to understand jmeter, then this
situation happens...
Posted by sebb <se...@gmail.com>.
On 16/03/2010, William Ottley <wi...@gmail.com> wrote:
> Awesome question. What am I trying to accomplish?
> I have 2 routes to go:
> I'm starting up a "dot com", and i'm trying hard to make sure that there
> wont' be a lot of costs allocated to "hardware", aka servers.
> our dot com model, hmmmm will be in such a way, that we won't need a lot of
> servers: since the data will be stored elsewhere.
> So its basically a few database servers and a lot of web servers.
>
> Now I can go traditional, or i can go "new style" aka google servers.
> I'm in Canada, so prices here might be a bit different than in the states.
> I don't have the capital to buy lots of servers out right and do
> co-location.
> So right now, I can cheaply "rent" dedicated servers.
> the most common cheap dedicated servers are the dell 2950's which are a few
> years old now, and usually have the Dual Xeon proccesors. I can rent those
> for about $85 a month with 100G of bandwidth.
> For us to go "Alpha" stage, I will need to rent about 4 to 6 servers: so
> that's going to cost me $425 plus extra bandwidth, etc.
> And when the webservers get filled up: more. etc
>
> That's the traditional way.. well I'm not traditional, and frankly I love
> hardware.
> soooo, I'm creating a "two server" 2U server...
> Here's a case I might be buying:
> http://www.aproimage.com/proddetail.asp?linenumber=315
>
> I purchased an Intel mini-itx motherboard, with a Q9400S Intel Core 2
> proccessor with 4G ram: $550
>
> so at the end of all this, I will have 2 servers for just under $1400, and
> co-location is cheaper.
>
> BUT, I need to verify if this is truly feasible, Yes hardware wise it seems
> this is smarter, but I want to test and verify.
> And that is to stake up the web processing power of the 2 "servers". Which
> can handle more load.
>
> So,
> #1 I'm just trying to find the maximum load the servers can take, before it
> crashes.
Connections are only part of this and may not be limiting factor.
You need to decide how many concurrent users the sites are expected to
handle, and what a typical usage scenario is. Also what your target
response time is.
Generate a suitable test plan, and try it at various different loads.
Check the response times.
> #2 How they handle under constant load as well.
>
Yes, that's useful for detecting application leaks etc.
Also need to measure what happens under peak expected load.
There are lots of different possible behaviours here - for example:
- runs slower and slower under load, but keeps running
- new sessions are rejected, but existing sessions continue OK
- generates errors on many sessions under excess load, but recovers
gracefully when the load is reduced
- as above, but does not recover when the load is reduced - requires a restart.
- crashes under excess load.
Also have a look at:
http://jakarta.apache.org/jmeter/usermanual/best-practices.html#beanshell_server
This can be used to drive a long-running test (e.g. several days) with
a varying load to see how the system behaves.
>
> On Tue, Mar 16, 2010 at 11:28 AM, sebb <se...@gmail.com> wrote:
>
> > On 16/03/2010, William Ottley <wi...@gmail.com> wrote:
> > > HI all,
> > >
> > > Well I have a home AND office environment. so the difference really is
> > the 2
> > > different switches between the machines.
> > > the office has a cisco, and the home, well linksys switch.
> > >
> > > here is my new config:
> > > http://pastebin.com/B50Nergb
> > >
> > > Now I have come to realise that although it did increase the
> > connections, I
> > > changed some settings and they lowered. (I'll explain the settings in a
> > > bit). I went to the webserver (home one) and decided to do a netstat,
> > and
> > > came to see the problem. too many TIME_WAIT:
> > >
> > > [root@web1 ~]# netstat -ant |grep :80|wc -l
> > > 28555
> > > [root@web1 ~]# netstat -ant |grep :80|grep ESTABLISHED|wc -l
> > > 7833
> > > [root@web1 ~]# netstat -ant |grep :80|grep TIME_WAIT|wc -l
> > > 17581
> > > [root@web1 ~]# netstat -ant |grep :80|grep FIN_WAIT2|wc -l
> > > 4162
> > >
> > > So, in a nut shell jmeter is doing its job, sending all those threads!
> > BUT,
> > > now its the webserver side that has to be tweaked to take them all, etc.
> > > I gave up on apache, and decided to install lighttpd: much better!!!!
> >
> > That's probably a configuration issue; Apache can handle high loads.
> >
> > > Now the highest threads I got so far are:
> > > Home machine: 10993
> > > office machine: 8518
> > >
> > > I think there's only a few things now that could be tweaked on jmeter,
> > but i
> > > think we can all agree that its doing a great job!
> > > Back to the changes.
> > >
> > > When you add a HTTP Request HTTPClient (thanks SEBB!)
> > > it comes with these 2 settings already checked:
> > > Redirect Automatically = true
> > > Use KeepAlive = true
> >
> > [Same is true for the other HTTP Sampler]
> >
> > > When I went home, and did my first test (after increasing the
> > connections
> > > variable on lighttpd), I got the 10993.
> > > I then went and changed the config to false for both the redirect and
> > the
> > > keepalive, and my threads went really low, like 7000, 9000
> >
> > Keep Alive just tells the server to expect more traffic on the same
> > connection. If deselected, then the server will close the connection
> > at the end of the response.
> >
> > > so i'll be reading up on the keepalive part. If all I want to do is
> > create
> > > the most amount of connections, do I have more HTTPClient samples, or
> > have
> > > more Thread Groups? (still can't figure that out).
> >
> > Neither.
> >
> > Samples in the same thread will re-use the same connection unless it
> > has been closed, in which case they will use a new one. In both cases,
> > there is only one connection active at a time.
> >
> > When using the HttpClient sampler in JMeter, different threads will
> > never share the same connection, so the way to increase concurrent
> > connections is to use more threads.
> >
> > > Now the final part of this awesome journey (thanks guys your the best!)
> > is
> > > to get the server side OS to work and lower those TIME_WAIT!
> >
> > TIME_WAIT is an essential part of the IP protocol; it protects against
> > delayed responses causing problems if the port is reused.
> >
> > > I have Centos 5.4? but i'm now starting to think I should go with NetBSD
> > or
> > > FreeBSD.. anyways (this is beyond this mailling list so won't bug you
> > guys
> > > on that).
> > >
> > > If anyone else is on the same boat as me right now, trying to find the
> > max
> > > amount of connections their machine can handle, contact me, we can share
> > > resourse....
> >
> > What are you trying to achieve? Connections are only part of the story.
> >
> > > Peace
> > >
> > >
> > > William
> > >
> > >
> > >
> > > On Tue, Mar 16, 2010 at 7:18 AM, Deepak Goel <de...@gmail.com> wrote:
> > >
> > > > Hey William
> > > >
> > > > Guten Tag
> > > >
> > > > 1. Is the home and office networking environment the same?
> > > > 2. Can you please tell me what parameter are you recording?
> > (connections?)
> > > >
> > > > Thank You
> > > > Deepak
> > > >
> > > > --
> > > > Keigu
> > > >
> > > > Deepak
> > > > +91-9765089593
> > > > deicool@gmail.com
> > > >
> > > > Skype: thumsupdeicool
> > > > Google talk: deicool
> > > > Blog: http://loveandfearless.wordpress.com
> > > >
> > > > Check out my Work at:
> > > > LinkedIn: http://in.linkedin.com/in/thumsupdeicool
> > > >
> > > > "Contribute to the world, environment and more :
> > > > http://www.gridrepublic.org
> > > > "
> > > >
> > > >
> > > > On Mon, Mar 15, 2010 at 9:16 PM, William Ottley <
> > williamottley@gmail.com
> > > > >wrote:
> > > >
> > > > > Hi all,
> > > > > Just as the subject says. I have 2 different servers that i'm trying
> > to
> > > > > test.
> > > > > Server#1 (at the office) is a dell PE2850 dual-xeon 3.2ghz with 4G
> > ram
> > > > > machine #2 (at home) is a intel mini-itx with an Intel Core 2
> > 2.66Ghz
> > > > > (Q9400S) with 4G ram
> > > > >
> > > > > Test enviornment:
> > > > > the webserver is lighttpd (i dropped apache, cause it was causing
> > stupid
> > > > > SYN
> > > > > and open file errrors)
> > > > >
> > > > > the testing machines are:
> > > > > #1 macBookPro with 2G ram
> > > > > #2 linux Intel dual core 2.66ghz with 2GRam (Home where I test the
> > > > > mini-itx)
> > > > > #3 Dell Xeon system with 4G ram (Office where I test the PE2850
> > > > >
> > > > > So, the software I have up and running to verify everything is:
> > > > > a script that I run on the webserver to see the # of connections via
> > the
> > > > > lighttpd server-status page
> > > > >
> > > > > and the jmeter files, which I will attach the config:
> > > > > http://pastebin.com/uErNkS7y
> > > > >
> > > > > Now there are 2 problems
> > > > > #1
> > > > > I run 8 jmeter instances at home with the testing machine #2 and
> > laptop
> > > > #1
> > > > > if I'm right, ThreadGroup.num_threads: 1400 x 8 jmeter instances
> > SHOULD
> > > > > give
> > > > > me 11,200 connections, right?
> > > > > BUT, the server-status only shows a max of 4983 connections
> > > > > There are NOW no errors, no time outs, no open files no SYN no
> > anything.
> > > > so
> > > > > why the huge gap differences?
> > > > >
> > > > > #2
> > > > > When i'm at the office, the same test script is run, and I test the
> > > > server,
> > > > > and instead of getting something like 4500 connections, all i get is
> > 350
> > > > to
> > > > > 400 connections!!! soooo i obivously don't understand something.
> > > > >
> > > > > can anyone help shed some light on this?
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On Sun, Mar 14, 2010 at 3:25 PM, Deepak Shetty <sh...@gmail.com>
> > > > wrote:
> > > > >
> > > > > > http://jakarta.apache.org/jmeter/usermanual/index.html
> > > > > > <http://jakarta.apache.org/jmeter/usermanual/index.html>After
> > that you
> > > > > can
> > > > > > use Google .
> > > > > >
> > > > > > On Sun, Mar 14, 2010 at 2:41 AM, rpkishore <rp...@yahoo.com>
> > > > wrote:
> > > > > >
> > > > > > >
> > > > > > > Hi Everyone,
> > > > > > >
> > > > > > > Can anyone please tell me where to start in Jmeter tutorial, I'm
> > new
> > > > to
> > > > > > > this
> > > > > > > tool, is there any website which can give brief step by step
> > > > > introduction
> > > > > > > to
> > > > > > > look into this tool with example.
> > > > > > >
> > > > > > > Thanks
> > > > > > > Kishore
> > > > > > > --
> > > > > > > View this message in context:
> > > > > > > http://old.nabble.com/Jmeter-Beginner-tp27893745p27893745.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
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Everything that has, did and will happen in your life, exists now,
> > within
> > > > > you (William Ottley)
> > > > >
> > > > > Every universe is covered by seven layers — earth, water, fire, air,
> > sky,
> > > > > the total energy and false ego — each ten times greater than the
> > previous
> > > > > one. There are innumerable universes besides this one, and although
> > they
> > > > > are
> > > > > unlimitedly large, they move about like atoms in You. Therefore You
> > are
> > > > > called unlimited (Bhagavata Purana 6.16.37)
> > > > >
> > > >
> > >
> > >
> > >
> > >
> > > --
> > >
> > > Everything that has, did and will happen in your life, exists now, within
> > > you (William Ottley)
> > >
> > > Every universe is covered by seven layers — earth, water, fire, air,
> > sky,
> > > the total energy and false ego — each ten times greater than the
> > previous
> > > one. There are innumerable universes besides this one, and although they
> > are
> > > unlimitedly large, they move about like atoms in You. Therefore You are
> > > called unlimited (Bhagavata Purana 6.16.37)
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
>
>
> --
> Everything that has, did and will happen in your life, exists now, within
> you (William Ottley)
>
> Every universe is covered by seven layers — earth, water, fire, air, sky,
> the total energy and false ego — each ten times greater than the previous
> one. There are innumerable universes besides this one, and although they are
> unlimitedly large, they move about like atoms in You. Therefore You are
> called unlimited (Bhagavata Purana 6.16.37)
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: I thought i was starting to understand jmeter, then this
situation happens...
Posted by William Ottley <wi...@gmail.com>.
Awesome question. What am I trying to accomplish?
I have 2 routes to go:
I'm starting up a "dot com", and i'm trying hard to make sure that there
wont' be a lot of costs allocated to "hardware", aka servers.
our dot com model, hmmmm will be in such a way, that we won't need a lot of
servers: since the data will be stored elsewhere.
So its basically a few database servers and a lot of web servers.
Now I can go traditional, or i can go "new style" aka google servers.
I'm in Canada, so prices here might be a bit different than in the states.
I don't have the capital to buy lots of servers out right and do
co-location.
So right now, I can cheaply "rent" dedicated servers.
the most common cheap dedicated servers are the dell 2950's which are a few
years old now, and usually have the Dual Xeon proccesors. I can rent those
for about $85 a month with 100G of bandwidth.
For us to go "Alpha" stage, I will need to rent about 4 to 6 servers: so
that's going to cost me $425 plus extra bandwidth, etc.
And when the webservers get filled up: more. etc
That's the traditional way.. well I'm not traditional, and frankly I love
hardware.
soooo, I'm creating a "two server" 2U server...
Here's a case I might be buying:
http://www.aproimage.com/proddetail.asp?linenumber=315
I purchased an Intel mini-itx motherboard, with a Q9400S Intel Core 2
proccessor with 4G ram: $550
so at the end of all this, I will have 2 servers for just under $1400, and
co-location is cheaper.
BUT, I need to verify if this is truly feasible, Yes hardware wise it seems
this is smarter, but I want to test and verify.
And that is to stake up the web processing power of the 2 "servers". Which
can handle more load.
So,
#1 I'm just trying to find the maximum load the servers can take, before it
crashes.
#2 How they handle under constant load as well.
On Tue, Mar 16, 2010 at 11:28 AM, sebb <se...@gmail.com> wrote:
> On 16/03/2010, William Ottley <wi...@gmail.com> wrote:
> > HI all,
> >
> > Well I have a home AND office environment. so the difference really is
> the 2
> > different switches between the machines.
> > the office has a cisco, and the home, well linksys switch.
> >
> > here is my new config:
> > http://pastebin.com/B50Nergb
> >
> > Now I have come to realise that although it did increase the
> connections, I
> > changed some settings and they lowered. (I'll explain the settings in a
> > bit). I went to the webserver (home one) and decided to do a netstat,
> and
> > came to see the problem. too many TIME_WAIT:
> >
> > [root@web1 ~]# netstat -ant |grep :80|wc -l
> > 28555
> > [root@web1 ~]# netstat -ant |grep :80|grep ESTABLISHED|wc -l
> > 7833
> > [root@web1 ~]# netstat -ant |grep :80|grep TIME_WAIT|wc -l
> > 17581
> > [root@web1 ~]# netstat -ant |grep :80|grep FIN_WAIT2|wc -l
> > 4162
> >
> > So, in a nut shell jmeter is doing its job, sending all those threads!
> BUT,
> > now its the webserver side that has to be tweaked to take them all, etc.
> > I gave up on apache, and decided to install lighttpd: much better!!!!
>
> That's probably a configuration issue; Apache can handle high loads.
>
> > Now the highest threads I got so far are:
> > Home machine: 10993
> > office machine: 8518
> >
> > I think there's only a few things now that could be tweaked on jmeter,
> but i
> > think we can all agree that its doing a great job!
> > Back to the changes.
> >
> > When you add a HTTP Request HTTPClient (thanks SEBB!)
> > it comes with these 2 settings already checked:
> > Redirect Automatically = true
> > Use KeepAlive = true
>
> [Same is true for the other HTTP Sampler]
>
> > When I went home, and did my first test (after increasing the
> connections
> > variable on lighttpd), I got the 10993.
> > I then went and changed the config to false for both the redirect and
> the
> > keepalive, and my threads went really low, like 7000, 9000
>
> Keep Alive just tells the server to expect more traffic on the same
> connection. If deselected, then the server will close the connection
> at the end of the response.
>
> > so i'll be reading up on the keepalive part. If all I want to do is
> create
> > the most amount of connections, do I have more HTTPClient samples, or
> have
> > more Thread Groups? (still can't figure that out).
>
> Neither.
>
> Samples in the same thread will re-use the same connection unless it
> has been closed, in which case they will use a new one. In both cases,
> there is only one connection active at a time.
>
> When using the HttpClient sampler in JMeter, different threads will
> never share the same connection, so the way to increase concurrent
> connections is to use more threads.
>
> > Now the final part of this awesome journey (thanks guys your the best!)
> is
> > to get the server side OS to work and lower those TIME_WAIT!
>
> TIME_WAIT is an essential part of the IP protocol; it protects against
> delayed responses causing problems if the port is reused.
>
> > I have Centos 5.4? but i'm now starting to think I should go with NetBSD
> or
> > FreeBSD.. anyways (this is beyond this mailling list so won't bug you
> guys
> > on that).
> >
> > If anyone else is on the same boat as me right now, trying to find the
> max
> > amount of connections their machine can handle, contact me, we can share
> > resourse....
>
> What are you trying to achieve? Connections are only part of the story.
>
> > Peace
> >
> >
> > William
> >
> >
> >
> > On Tue, Mar 16, 2010 at 7:18 AM, Deepak Goel <de...@gmail.com> wrote:
> >
> > > Hey William
> > >
> > > Guten Tag
> > >
> > > 1. Is the home and office networking environment the same?
> > > 2. Can you please tell me what parameter are you recording?
> (connections?)
> > >
> > > Thank You
> > > Deepak
> > >
> > > --
> > > Keigu
> > >
> > > Deepak
> > > +91-9765089593
> > > deicool@gmail.com
> > >
> > > Skype: thumsupdeicool
> > > Google talk: deicool
> > > Blog: http://loveandfearless.wordpress.com
> > >
> > > Check out my Work at:
> > > LinkedIn: http://in.linkedin.com/in/thumsupdeicool
> > >
> > > "Contribute to the world, environment and more :
> > > http://www.gridrepublic.org
> > > "
> > >
> > >
> > > On Mon, Mar 15, 2010 at 9:16 PM, William Ottley <
> williamottley@gmail.com
> > > >wrote:
> > >
> > > > Hi all,
> > > > Just as the subject says. I have 2 different servers that i'm trying
> to
> > > > test.
> > > > Server#1 (at the office) is a dell PE2850 dual-xeon 3.2ghz with 4G
> ram
> > > > machine #2 (at home) is a intel mini-itx with an Intel Core 2
> 2.66Ghz
> > > > (Q9400S) with 4G ram
> > > >
> > > > Test enviornment:
> > > > the webserver is lighttpd (i dropped apache, cause it was causing
> stupid
> > > > SYN
> > > > and open file errrors)
> > > >
> > > > the testing machines are:
> > > > #1 macBookPro with 2G ram
> > > > #2 linux Intel dual core 2.66ghz with 2GRam (Home where I test the
> > > > mini-itx)
> > > > #3 Dell Xeon system with 4G ram (Office where I test the PE2850
> > > >
> > > > So, the software I have up and running to verify everything is:
> > > > a script that I run on the webserver to see the # of connections via
> the
> > > > lighttpd server-status page
> > > >
> > > > and the jmeter files, which I will attach the config:
> > > > http://pastebin.com/uErNkS7y
> > > >
> > > > Now there are 2 problems
> > > > #1
> > > > I run 8 jmeter instances at home with the testing machine #2 and
> laptop
> > > #1
> > > > if I'm right, ThreadGroup.num_threads: 1400 x 8 jmeter instances
> SHOULD
> > > > give
> > > > me 11,200 connections, right?
> > > > BUT, the server-status only shows a max of 4983 connections
> > > > There are NOW no errors, no time outs, no open files no SYN no
> anything.
> > > so
> > > > why the huge gap differences?
> > > >
> > > > #2
> > > > When i'm at the office, the same test script is run, and I test the
> > > server,
> > > > and instead of getting something like 4500 connections, all i get is
> 350
> > > to
> > > > 400 connections!!! soooo i obivously don't understand something.
> > > >
> > > > can anyone help shed some light on this?
> > > >
> > > >
> > > >
> > > >
> > > > On Sun, Mar 14, 2010 at 3:25 PM, Deepak Shetty <sh...@gmail.com>
> > > wrote:
> > > >
> > > > > http://jakarta.apache.org/jmeter/usermanual/index.html
> > > > > <http://jakarta.apache.org/jmeter/usermanual/index.html>After
> that you
> > > > can
> > > > > use Google .
> > > > >
> > > > > On Sun, Mar 14, 2010 at 2:41 AM, rpkishore <rp...@yahoo.com>
> > > wrote:
> > > > >
> > > > > >
> > > > > > Hi Everyone,
> > > > > >
> > > > > > Can anyone please tell me where to start in Jmeter tutorial, I'm
> new
> > > to
> > > > > > this
> > > > > > tool, is there any website which can give brief step by step
> > > > introduction
> > > > > > to
> > > > > > look into this tool with example.
> > > > > >
> > > > > > Thanks
> > > > > > Kishore
> > > > > > --
> > > > > > View this message in context:
> > > > > > http://old.nabble.com/Jmeter-Beginner-tp27893745p27893745.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
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Everything that has, did and will happen in your life, exists now,
> within
> > > > you (William Ottley)
> > > >
> > > > Every universe is covered by seven layers — earth, water, fire, air,
> sky,
> > > > the total energy and false ego — each ten times greater than the
> previous
> > > > one. There are innumerable universes besides this one, and although
> they
> > > > are
> > > > unlimitedly large, they move about like atoms in You. Therefore You
> are
> > > > called unlimited (Bhagavata Purana 6.16.37)
> > > >
> > >
> >
> >
> >
> >
> > --
> >
> > Everything that has, did and will happen in your life, exists now, within
> > you (William Ottley)
> >
> > Every universe is covered by seven layers — earth, water, fire, air,
> sky,
> > the total energy and false ego — each ten times greater than the
> previous
> > one. There are innumerable universes besides this one, and although they
> are
> > unlimitedly large, they move about like atoms in You. Therefore You are
> > called unlimited (Bhagavata Purana 6.16.37)
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
--
Everything that has, did and will happen in your life, exists now, within
you (William Ottley)
Every universe is covered by seven layers — earth, water, fire, air, sky,
the total energy and false ego — each ten times greater than the previous
one. There are innumerable universes besides this one, and although they are
unlimitedly large, they move about like atoms in You. Therefore You are
called unlimited (Bhagavata Purana 6.16.37)
Re: I thought i was starting to understand jmeter, then this
situation happens...
Posted by sebb <se...@gmail.com>.
On 16/03/2010, William Ottley <wi...@gmail.com> wrote:
> HI all,
>
> Well I have a home AND office environment. so the difference really is the 2
> different switches between the machines.
> the office has a cisco, and the home, well linksys switch.
>
> here is my new config:
> http://pastebin.com/B50Nergb
>
> Now I have come to realise that although it did increase the connections, I
> changed some settings and they lowered. (I'll explain the settings in a
> bit). I went to the webserver (home one) and decided to do a netstat, and
> came to see the problem. too many TIME_WAIT:
>
> [root@web1 ~]# netstat -ant |grep :80|wc -l
> 28555
> [root@web1 ~]# netstat -ant |grep :80|grep ESTABLISHED|wc -l
> 7833
> [root@web1 ~]# netstat -ant |grep :80|grep TIME_WAIT|wc -l
> 17581
> [root@web1 ~]# netstat -ant |grep :80|grep FIN_WAIT2|wc -l
> 4162
>
> So, in a nut shell jmeter is doing its job, sending all those threads! BUT,
> now its the webserver side that has to be tweaked to take them all, etc.
> I gave up on apache, and decided to install lighttpd: much better!!!!
That's probably a configuration issue; Apache can handle high loads.
> Now the highest threads I got so far are:
> Home machine: 10993
> office machine: 8518
>
> I think there's only a few things now that could be tweaked on jmeter, but i
> think we can all agree that its doing a great job!
> Back to the changes.
>
> When you add a HTTP Request HTTPClient (thanks SEBB!)
> it comes with these 2 settings already checked:
> Redirect Automatically = true
> Use KeepAlive = true
[Same is true for the other HTTP Sampler]
> When I went home, and did my first test (after increasing the connections
> variable on lighttpd), I got the 10993.
> I then went and changed the config to false for both the redirect and the
> keepalive, and my threads went really low, like 7000, 9000
Keep Alive just tells the server to expect more traffic on the same
connection. If deselected, then the server will close the connection
at the end of the response.
> so i'll be reading up on the keepalive part. If all I want to do is create
> the most amount of connections, do I have more HTTPClient samples, or have
> more Thread Groups? (still can't figure that out).
Neither.
Samples in the same thread will re-use the same connection unless it
has been closed, in which case they will use a new one. In both cases,
there is only one connection active at a time.
When using the HttpClient sampler in JMeter, different threads will
never share the same connection, so the way to increase concurrent
connections is to use more threads.
> Now the final part of this awesome journey (thanks guys your the best!) is
> to get the server side OS to work and lower those TIME_WAIT!
TIME_WAIT is an essential part of the IP protocol; it protects against
delayed responses causing problems if the port is reused.
> I have Centos 5.4? but i'm now starting to think I should go with NetBSD or
> FreeBSD.. anyways (this is beyond this mailling list so won't bug you guys
> on that).
>
> If anyone else is on the same boat as me right now, trying to find the max
> amount of connections their machine can handle, contact me, we can share
> resourse....
What are you trying to achieve? Connections are only part of the story.
> Peace
>
>
> William
>
>
>
> On Tue, Mar 16, 2010 at 7:18 AM, Deepak Goel <de...@gmail.com> wrote:
>
> > Hey William
> >
> > Guten Tag
> >
> > 1. Is the home and office networking environment the same?
> > 2. Can you please tell me what parameter are you recording? (connections?)
> >
> > Thank You
> > Deepak
> >
> > --
> > Keigu
> >
> > Deepak
> > +91-9765089593
> > deicool@gmail.com
> >
> > Skype: thumsupdeicool
> > Google talk: deicool
> > Blog: http://loveandfearless.wordpress.com
> >
> > Check out my Work at:
> > LinkedIn: http://in.linkedin.com/in/thumsupdeicool
> >
> > "Contribute to the world, environment and more :
> > http://www.gridrepublic.org
> > "
> >
> >
> > On Mon, Mar 15, 2010 at 9:16 PM, William Ottley <williamottley@gmail.com
> > >wrote:
> >
> > > Hi all,
> > > Just as the subject says. I have 2 different servers that i'm trying to
> > > test.
> > > Server#1 (at the office) is a dell PE2850 dual-xeon 3.2ghz with 4G ram
> > > machine #2 (at home) is a intel mini-itx with an Intel Core 2 2.66Ghz
> > > (Q9400S) with 4G ram
> > >
> > > Test enviornment:
> > > the webserver is lighttpd (i dropped apache, cause it was causing stupid
> > > SYN
> > > and open file errrors)
> > >
> > > the testing machines are:
> > > #1 macBookPro with 2G ram
> > > #2 linux Intel dual core 2.66ghz with 2GRam (Home where I test the
> > > mini-itx)
> > > #3 Dell Xeon system with 4G ram (Office where I test the PE2850
> > >
> > > So, the software I have up and running to verify everything is:
> > > a script that I run on the webserver to see the # of connections via the
> > > lighttpd server-status page
> > >
> > > and the jmeter files, which I will attach the config:
> > > http://pastebin.com/uErNkS7y
> > >
> > > Now there are 2 problems
> > > #1
> > > I run 8 jmeter instances at home with the testing machine #2 and laptop
> > #1
> > > if I'm right, ThreadGroup.num_threads: 1400 x 8 jmeter instances SHOULD
> > > give
> > > me 11,200 connections, right?
> > > BUT, the server-status only shows a max of 4983 connections
> > > There are NOW no errors, no time outs, no open files no SYN no anything.
> > so
> > > why the huge gap differences?
> > >
> > > #2
> > > When i'm at the office, the same test script is run, and I test the
> > server,
> > > and instead of getting something like 4500 connections, all i get is 350
> > to
> > > 400 connections!!! soooo i obivously don't understand something.
> > >
> > > can anyone help shed some light on this?
> > >
> > >
> > >
> > >
> > > On Sun, Mar 14, 2010 at 3:25 PM, Deepak Shetty <sh...@gmail.com>
> > wrote:
> > >
> > > > http://jakarta.apache.org/jmeter/usermanual/index.html
> > > > <http://jakarta.apache.org/jmeter/usermanual/index.html>After that you
> > > can
> > > > use Google .
> > > >
> > > > On Sun, Mar 14, 2010 at 2:41 AM, rpkishore <rp...@yahoo.com>
> > wrote:
> > > >
> > > > >
> > > > > Hi Everyone,
> > > > >
> > > > > Can anyone please tell me where to start in Jmeter tutorial, I'm new
> > to
> > > > > this
> > > > > tool, is there any website which can give brief step by step
> > > introduction
> > > > > to
> > > > > look into this tool with example.
> > > > >
> > > > > Thanks
> > > > > Kishore
> > > > > --
> > > > > View this message in context:
> > > > > http://old.nabble.com/Jmeter-Beginner-tp27893745p27893745.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
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Everything that has, did and will happen in your life, exists now, within
> > > you (William Ottley)
> > >
> > > Every universe is covered by seven layers — earth, water, fire, air, sky,
> > > the total energy and false ego — each ten times greater than the previous
> > > one. There are innumerable universes besides this one, and although they
> > > are
> > > unlimitedly large, they move about like atoms in You. Therefore You are
> > > called unlimited (Bhagavata Purana 6.16.37)
> > >
> >
>
>
>
>
> --
>
> Everything that has, did and will happen in your life, exists now, within
> you (William Ottley)
>
> Every universe is covered by seven layers — earth, water, fire, air, sky,
> the total energy and false ego — each ten times greater than the previous
> one. There are innumerable universes besides this one, and although they are
> unlimitedly large, they move about like atoms in You. Therefore You are
> called unlimited (Bhagavata Purana 6.16.37)
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: I thought i was starting to understand jmeter, then this
situation happens...
Posted by William Ottley <wi...@gmail.com>.
HI all,
Well I have a home AND office environment. so the difference really is the 2
different switches between the machines.
the office has a cisco, and the home, well linksys switch.
here is my new config:
http://pastebin.com/B50Nergb
Now I have come to realise that although it did increase the connections, I
changed some settings and they lowered. (I'll explain the settings in a
bit). I went to the webserver (home one) and decided to do a netstat, and
came to see the problem. too many TIME_WAIT:
[root@web1 ~]# netstat -ant |grep :80|wc -l
28555
[root@web1 ~]# netstat -ant |grep :80|grep ESTABLISHED|wc -l
7833
[root@web1 ~]# netstat -ant |grep :80|grep TIME_WAIT|wc -l
17581
[root@web1 ~]# netstat -ant |grep :80|grep FIN_WAIT2|wc -l
4162
So, in a nut shell jmeter is doing its job, sending all those threads! BUT,
now its the webserver side that has to be tweaked to take them all, etc.
I gave up on apache, and decided to install lighttpd: much better!!!!
Now the highest threads I got so far are:
Home machine: 10993
office machine: 8518
I think there's only a few things now that could be tweaked on jmeter, but i
think we can all agree that its doing a great job!
Back to the changes.
When you add a HTTP Request HTTPClient (thanks SEBB!)
it comes with these 2 settings already checked:
Redirect Automatically = true
Use KeepAlive = true
When I went home, and did my first test (after increasing the connections
variable on lighttpd), I got the 10993.
I then went and changed the config to false for both the redirect and the
keepalive, and my threads went really low, like 7000, 9000
so i'll be reading up on the keepalive part. If all I want to do is create
the most amount of connections, do I have more HTTPClient samples, or have
more Thread Groups? (still can't figure that out).
Now the final part of this awesome journey (thanks guys your the best!) is
to get the server side OS to work and lower those TIME_WAIT!
I have Centos 5.4? but i'm now starting to think I should go with NetBSD or
FreeBSD.. anyways (this is beyond this mailling list so won't bug you guys
on that).
If anyone else is on the same boat as me right now, trying to find the max
amount of connections their machine can handle, contact me, we can share
resourse....
Peace
William
On Tue, Mar 16, 2010 at 7:18 AM, Deepak Goel <de...@gmail.com> wrote:
> Hey William
>
> Guten Tag
>
> 1. Is the home and office networking environment the same?
> 2. Can you please tell me what parameter are you recording? (connections?)
>
> Thank You
> Deepak
>
> --
> Keigu
>
> Deepak
> +91-9765089593
> deicool@gmail.com
>
> Skype: thumsupdeicool
> Google talk: deicool
> Blog: http://loveandfearless.wordpress.com
>
> Check out my Work at:
> LinkedIn: http://in.linkedin.com/in/thumsupdeicool
>
> "Contribute to the world, environment and more :
> http://www.gridrepublic.org
> "
>
>
> On Mon, Mar 15, 2010 at 9:16 PM, William Ottley <williamottley@gmail.com
> >wrote:
>
> > Hi all,
> > Just as the subject says. I have 2 different servers that i'm trying to
> > test.
> > Server#1 (at the office) is a dell PE2850 dual-xeon 3.2ghz with 4G ram
> > machine #2 (at home) is a intel mini-itx with an Intel Core 2 2.66Ghz
> > (Q9400S) with 4G ram
> >
> > Test enviornment:
> > the webserver is lighttpd (i dropped apache, cause it was causing stupid
> > SYN
> > and open file errrors)
> >
> > the testing machines are:
> > #1 macBookPro with 2G ram
> > #2 linux Intel dual core 2.66ghz with 2GRam (Home where I test the
> > mini-itx)
> > #3 Dell Xeon system with 4G ram (Office where I test the PE2850
> >
> > So, the software I have up and running to verify everything is:
> > a script that I run on the webserver to see the # of connections via the
> > lighttpd server-status page
> >
> > and the jmeter files, which I will attach the config:
> > http://pastebin.com/uErNkS7y
> >
> > Now there are 2 problems
> > #1
> > I run 8 jmeter instances at home with the testing machine #2 and laptop
> #1
> > if I'm right, ThreadGroup.num_threads: 1400 x 8 jmeter instances SHOULD
> > give
> > me 11,200 connections, right?
> > BUT, the server-status only shows a max of 4983 connections
> > There are NOW no errors, no time outs, no open files no SYN no anything.
> so
> > why the huge gap differences?
> >
> > #2
> > When i'm at the office, the same test script is run, and I test the
> server,
> > and instead of getting something like 4500 connections, all i get is 350
> to
> > 400 connections!!! soooo i obivously don't understand something.
> >
> > can anyone help shed some light on this?
> >
> >
> >
> >
> > On Sun, Mar 14, 2010 at 3:25 PM, Deepak Shetty <sh...@gmail.com>
> wrote:
> >
> > > http://jakarta.apache.org/jmeter/usermanual/index.html
> > > <http://jakarta.apache.org/jmeter/usermanual/index.html>After that you
> > can
> > > use Google .
> > >
> > > On Sun, Mar 14, 2010 at 2:41 AM, rpkishore <rp...@yahoo.com>
> wrote:
> > >
> > > >
> > > > Hi Everyone,
> > > >
> > > > Can anyone please tell me where to start in Jmeter tutorial, I'm new
> to
> > > > this
> > > > tool, is there any website which can give brief step by step
> > introduction
> > > > to
> > > > look into this tool with example.
> > > >
> > > > Thanks
> > > > Kishore
> > > > --
> > > > View this message in context:
> > > > http://old.nabble.com/Jmeter-Beginner-tp27893745p27893745.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
> > > >
> > > >
> > >
> >
> >
> >
> > --
> > Everything that has, did and will happen in your life, exists now, within
> > you (William Ottley)
> >
> > Every universe is covered by seven layers — earth, water, fire, air, sky,
> > the total energy and false ego — each ten times greater than the previous
> > one. There are innumerable universes besides this one, and although they
> > are
> > unlimitedly large, they move about like atoms in You. Therefore You are
> > called unlimited (Bhagavata Purana 6.16.37)
> >
>
--
Everything that has, did and will happen in your life, exists now, within
you (William Ottley)
Every universe is covered by seven layers — earth, water, fire, air, sky,
the total energy and false ego — each ten times greater than the previous
one. There are innumerable universes besides this one, and although they are
unlimitedly large, they move about like atoms in You. Therefore You are
called unlimited (Bhagavata Purana 6.16.37)
Re: I thought i was starting to understand jmeter, then this
situation happens...
Posted by Deepak Goel <de...@gmail.com>.
Hey William
Guten Tag
1. Is the home and office networking environment the same?
2. Can you please tell me what parameter are you recording? (connections?)
Thank You
Deepak
--
Keigu
Deepak
+91-9765089593
deicool@gmail.com
Skype: thumsupdeicool
Google talk: deicool
Blog: http://loveandfearless.wordpress.com
Check out my Work at:
LinkedIn: http://in.linkedin.com/in/thumsupdeicool
"Contribute to the world, environment and more : http://www.gridrepublic.org
"
On Mon, Mar 15, 2010 at 9:16 PM, William Ottley <wi...@gmail.com>wrote:
> Hi all,
> Just as the subject says. I have 2 different servers that i'm trying to
> test.
> Server#1 (at the office) is a dell PE2850 dual-xeon 3.2ghz with 4G ram
> machine #2 (at home) is a intel mini-itx with an Intel Core 2 2.66Ghz
> (Q9400S) with 4G ram
>
> Test enviornment:
> the webserver is lighttpd (i dropped apache, cause it was causing stupid
> SYN
> and open file errrors)
>
> the testing machines are:
> #1 macBookPro with 2G ram
> #2 linux Intel dual core 2.66ghz with 2GRam (Home where I test the
> mini-itx)
> #3 Dell Xeon system with 4G ram (Office where I test the PE2850
>
> So, the software I have up and running to verify everything is:
> a script that I run on the webserver to see the # of connections via the
> lighttpd server-status page
>
> and the jmeter files, which I will attach the config:
> http://pastebin.com/uErNkS7y
>
> Now there are 2 problems
> #1
> I run 8 jmeter instances at home with the testing machine #2 and laptop #1
> if I'm right, ThreadGroup.num_threads: 1400 x 8 jmeter instances SHOULD
> give
> me 11,200 connections, right?
> BUT, the server-status only shows a max of 4983 connections
> There are NOW no errors, no time outs, no open files no SYN no anything. so
> why the huge gap differences?
>
> #2
> When i'm at the office, the same test script is run, and I test the server,
> and instead of getting something like 4500 connections, all i get is 350 to
> 400 connections!!! soooo i obivously don't understand something.
>
> can anyone help shed some light on this?
>
>
>
>
> On Sun, Mar 14, 2010 at 3:25 PM, Deepak Shetty <sh...@gmail.com> wrote:
>
> > http://jakarta.apache.org/jmeter/usermanual/index.html
> > <http://jakarta.apache.org/jmeter/usermanual/index.html>After that you
> can
> > use Google .
> >
> > On Sun, Mar 14, 2010 at 2:41 AM, rpkishore <rp...@yahoo.com> wrote:
> >
> > >
> > > Hi Everyone,
> > >
> > > Can anyone please tell me where to start in Jmeter tutorial, I'm new to
> > > this
> > > tool, is there any website which can give brief step by step
> introduction
> > > to
> > > look into this tool with example.
> > >
> > > Thanks
> > > Kishore
> > > --
> > > View this message in context:
> > > http://old.nabble.com/Jmeter-Beginner-tp27893745p27893745.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
> > >
> > >
> >
>
>
>
> --
> Everything that has, did and will happen in your life, exists now, within
> you (William Ottley)
>
> Every universe is covered by seven layers — earth, water, fire, air, sky,
> the total energy and false ego — each ten times greater than the previous
> one. There are innumerable universes besides this one, and although they
> are
> unlimitedly large, they move about like atoms in You. Therefore You are
> called unlimited (Bhagavata Purana 6.16.37)
>
Re: I thought i was starting to understand jmeter, then this
situation happens...
Posted by William Ottley <wi...@gmail.com>.
BINGO!!!!! Thanks! man it spiked up!!! Deeply appreciate the knowledge you
gave me!
I would never have figured that out in a million years!
On Mon, Mar 15, 2010 at 1:18 PM, sebb <se...@gmail.com> wrote:
> On 15/03/2010, William Ottley <wi...@gmail.com> wrote:
> > ahhhhh you may be onto something!!!!
> > I did a netstat, while i was running the jmeter instances:
> >
> > [root@bmcache bin]# netstat -ant|grep :81 |wc -l
> > 136
> >
> >
> > and it seems that i'm sending out only a small amount of threads, BUT, I
> get
> > no errors in the jmeter.log file, or the individual log files of the
> jmeter
> > instances, all I get back is:
> >
> > httpSample t="1" lt="1" ts="1268671281609" s="true" lb="page get #5"
> > rc="200" rm="OK" tn="End User 1-1094" dt="text" by="2994"/>
> >
> >
> > so if there are no errors in jmeter.log file... where are all those
> 1400x8
> > threads going??? LOL
> >
>
> Which Http sampler are you using?
>
> The original (JVM implementation) offers no control over connection
> re-use, so perhaps the JMeter threads are reusing connections.
>
> Try using the HttpClient version of the sampler.
>
> >
> >
> > On Mon, Mar 15, 2010 at 12:42 PM, Deepak Shetty <sh...@gmail.com>
> wrote:
> >
> > > for the office webserver Jmeter shouldnt be the problem. You need to
> check
> > > jemter.log if you see anything , if not use netstat or something to
> check
> > > the number of open sockets and cpu/memory at the client , if this
> number
> > > is
> > > approx correct, then the problem must lie on the network or the
> > > configuration of the webserver
> > >
> > > On Mon, Mar 15, 2010 at 9:37 AM, William Ottley <
> williamottley@gmail.com
> > > >wrote:
> > >
> > > > Thanks a lot for your time. I really do appreciate it.
> > > > with regards to the pool of threads, you might be right! with
> regards to
> > > > the
> > > > home server:
> > > > server.max-fds = 10000
> > > > server.max-connections = 5000
> > > >
> > > > sooo that could be the reason! and I'll change that...
> > > >
> > > > but I still have the same webserver at the office, with typical
> cisco
> > > 2950
> > > > switches, and no errors to indicate if there is a bottleneck...
> > > > why have such a low threadcount.....
> > > >
> > > >
> > > >
> > > > On Mon, Mar 15, 2010 at 12:27 PM, Deepak Shetty <sh...@gmail.com>
> > > wrote:
> > > >
> > > > > #1 Most webservers have a pool for the number of threads which
> they
> > > will
> > > > > not
> > > > > exceed (and a backlog ). You might need to look up if thats the
> case
> > > for
> > > > > lighttpd. Running 11000 threads on a couple of client machines
> seems a
> > > > bit
> > > > > high, its possible that you arent able to concurrently generate
> this
> > > > load.
> > > > > Also some requests may have already completed or will be in the
> process
> > > > of
> > > > > being initiated at the client.
> > > > >
> > > > > #2 seems to be a problem with whatever machine / network you use .
> As
> > > > > before
> > > > > Jmeter can only flag HTTP erros by default. Did you look into the
> > > > > bin/jmeter.log to see if anything is there?
> > > > >
> > > > >
> > > > > On Mon, Mar 15, 2010 at 8:46 AM, William Ottley <
> > > williamottley@gmail.com
> > > > > >wrote:
> > > > >
> > > > > > Hi all,
> > > > > > Just as the subject says. I have 2 different servers that i'm
> trying
> > > to
> > > > > > test.
> > > > > > Server#1 (at the office) is a dell PE2850 dual-xeon 3.2ghz with
> 4G
> > > ram
> > > > > > machine #2 (at home) is a intel mini-itx with an Intel Core 2
> 2.66Ghz
> > > > > > (Q9400S) with 4G ram
> > > > > >
> > > > > > Test enviornment:
> > > > > > the webserver is lighttpd (i dropped apache, cause it was
> causing
> > > > stupid
> > > > > > SYN
> > > > > > and open file errrors)
> > > > > >
> > > > > > the testing machines are:
> > > > > > #1 macBookPro with 2G ram
> > > > > > #2 linux Intel dual core 2.66ghz with 2GRam (Home where I test
> the
> > > > > > mini-itx)
> > > > > > #3 Dell Xeon system with 4G ram (Office where I test the PE2850
> > > > > >
> > > > > > So, the software I have up and running to verify everything is:
> > > > > > a script that I run on the webserver to see the # of connections
> via
> > > > the
> > > > > > lighttpd server-status page
> > > > > >
> > > > > > and the jmeter files, which I will attach the config:
> > > > > > http://pastebin.com/uErNkS7y
> > > > > >
> > > > > > Now there are 2 problems
> > > > > > #1
> > > > > > I run 8 jmeter instances at home with the testing machine #2 and
> > > laptop
> > > > > #1
> > > > > > if I'm right, ThreadGroup.num_threads: 1400 x 8 jmeter instances
> > > SHOULD
> > > > > > give
> > > > > > me 11,200 connections, right?
> > > > > > BUT, the server-status only shows a max of 4983 connections
> > > > > > There are NOW no errors, no time outs, no open files no SYN no
> > > > anything.
> > > > > so
> > > > > > why the huge gap differences?
> > > > > >
> > > > > > #2
> > > > > > When i'm at the office, the same test script is run, and I test
> the
> > > > > server,
> > > > > > and instead of getting something like 4500 connections, all i
> get is
> > > > 350
> > > > > to
> > > > > > 400 connections!!! soooo i obivously don't understand something.
> > > > > >
> > > > > > can anyone help shed some light on this?
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Sun, Mar 14, 2010 at 3:25 PM, Deepak Shetty <
> shettyd@gmail.com>
> > > > > wrote:
> > > > > >
> > > > > > > http://jakarta.apache.org/jmeter/usermanual/index.html
> > > > > > > <http://jakarta.apache.org/jmeter/usermanual/index.html>After
> that
> > > > you
> > > > > > can
> > > > > > > use Google .
> > > > > > >
> > > > > > > On Sun, Mar 14, 2010 at 2:41 AM, rpkishore <
> rpkishore@yahoo.com>
> > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > Hi Everyone,
> > > > > > > >
> > > > > > > > Can anyone please tell me where to start in Jmeter tutorial,
> I'm
> > > > new
> > > > > to
> > > > > > > > this
> > > > > > > > tool, is there any website which can give brief step by step
> > > > > > introduction
> > > > > > > > to
> > > > > > > > look into this tool with example.
> > > > > > > >
> > > > > > > > Thanks
> > > > > > > > Kishore
> > > > > > > > --
> > > > > > > > View this message in context:
> > > > > > > >
> http://old.nabble.com/Jmeter-Beginner-tp27893745p27893745.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
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Everything that has, did and will happen in your life, exists
> now,
> > > > within
> > > > > > you (William Ottley)
> > > > > >
> > > > > > Every universe is covered by seven layers — earth, water, fire,
> air,
> > > > sky,
> > > > > > the total energy and false ego — each ten times greater than the
> > > > previous
> > > > > > one. There are innumerable universes besides this one, and
> although
> > > > they
> > > > > > are
> > > > > > unlimitedly large, they move about like atoms in You. Therefore
> You
> > > are
> > > > > > called unlimited (Bhagavata Purana 6.16.37)
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Everything that has, did and will happen in your life, exists now,
> within
> > > > you (William Ottley)
> > > >
> > > > Every universe is covered by seven layers — earth, water, fire, air,
> sky,
> > > > the total energy and false ego — each ten times greater than the
> previous
> > > > one. There are innumerable universes besides this one, and although
> they
> > > > are
> > > > unlimitedly large, they move about like atoms in You. Therefore You
> are
> > > > called unlimited (Bhagavata Purana 6.16.37)
> > > >
> > >
> >
> >
> >
> >
> > --
> >
> > Everything that has, did and will happen in your life, exists now, within
> > you (William Ottley)
> >
> > Every universe is covered by seven layers — earth, water, fire, air,
> sky,
> > the total energy and false ego — each ten times greater than the
> previous
> > one. There are innumerable universes besides this one, and although they
> are
> > unlimitedly large, they move about like atoms in You. Therefore You are
> > called unlimited (Bhagavata Purana 6.16.37)
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
--
Everything that has, did and will happen in your life, exists now, within
you (William Ottley)
Every universe is covered by seven layers — earth, water, fire, air, sky,
the total energy and false ego — each ten times greater than the previous
one. There are innumerable universes besides this one, and although they are
unlimitedly large, they move about like atoms in You. Therefore You are
called unlimited (Bhagavata Purana 6.16.37)
Re: I thought i was starting to understand jmeter, then this
situation happens...
Posted by sebb <se...@gmail.com>.
On 15/03/2010, William Ottley <wi...@gmail.com> wrote:
> ahhhhh you may be onto something!!!!
> I did a netstat, while i was running the jmeter instances:
>
> [root@bmcache bin]# netstat -ant|grep :81 |wc -l
> 136
>
>
> and it seems that i'm sending out only a small amount of threads, BUT, I get
> no errors in the jmeter.log file, or the individual log files of the jmeter
> instances, all I get back is:
>
> httpSample t="1" lt="1" ts="1268671281609" s="true" lb="page get #5"
> rc="200" rm="OK" tn="End User 1-1094" dt="text" by="2994"/>
>
>
> so if there are no errors in jmeter.log file... where are all those 1400x8
> threads going??? LOL
>
Which Http sampler are you using?
The original (JVM implementation) offers no control over connection
re-use, so perhaps the JMeter threads are reusing connections.
Try using the HttpClient version of the sampler.
>
>
> On Mon, Mar 15, 2010 at 12:42 PM, Deepak Shetty <sh...@gmail.com> wrote:
>
> > for the office webserver Jmeter shouldnt be the problem. You need to check
> > jemter.log if you see anything , if not use netstat or something to check
> > the number of open sockets and cpu/memory at the client , if this number
> > is
> > approx correct, then the problem must lie on the network or the
> > configuration of the webserver
> >
> > On Mon, Mar 15, 2010 at 9:37 AM, William Ottley <williamottley@gmail.com
> > >wrote:
> >
> > > Thanks a lot for your time. I really do appreciate it.
> > > with regards to the pool of threads, you might be right! with regards to
> > > the
> > > home server:
> > > server.max-fds = 10000
> > > server.max-connections = 5000
> > >
> > > sooo that could be the reason! and I'll change that...
> > >
> > > but I still have the same webserver at the office, with typical cisco
> > 2950
> > > switches, and no errors to indicate if there is a bottleneck...
> > > why have such a low threadcount.....
> > >
> > >
> > >
> > > On Mon, Mar 15, 2010 at 12:27 PM, Deepak Shetty <sh...@gmail.com>
> > wrote:
> > >
> > > > #1 Most webservers have a pool for the number of threads which they
> > will
> > > > not
> > > > exceed (and a backlog ). You might need to look up if thats the case
> > for
> > > > lighttpd. Running 11000 threads on a couple of client machines seems a
> > > bit
> > > > high, its possible that you arent able to concurrently generate this
> > > load.
> > > > Also some requests may have already completed or will be in the process
> > > of
> > > > being initiated at the client.
> > > >
> > > > #2 seems to be a problem with whatever machine / network you use . As
> > > > before
> > > > Jmeter can only flag HTTP erros by default. Did you look into the
> > > > bin/jmeter.log to see if anything is there?
> > > >
> > > >
> > > > On Mon, Mar 15, 2010 at 8:46 AM, William Ottley <
> > williamottley@gmail.com
> > > > >wrote:
> > > >
> > > > > Hi all,
> > > > > Just as the subject says. I have 2 different servers that i'm trying
> > to
> > > > > test.
> > > > > Server#1 (at the office) is a dell PE2850 dual-xeon 3.2ghz with 4G
> > ram
> > > > > machine #2 (at home) is a intel mini-itx with an Intel Core 2 2.66Ghz
> > > > > (Q9400S) with 4G ram
> > > > >
> > > > > Test enviornment:
> > > > > the webserver is lighttpd (i dropped apache, cause it was causing
> > > stupid
> > > > > SYN
> > > > > and open file errrors)
> > > > >
> > > > > the testing machines are:
> > > > > #1 macBookPro with 2G ram
> > > > > #2 linux Intel dual core 2.66ghz with 2GRam (Home where I test the
> > > > > mini-itx)
> > > > > #3 Dell Xeon system with 4G ram (Office where I test the PE2850
> > > > >
> > > > > So, the software I have up and running to verify everything is:
> > > > > a script that I run on the webserver to see the # of connections via
> > > the
> > > > > lighttpd server-status page
> > > > >
> > > > > and the jmeter files, which I will attach the config:
> > > > > http://pastebin.com/uErNkS7y
> > > > >
> > > > > Now there are 2 problems
> > > > > #1
> > > > > I run 8 jmeter instances at home with the testing machine #2 and
> > laptop
> > > > #1
> > > > > if I'm right, ThreadGroup.num_threads: 1400 x 8 jmeter instances
> > SHOULD
> > > > > give
> > > > > me 11,200 connections, right?
> > > > > BUT, the server-status only shows a max of 4983 connections
> > > > > There are NOW no errors, no time outs, no open files no SYN no
> > > anything.
> > > > so
> > > > > why the huge gap differences?
> > > > >
> > > > > #2
> > > > > When i'm at the office, the same test script is run, and I test the
> > > > server,
> > > > > and instead of getting something like 4500 connections, all i get is
> > > 350
> > > > to
> > > > > 400 connections!!! soooo i obivously don't understand something.
> > > > >
> > > > > can anyone help shed some light on this?
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On Sun, Mar 14, 2010 at 3:25 PM, Deepak Shetty <sh...@gmail.com>
> > > > wrote:
> > > > >
> > > > > > http://jakarta.apache.org/jmeter/usermanual/index.html
> > > > > > <http://jakarta.apache.org/jmeter/usermanual/index.html>After that
> > > you
> > > > > can
> > > > > > use Google .
> > > > > >
> > > > > > On Sun, Mar 14, 2010 at 2:41 AM, rpkishore <rp...@yahoo.com>
> > > > wrote:
> > > > > >
> > > > > > >
> > > > > > > Hi Everyone,
> > > > > > >
> > > > > > > Can anyone please tell me where to start in Jmeter tutorial, I'm
> > > new
> > > > to
> > > > > > > this
> > > > > > > tool, is there any website which can give brief step by step
> > > > > introduction
> > > > > > > to
> > > > > > > look into this tool with example.
> > > > > > >
> > > > > > > Thanks
> > > > > > > Kishore
> > > > > > > --
> > > > > > > View this message in context:
> > > > > > > http://old.nabble.com/Jmeter-Beginner-tp27893745p27893745.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
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Everything that has, did and will happen in your life, exists now,
> > > within
> > > > > you (William Ottley)
> > > > >
> > > > > Every universe is covered by seven layers — earth, water, fire, air,
> > > sky,
> > > > > the total energy and false ego — each ten times greater than the
> > > previous
> > > > > one. There are innumerable universes besides this one, and although
> > > they
> > > > > are
> > > > > unlimitedly large, they move about like atoms in You. Therefore You
> > are
> > > > > called unlimited (Bhagavata Purana 6.16.37)
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Everything that has, did and will happen in your life, exists now, within
> > > you (William Ottley)
> > >
> > > Every universe is covered by seven layers — earth, water, fire, air, sky,
> > > the total energy and false ego — each ten times greater than the previous
> > > one. There are innumerable universes besides this one, and although they
> > > are
> > > unlimitedly large, they move about like atoms in You. Therefore You are
> > > called unlimited (Bhagavata Purana 6.16.37)
> > >
> >
>
>
>
>
> --
>
> Everything that has, did and will happen in your life, exists now, within
> you (William Ottley)
>
> Every universe is covered by seven layers — earth, water, fire, air, sky,
> the total energy and false ego — each ten times greater than the previous
> one. There are innumerable universes besides this one, and although they are
> unlimitedly large, they move about like atoms in You. Therefore You are
> called unlimited (Bhagavata Purana 6.16.37)
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: I thought i was starting to understand jmeter, then this
situation happens...
Posted by William Ottley <wi...@gmail.com>.
ahhhhh you may be onto something!!!!
I did a netstat, while i was running the jmeter instances:
[root@bmcache bin]# netstat -ant|grep :81 |wc -l
136
and it seems that i'm sending out only a small amount of threads, BUT, I get
no errors in the jmeter.log file, or the individual log files of the jmeter
instances, all I get back is:
httpSample t="1" lt="1" ts="1268671281609" s="true" lb="page get #5"
rc="200" rm="OK" tn="End User 1-1094" dt="text" by="2994"/>
so if there are no errors in jmeter.log file... where are all those 1400x8
threads going??? LOL
On Mon, Mar 15, 2010 at 12:42 PM, Deepak Shetty <sh...@gmail.com> wrote:
> for the office webserver Jmeter shouldnt be the problem. You need to check
> jemter.log if you see anything , if not use netstat or something to check
> the number of open sockets and cpu/memory at the client , if this number
> is
> approx correct, then the problem must lie on the network or the
> configuration of the webserver
>
> On Mon, Mar 15, 2010 at 9:37 AM, William Ottley <williamottley@gmail.com
> >wrote:
>
> > Thanks a lot for your time. I really do appreciate it.
> > with regards to the pool of threads, you might be right! with regards to
> > the
> > home server:
> > server.max-fds = 10000
> > server.max-connections = 5000
> >
> > sooo that could be the reason! and I'll change that...
> >
> > but I still have the same webserver at the office, with typical cisco
> 2950
> > switches, and no errors to indicate if there is a bottleneck...
> > why have such a low threadcount.....
> >
> >
> >
> > On Mon, Mar 15, 2010 at 12:27 PM, Deepak Shetty <sh...@gmail.com>
> wrote:
> >
> > > #1 Most webservers have a pool for the number of threads which they
> will
> > > not
> > > exceed (and a backlog ). You might need to look up if thats the case
> for
> > > lighttpd. Running 11000 threads on a couple of client machines seems a
> > bit
> > > high, its possible that you arent able to concurrently generate this
> > load.
> > > Also some requests may have already completed or will be in the process
> > of
> > > being initiated at the client.
> > >
> > > #2 seems to be a problem with whatever machine / network you use . As
> > > before
> > > Jmeter can only flag HTTP erros by default. Did you look into the
> > > bin/jmeter.log to see if anything is there?
> > >
> > >
> > > On Mon, Mar 15, 2010 at 8:46 AM, William Ottley <
> williamottley@gmail.com
> > > >wrote:
> > >
> > > > Hi all,
> > > > Just as the subject says. I have 2 different servers that i'm trying
> to
> > > > test.
> > > > Server#1 (at the office) is a dell PE2850 dual-xeon 3.2ghz with 4G
> ram
> > > > machine #2 (at home) is a intel mini-itx with an Intel Core 2 2.66Ghz
> > > > (Q9400S) with 4G ram
> > > >
> > > > Test enviornment:
> > > > the webserver is lighttpd (i dropped apache, cause it was causing
> > stupid
> > > > SYN
> > > > and open file errrors)
> > > >
> > > > the testing machines are:
> > > > #1 macBookPro with 2G ram
> > > > #2 linux Intel dual core 2.66ghz with 2GRam (Home where I test the
> > > > mini-itx)
> > > > #3 Dell Xeon system with 4G ram (Office where I test the PE2850
> > > >
> > > > So, the software I have up and running to verify everything is:
> > > > a script that I run on the webserver to see the # of connections via
> > the
> > > > lighttpd server-status page
> > > >
> > > > and the jmeter files, which I will attach the config:
> > > > http://pastebin.com/uErNkS7y
> > > >
> > > > Now there are 2 problems
> > > > #1
> > > > I run 8 jmeter instances at home with the testing machine #2 and
> laptop
> > > #1
> > > > if I'm right, ThreadGroup.num_threads: 1400 x 8 jmeter instances
> SHOULD
> > > > give
> > > > me 11,200 connections, right?
> > > > BUT, the server-status only shows a max of 4983 connections
> > > > There are NOW no errors, no time outs, no open files no SYN no
> > anything.
> > > so
> > > > why the huge gap differences?
> > > >
> > > > #2
> > > > When i'm at the office, the same test script is run, and I test the
> > > server,
> > > > and instead of getting something like 4500 connections, all i get is
> > 350
> > > to
> > > > 400 connections!!! soooo i obivously don't understand something.
> > > >
> > > > can anyone help shed some light on this?
> > > >
> > > >
> > > >
> > > >
> > > > On Sun, Mar 14, 2010 at 3:25 PM, Deepak Shetty <sh...@gmail.com>
> > > wrote:
> > > >
> > > > > http://jakarta.apache.org/jmeter/usermanual/index.html
> > > > > <http://jakarta.apache.org/jmeter/usermanual/index.html>After that
> > you
> > > > can
> > > > > use Google .
> > > > >
> > > > > On Sun, Mar 14, 2010 at 2:41 AM, rpkishore <rp...@yahoo.com>
> > > wrote:
> > > > >
> > > > > >
> > > > > > Hi Everyone,
> > > > > >
> > > > > > Can anyone please tell me where to start in Jmeter tutorial, I'm
> > new
> > > to
> > > > > > this
> > > > > > tool, is there any website which can give brief step by step
> > > > introduction
> > > > > > to
> > > > > > look into this tool with example.
> > > > > >
> > > > > > Thanks
> > > > > > Kishore
> > > > > > --
> > > > > > View this message in context:
> > > > > > http://old.nabble.com/Jmeter-Beginner-tp27893745p27893745.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
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Everything that has, did and will happen in your life, exists now,
> > within
> > > > you (William Ottley)
> > > >
> > > > Every universe is covered by seven layers — earth, water, fire, air,
> > sky,
> > > > the total energy and false ego — each ten times greater than the
> > previous
> > > > one. There are innumerable universes besides this one, and although
> > they
> > > > are
> > > > unlimitedly large, they move about like atoms in You. Therefore You
> are
> > > > called unlimited (Bhagavata Purana 6.16.37)
> > > >
> > >
> >
> >
> >
> > --
> > Everything that has, did and will happen in your life, exists now, within
> > you (William Ottley)
> >
> > Every universe is covered by seven layers — earth, water, fire, air, sky,
> > the total energy and false ego — each ten times greater than the previous
> > one. There are innumerable universes besides this one, and although they
> > are
> > unlimitedly large, they move about like atoms in You. Therefore You are
> > called unlimited (Bhagavata Purana 6.16.37)
> >
>
--
Everything that has, did and will happen in your life, exists now, within
you (William Ottley)
Every universe is covered by seven layers — earth, water, fire, air, sky,
the total energy and false ego — each ten times greater than the previous
one. There are innumerable universes besides this one, and although they are
unlimitedly large, they move about like atoms in You. Therefore You are
called unlimited (Bhagavata Purana 6.16.37)
Re: I thought i was starting to understand jmeter, then this
situation happens...
Posted by Deepak Shetty <sh...@gmail.com>.
for the office webserver Jmeter shouldnt be the problem. You need to check
jemter.log if you see anything , if not use netstat or something to check
the number of open sockets and cpu/memory at the client , if this number is
approx correct, then the problem must lie on the network or the
configuration of the webserver
On Mon, Mar 15, 2010 at 9:37 AM, William Ottley <wi...@gmail.com>wrote:
> Thanks a lot for your time. I really do appreciate it.
> with regards to the pool of threads, you might be right! with regards to
> the
> home server:
> server.max-fds = 10000
> server.max-connections = 5000
>
> sooo that could be the reason! and I'll change that...
>
> but I still have the same webserver at the office, with typical cisco 2950
> switches, and no errors to indicate if there is a bottleneck...
> why have such a low threadcount.....
>
>
>
> On Mon, Mar 15, 2010 at 12:27 PM, Deepak Shetty <sh...@gmail.com> wrote:
>
> > #1 Most webservers have a pool for the number of threads which they will
> > not
> > exceed (and a backlog ). You might need to look up if thats the case for
> > lighttpd. Running 11000 threads on a couple of client machines seems a
> bit
> > high, its possible that you arent able to concurrently generate this
> load.
> > Also some requests may have already completed or will be in the process
> of
> > being initiated at the client.
> >
> > #2 seems to be a problem with whatever machine / network you use . As
> > before
> > Jmeter can only flag HTTP erros by default. Did you look into the
> > bin/jmeter.log to see if anything is there?
> >
> >
> > On Mon, Mar 15, 2010 at 8:46 AM, William Ottley <williamottley@gmail.com
> > >wrote:
> >
> > > Hi all,
> > > Just as the subject says. I have 2 different servers that i'm trying to
> > > test.
> > > Server#1 (at the office) is a dell PE2850 dual-xeon 3.2ghz with 4G ram
> > > machine #2 (at home) is a intel mini-itx with an Intel Core 2 2.66Ghz
> > > (Q9400S) with 4G ram
> > >
> > > Test enviornment:
> > > the webserver is lighttpd (i dropped apache, cause it was causing
> stupid
> > > SYN
> > > and open file errrors)
> > >
> > > the testing machines are:
> > > #1 macBookPro with 2G ram
> > > #2 linux Intel dual core 2.66ghz with 2GRam (Home where I test the
> > > mini-itx)
> > > #3 Dell Xeon system with 4G ram (Office where I test the PE2850
> > >
> > > So, the software I have up and running to verify everything is:
> > > a script that I run on the webserver to see the # of connections via
> the
> > > lighttpd server-status page
> > >
> > > and the jmeter files, which I will attach the config:
> > > http://pastebin.com/uErNkS7y
> > >
> > > Now there are 2 problems
> > > #1
> > > I run 8 jmeter instances at home with the testing machine #2 and laptop
> > #1
> > > if I'm right, ThreadGroup.num_threads: 1400 x 8 jmeter instances SHOULD
> > > give
> > > me 11,200 connections, right?
> > > BUT, the server-status only shows a max of 4983 connections
> > > There are NOW no errors, no time outs, no open files no SYN no
> anything.
> > so
> > > why the huge gap differences?
> > >
> > > #2
> > > When i'm at the office, the same test script is run, and I test the
> > server,
> > > and instead of getting something like 4500 connections, all i get is
> 350
> > to
> > > 400 connections!!! soooo i obivously don't understand something.
> > >
> > > can anyone help shed some light on this?
> > >
> > >
> > >
> > >
> > > On Sun, Mar 14, 2010 at 3:25 PM, Deepak Shetty <sh...@gmail.com>
> > wrote:
> > >
> > > > http://jakarta.apache.org/jmeter/usermanual/index.html
> > > > <http://jakarta.apache.org/jmeter/usermanual/index.html>After that
> you
> > > can
> > > > use Google .
> > > >
> > > > On Sun, Mar 14, 2010 at 2:41 AM, rpkishore <rp...@yahoo.com>
> > wrote:
> > > >
> > > > >
> > > > > Hi Everyone,
> > > > >
> > > > > Can anyone please tell me where to start in Jmeter tutorial, I'm
> new
> > to
> > > > > this
> > > > > tool, is there any website which can give brief step by step
> > > introduction
> > > > > to
> > > > > look into this tool with example.
> > > > >
> > > > > Thanks
> > > > > Kishore
> > > > > --
> > > > > View this message in context:
> > > > > http://old.nabble.com/Jmeter-Beginner-tp27893745p27893745.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
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Everything that has, did and will happen in your life, exists now,
> within
> > > you (William Ottley)
> > >
> > > Every universe is covered by seven layers — earth, water, fire, air,
> sky,
> > > the total energy and false ego — each ten times greater than the
> previous
> > > one. There are innumerable universes besides this one, and although
> they
> > > are
> > > unlimitedly large, they move about like atoms in You. Therefore You are
> > > called unlimited (Bhagavata Purana 6.16.37)
> > >
> >
>
>
>
> --
> Everything that has, did and will happen in your life, exists now, within
> you (William Ottley)
>
> Every universe is covered by seven layers — earth, water, fire, air, sky,
> the total energy and false ego — each ten times greater than the previous
> one. There are innumerable universes besides this one, and although they
> are
> unlimitedly large, they move about like atoms in You. Therefore You are
> called unlimited (Bhagavata Purana 6.16.37)
>
Re: I thought i was starting to understand jmeter, then this
situation happens...
Posted by William Ottley <wi...@gmail.com>.
Thanks a lot for your time. I really do appreciate it.
with regards to the pool of threads, you might be right! with regards to the
home server:
server.max-fds = 10000
server.max-connections = 5000
sooo that could be the reason! and I'll change that...
but I still have the same webserver at the office, with typical cisco 2950
switches, and no errors to indicate if there is a bottleneck...
why have such a low threadcount.....
On Mon, Mar 15, 2010 at 12:27 PM, Deepak Shetty <sh...@gmail.com> wrote:
> #1 Most webservers have a pool for the number of threads which they will
> not
> exceed (and a backlog ). You might need to look up if thats the case for
> lighttpd. Running 11000 threads on a couple of client machines seems a bit
> high, its possible that you arent able to concurrently generate this load.
> Also some requests may have already completed or will be in the process of
> being initiated at the client.
>
> #2 seems to be a problem with whatever machine / network you use . As
> before
> Jmeter can only flag HTTP erros by default. Did you look into the
> bin/jmeter.log to see if anything is there?
>
>
> On Mon, Mar 15, 2010 at 8:46 AM, William Ottley <williamottley@gmail.com
> >wrote:
>
> > Hi all,
> > Just as the subject says. I have 2 different servers that i'm trying to
> > test.
> > Server#1 (at the office) is a dell PE2850 dual-xeon 3.2ghz with 4G ram
> > machine #2 (at home) is a intel mini-itx with an Intel Core 2 2.66Ghz
> > (Q9400S) with 4G ram
> >
> > Test enviornment:
> > the webserver is lighttpd (i dropped apache, cause it was causing stupid
> > SYN
> > and open file errrors)
> >
> > the testing machines are:
> > #1 macBookPro with 2G ram
> > #2 linux Intel dual core 2.66ghz with 2GRam (Home where I test the
> > mini-itx)
> > #3 Dell Xeon system with 4G ram (Office where I test the PE2850
> >
> > So, the software I have up and running to verify everything is:
> > a script that I run on the webserver to see the # of connections via the
> > lighttpd server-status page
> >
> > and the jmeter files, which I will attach the config:
> > http://pastebin.com/uErNkS7y
> >
> > Now there are 2 problems
> > #1
> > I run 8 jmeter instances at home with the testing machine #2 and laptop
> #1
> > if I'm right, ThreadGroup.num_threads: 1400 x 8 jmeter instances SHOULD
> > give
> > me 11,200 connections, right?
> > BUT, the server-status only shows a max of 4983 connections
> > There are NOW no errors, no time outs, no open files no SYN no anything.
> so
> > why the huge gap differences?
> >
> > #2
> > When i'm at the office, the same test script is run, and I test the
> server,
> > and instead of getting something like 4500 connections, all i get is 350
> to
> > 400 connections!!! soooo i obivously don't understand something.
> >
> > can anyone help shed some light on this?
> >
> >
> >
> >
> > On Sun, Mar 14, 2010 at 3:25 PM, Deepak Shetty <sh...@gmail.com>
> wrote:
> >
> > > http://jakarta.apache.org/jmeter/usermanual/index.html
> > > <http://jakarta.apache.org/jmeter/usermanual/index.html>After that you
> > can
> > > use Google .
> > >
> > > On Sun, Mar 14, 2010 at 2:41 AM, rpkishore <rp...@yahoo.com>
> wrote:
> > >
> > > >
> > > > Hi Everyone,
> > > >
> > > > Can anyone please tell me where to start in Jmeter tutorial, I'm new
> to
> > > > this
> > > > tool, is there any website which can give brief step by step
> > introduction
> > > > to
> > > > look into this tool with example.
> > > >
> > > > Thanks
> > > > Kishore
> > > > --
> > > > View this message in context:
> > > > http://old.nabble.com/Jmeter-Beginner-tp27893745p27893745.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
> > > >
> > > >
> > >
> >
> >
> >
> > --
> > Everything that has, did and will happen in your life, exists now, within
> > you (William Ottley)
> >
> > Every universe is covered by seven layers — earth, water, fire, air, sky,
> > the total energy and false ego — each ten times greater than the previous
> > one. There are innumerable universes besides this one, and although they
> > are
> > unlimitedly large, they move about like atoms in You. Therefore You are
> > called unlimited (Bhagavata Purana 6.16.37)
> >
>
--
Everything that has, did and will happen in your life, exists now, within
you (William Ottley)
Every universe is covered by seven layers — earth, water, fire, air, sky,
the total energy and false ego — each ten times greater than the previous
one. There are innumerable universes besides this one, and although they are
unlimitedly large, they move about like atoms in You. Therefore You are
called unlimited (Bhagavata Purana 6.16.37)
Re: I thought i was starting to understand jmeter, then this
situation happens...
Posted by Deepak Shetty <sh...@gmail.com>.
#1 Most webservers have a pool for the number of threads which they will not
exceed (and a backlog ). You might need to look up if thats the case for
lighttpd. Running 11000 threads on a couple of client machines seems a bit
high, its possible that you arent able to concurrently generate this load.
Also some requests may have already completed or will be in the process of
being initiated at the client.
#2 seems to be a problem with whatever machine / network you use . As before
Jmeter can only flag HTTP erros by default. Did you look into the
bin/jmeter.log to see if anything is there?
On Mon, Mar 15, 2010 at 8:46 AM, William Ottley <wi...@gmail.com>wrote:
> Hi all,
> Just as the subject says. I have 2 different servers that i'm trying to
> test.
> Server#1 (at the office) is a dell PE2850 dual-xeon 3.2ghz with 4G ram
> machine #2 (at home) is a intel mini-itx with an Intel Core 2 2.66Ghz
> (Q9400S) with 4G ram
>
> Test enviornment:
> the webserver is lighttpd (i dropped apache, cause it was causing stupid
> SYN
> and open file errrors)
>
> the testing machines are:
> #1 macBookPro with 2G ram
> #2 linux Intel dual core 2.66ghz with 2GRam (Home where I test the
> mini-itx)
> #3 Dell Xeon system with 4G ram (Office where I test the PE2850
>
> So, the software I have up and running to verify everything is:
> a script that I run on the webserver to see the # of connections via the
> lighttpd server-status page
>
> and the jmeter files, which I will attach the config:
> http://pastebin.com/uErNkS7y
>
> Now there are 2 problems
> #1
> I run 8 jmeter instances at home with the testing machine #2 and laptop #1
> if I'm right, ThreadGroup.num_threads: 1400 x 8 jmeter instances SHOULD
> give
> me 11,200 connections, right?
> BUT, the server-status only shows a max of 4983 connections
> There are NOW no errors, no time outs, no open files no SYN no anything. so
> why the huge gap differences?
>
> #2
> When i'm at the office, the same test script is run, and I test the server,
> and instead of getting something like 4500 connections, all i get is 350 to
> 400 connections!!! soooo i obivously don't understand something.
>
> can anyone help shed some light on this?
>
>
>
>
> On Sun, Mar 14, 2010 at 3:25 PM, Deepak Shetty <sh...@gmail.com> wrote:
>
> > http://jakarta.apache.org/jmeter/usermanual/index.html
> > <http://jakarta.apache.org/jmeter/usermanual/index.html>After that you
> can
> > use Google .
> >
> > On Sun, Mar 14, 2010 at 2:41 AM, rpkishore <rp...@yahoo.com> wrote:
> >
> > >
> > > Hi Everyone,
> > >
> > > Can anyone please tell me where to start in Jmeter tutorial, I'm new to
> > > this
> > > tool, is there any website which can give brief step by step
> introduction
> > > to
> > > look into this tool with example.
> > >
> > > Thanks
> > > Kishore
> > > --
> > > View this message in context:
> > > http://old.nabble.com/Jmeter-Beginner-tp27893745p27893745.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
> > >
> > >
> >
>
>
>
> --
> Everything that has, did and will happen in your life, exists now, within
> you (William Ottley)
>
> Every universe is covered by seven layers — earth, water, fire, air, sky,
> the total energy and false ego — each ten times greater than the previous
> one. There are innumerable universes besides this one, and although they
> are
> unlimitedly large, they move about like atoms in You. Therefore You are
> called unlimited (Bhagavata Purana 6.16.37)
>