On Thu, Feb 17, 2005, Haney John-CJH043 wrote: > I'm seeing the CPU usage increase when running a multi-threaded application > doing many connections. This appears to be a function of the number of > connections which have been established AND the rate at which new > connections are being established. The CPU graph is very clearly linear and > increasing. > > To better analyze this problem, I've removed polling and messaging from my > application (basically anything besides the SSL connections) and still see > this increase. >
I'd suggest enabling the standard OpenSSL memory leak detection and seeing the results when the application closes down. You'll need to cleanup the various static tables (see FAQ) to make the output more meaningful. After that see if the number of leaks grows over time. Using a debugger the precise location of any leaks can be traced. Steve. -- Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage OpenSSL project core developer and freelance consultant. Funding needed! Details on homepage. Homepage: http://www.drh-consultancy.demon.co.uk ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]