Marlon, This is really important to get clear. You cannot load test one machine with one machine unless there is a large difference is performance between the server (small) and client (large). This is especially true of JMeter, which is not tuned for performance. A Apache linux server or Windows IIS server will totally and utterly outperform JMeter without breaking out a sweat. Further, if it is possible for one client machine to load your server significantly, you have an issue!
Please have this in mind when you are designing your test cases. Best wishes AJ On Sun, 2007-03-04 at 17:47 -0800, Marlon Santos wrote: > Hi, > > the problem still occurs.. i tried doing everything you said in the previous > previous post but to no avail. May I ask, is there a recommended or > preferred amount of virtual users and/or threads in running a test plan in > jmeter? because we are in dire need of large volumes of user simulation. And > about the multiple instances of JMeter that you suggested, is it alright if > it is in the same machine or it should be on different machines? If ever it > is alright on the SAME machine, will there be performance problems that may > affect the results? > > Regards, > Marlon > > > > sebb-2 wrote: > > > > Just realised that there is another possibility that might be > > affecting testing with lots of threads: > > > > The host might be running out of sockets or having problems releasing > > them. > > > > When the hang occurs, try starting a browser on the same host and see > > if you can connect to the server under test and/or some other server. > > > > S/// > > On 02/03/07, Marlon Santos <[EMAIL PROTECTED]> wrote: > >> > >> Ok thanks... I will be trying this and will be keeping you posted... > >> > >> > >> > >> > >> sebb-2 wrote: > >> > > >> > If it is JMeter, then we will either need a repeatable test-case to > >> > investigate further, or someone who is experiencing the problem may be > >> > able to gather some further data about the state of JMeter: e.g. are > >> > there any deadlocks? > >> > > >> > In answer to Marlon, I suggest you try: > >> > - removing all unnecessary Listeners. You should only need one. > >> > - running in non-GUI mode > >> > > >> > Both of these reduce the load on JMeter. > >> > > >> > If that does not solve the problem, then try using multiple JMeter > >> > instances. If you then still get hangs, it is unlikely to be JMeter > >> > that is at fault. > >> > > >> > S/// > >> > On 01/03/07, Alexander J Turner <[EMAIL PROTECTED]> wrote: > >> >> Nino, > >> >> > >> >> This is an issue that has cropped up in the past. In my experiance, > >> >> JMeter (and I am not convinced it is JMeter's fault - it could be to > >> do > >> >> with Java) hangs when there are a lot of threads. I have seen this > >> when > >> >> I know it is not the web server that is hanging, because I was > >> >> load-testing TAG, a web server that has a radically different approach > >> >> to the likes of Apache and IIS, and for which I could monitor all the > >> >> internals. I have also seen this on Linux and Window XP. > >> >> > >> >> I think the real issue is that no software works well with very large > >> >> numbers of threads. If you really want to run vast numbers of > >> >> concurrent actions, you need a non-blocking approach. Note, Apache > >> does > >> >> not uses non-blocking, but it does thread pooling, which results in > >> it > >> >> actually not handling large numbers of concurrent activities, it just > >> >> lets the OS queue them. > >> >> > >> >> The only real way to destruction test a web server is to have multiple > >> >> machines hitting it at once, you cannot expect a single machine > >> running > >> >> multiple virtual clients to do the job. > >> >> > > > > Unless the server does not handle multiple connections very well ...! > > > >> >> Best wishes > >> >> > >> >> AJ > >> >> > >> >> On Thu, 2007-03-01 at 09:42 +0100, Nino Wael wrote: > >> >> > This is pretty interesting..! > >> >> > > >> >> > We also experience something like that. My best guess rigth now are > >> >> that it's because the http server arent able to handle all those > >> requests > >> >> at the same time, and some of them does not get a response, hence the > >> >> hanging thread. > >> >> > > >> >> > What happens in your scenario if you abort the test (ctrl+.) and run > >> it > >> >> again. Is it the exact same number of threads that are hanging? > >> >> > > >> >> > regards Nino > >> >> > > >> >> > ________________________________ > >> >> > > >> >> > Fra: Marlon Santos [mailto:[EMAIL PROTECTED] > >> >> > Sendt: to 01-03-2007 02:30 > >> >> > Til: [email protected] > >> >> > Emne: Re: [Newbie] Thread won't die issue > >> >> > > >> >> > > >> >> > > >> >> > > >> >> > Hi, > >> >> > > >> >> > We are also experiencing the same thing. Actually we are in an > >> >> environment > >> >> > where we need to load test a website but when I was running the test > >> on > >> >> > small number of virtual users it works fine. But later on, when we > >> >> increased > >> >> > the number of virtual users at some point in time the threads > >> suddenly > >> >> > stopped responding, or may I say the threads hang. We are in a tight > >> >> > schedule so the faster this is resolved, the better it will be > >> >> > appreciated... > >> >> > > >> >> > Regards, > >> >> > Marlon > >> >> > -- > >> >> > View this message in context: > >> >> http://www.nabble.com/Thread-won%27t-die-issue-tf3059035.html#a9241968 > >> >> > Sent from the JMeter - User mailing list archive at Nabble.com. > >> >> > > >> >> > > >> >> > > >> --------------------------------------------------------------------- > >> >> > To unsubscribe, e-mail: [EMAIL PROTECTED] > >> >> > For additional commands, e-mail: [EMAIL PROTECTED] > >> >> > > >> >> > > >> >> > > >> >> > > >> >> > > >> --------------------------------------------------------------------- > >> >> > To unsubscribe, e-mail: [EMAIL PROTECTED] > >> >> > For additional commands, e-mail: [EMAIL PROTECTED] > >> >> -- > >> >> > >> >> ========================================== > >> >> Hard Core How-To's, Coding Techniques ETC. > >> >> --- http://nerds-central.blogspot.com! --- > >> >> Nerds Central welcomes nerds :-) > >> >> ========================================== > >> >> > >> >> > >> >> --------------------------------------------------------------------- > >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> >> For additional commands, e-mail: [EMAIL PROTECTED] > >> >> > >> >> > >> > > >> > --------------------------------------------------------------------- > >> > To unsubscribe, e-mail: [EMAIL PROTECTED] > >> > For additional commands, e-mail: [EMAIL PROTECTED] > >> > > >> > > >> > > >> > >> -- > >> View this message in context: > >> http://www.nabble.com/Thread-won%27t-die-issue-tf3059035.html#a9263341 > >> Sent from the JMeter - User mailing list archive at Nabble.com. > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- ========================================== Hard Core How-To's, Coding Techniques ETC. --- http://nerds-central.blogspot.com! --- Nerds Central welcomes nerds :-) ==========================================

