-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Gokul,
On 5/23/16 1:11 PM, Gokul wrote: > Hello, > > I have a webservice application deployed in Tomcat 7 and getting 6 > secs response time for method calls. > > Below is my environment information. > > Tomcat Version: Tomcat/7.0.69 Java Version : JRE7 OS: RHEL 6.7 > > So, everytime when a webservice method is called the total time > taken for each method is minimum 5 seconds. I am trying to find if > there is a specific Tomcat fine tuning that I need to follow. > > The webservice connects to Oracle JDBC 11G database and the same > version of webservice app running on IBM Websphere, connecting to > the same database is giving 400 ms as response time. Thread dump during the 5-second pause? Initial guesses: 1. DNS reverse-lookup taking a long time (disable DNS lookups) 2. Entropy exhaustion for crypto operations (improve entropy source) 3. Poorly-configured <Connector> with a 5-second HTTP keepalive timeout #2 usually brings everything to a halt, so that's unlikely to be the problem if your requests are always taking 5 seconds. #3 would only be a problem if you were using the BIO connector and all request-processor threads were in use. We will need more information to be able to help you. A thread dump is the best thing to evaluate. - -chris -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJXQ0CPAAoJEBzwKT+lPKRY5LEQALUsb/qJkrF6Z8ed0FYJeiPG 8iC1ChB/BP+VYvLuHUPV03n4Jn61ZEt8xDL0h3qc5dYp65HYvJ+rP8PN75iXd051 /IarSdPm6OjdK/aQapaFNxzGgMoPOGJVMWOXWZjWcxmlA66DwjLMXruPkuZfBcpr XCyHEymmbq1HAolNzSXJD62vGkoEVvILgWJtZ5cI9uuhxjzIIXOAoPkXqhX39H/i BsE1wkeIBVzE4ZI1KXWUCrTZE7Z/Towv/ZE4m/Tw9OyP4CJr5xuvM8LX6NLieLMq 6ESSYON47xaPEXF69t+Gc/inH0Wpth/UtgTCRiXCHqfcINht9HFzKjgjbsnNsIxC jCyo0VNi9DwSm/yhOEVPcE5Jdqr+1VuNTsz5mFBH/UzrGQC0ez/HkUKDgS7/bBvl tgFxfrJhOHWGVw9fGKAapf122IY1VeigKIj2xjW2bJlgtkxI93n+bN2BquAky7g/ T4oyhixtmWFXDwNWP6cjLEg/aquZfTLht6t+qYBwVUGkJFRW+50Y8L7zUwOcnp2l YE9tuduODGdLTtFDGNwagY0ei1P58ntM2MPiFby8kBV4KmzB7bHThDi+HhNJkZ0C 3V3ObZuDClMltA1RFhjMxXwXcXEC2YQXtMisz8Dwdoen6iAeZGy76B73L3D/yAHT KaVcAzgKdkiTPutkLyjk =EN9B -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org