DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=43054>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43054 Summary: SSLManager causes stress tests to saturate and crash Product: JMeter Version: 2.3.1 Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P3 Component: HTTP AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] When attempting stress tests consisting of several sequential HTTPS user login requests at a relatively high rate (e.g. 200 threads or more at a rate of 1 per second, i.e. a 200 second ramp-up period or less), I noticed that after some initial successful iterations all the successive authentications failed with timeout errors. By inspecting the code I found an apparent contradiction in the following method of the class org.apache.jmeter.util.SSLManager: /** * Static accessor for the SSLManager object. The SSLManager is a singleton. */ public static final SSLManager getInstance() { if (null == SSLManager.manager) { return new JsseSSLManager(SSLManager.sslProvider); } return SSLManager.manager; } As you can see, no caching is performed on the object SSLManager.manager (that remains unused), which causes high memory consumption and is likely to be the responsible of the observed faulty behaviour. By replacing return new JsseSSLManager(SSLManager.sslProvider); with SSLManager.manager = new JsseSSLManager(SSLManager.sslProvider); I could solve my issue. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
