Am 5. Juli 2017 10:13:25 MESZ schrieb Malith Jayasinghe <[email protected]>: >While testing with JMETER with fixed number of concurrent users, we >have >noticed that the number of open connections varies over time. Note that >we >have specified to re-use connections (i.e. keep alive = true). However, >it >seems that JMETER does not re-reuse connections rather close a >connection >and create a new connection each time This behavior is not noticed in >other >tools (e.g. WRK) > >We were wondering why this is the case? and if there is a way to fix >this >issue
Can you give us a bit more information, like the version of JMeter and some details of your test? In version 3.1 there was a bug that could lead to wrong keepalive behavior. See https://bz.apache.org/bugzilla/show_bug.cgi?id=60690 Regards, Felix > >The following are some results we get when we test with 2000 concurrent >users. > >*ubuntu@ip-x*:*~*$ ss -tn | grep :8080 | grep ESTAB | wc -l > >1710 > >*ubuntu@ip-x**~*$ ss -tn | grep :8080 | grep ESTAB | wc -l > >2000 > >*ubuntu@ip-x*:*~*$ ss -tn | grep :8080 | grep ESTAB | wc -l > >1900 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
