jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: I thought i was starting to understand jmeter, then this situation happens...
Date Mon, 15 Mar 2010 17:18:26 GMT
On 15/03/2010, William Ottley <williamottley@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 <shettyd@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 <shettyd@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


Mime
View raw message