You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2016/02/20 18:41:13 UTC
[Bug 58950] Regression in HTTP Request leading to
ConnectTimeoutException and bad throughpout
https://bz.apache.org/bugzilla/show_bug.cgi?id=58950
--- Comment #6 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Created attachment 33575
--> https://bz.apache.org/bugzilla/attachment.cgi?id=33575&action=edit
Test Plan that reproduces the issues with a Tomcat 8
Hi,
I have a strange issue which also occurs with 2.13 by the way.
Tomcat configuration:
apache-tomcat-8.0.30/webapps/ROOT/WEB-INF/web.xml contains:
<session-config>
<session-timeout>1</session-timeout>
</session-config>
setenv.sh in tomcat/bin contains:
export CATALINA_OPTS="-Xmx1024m -Xms1024m"
server.xml:
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
enableLookups="false"
keepAliveTimeout="2000"
minSpareThreads="25"
compression="off"
redirectPort="8443" />
When I run the test, I get a boost in CPU, then a pause (a thread dump shows
threads stuck:
java.lang.Thread.State: RUNNABLE
at java.net.PlainSocketImpl.socketConnect(Native Method)
at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
- locked <0x00000007a2804870> (a java.net.SocksSocketImpl)
Then after some time a new peak in CPU and then the pause....
JMeter config at defaults and Java options:
-server -Xms1024m -Xmx1024m -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -Xss256k
-Dcom.sun.management.jmxremote.port=3333
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false -XX:+UseThreadPriorities
-XX:ThreadPriorityPolicy=42 -verbose:gc -XX:+PrintGCDetails
-XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+PrintGCDetails
-XX:+PrintGCApplicationConcurrentTime -XX:+PrintGCApplicationStoppedTime
-XX:+PrintTenuringDistribution -XX:+PrintGCDetails -XX:+PrintHeapAtGC
-XX:+PrintGCCause -Xloggc:/data/jmeter/verbose-3.0.log
-Djava.net.preferIPv4Stack=true -Djava.net.preferIPv6Addresses=false
It could be my machine TCP configuration but could somebody check on Linux
machine ?
Thanks
--
You are receiving this mail because:
You are the assignee for the bug.