jmeter icon indicating copy to clipboard operation
jmeter copied to clipboard

When in low memory, threads become almost sequential and many errors occur

Open Yadoon opened this issue 1 year ago • 1 comments

Expected behavior

image this is my heap config : "${HEAP:="-Xms5g -Xmx5g -XX:MaxMetaspaceSize=1024m"}" This memory and CPU look very normal image this is part of runtime log image

Actual behavior

I want to know why I behave strangely under high pressure and if it can be resolved image image

Steps to reproduce the problem

there are my plugins image

JMeter Version

5.4.1

Java Version

java version "1.8.0_144" Java(TM) SE Runtime Environment (build 1.8.0_144-b01) Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)

OS Version

centos7

Yadoon avatar Jun 28 '24 04:06 Yadoon

It is hard to tell what exactly causes your problems. There are many things involved, which could go wrong. A few suggestions to look at:

  • If you suspect heap space limitations, have a look at the JVM statistics during the run. jstats, visualvm or jmc might help you detect those.
  • What I suspect is, that you ran out of other resources like tcp connections (on client, server or somewhere in between). That might lead to a synchronization of your simulated clients, which then might overload the target.
  • Try to connect to the server under test when those SocketExceptions occur. If you are not able to connect to the server too, than have a look at the server, is it overloaded?

FSchumacher avatar Jul 11 '24 13:07 FSchumacher