Memory usage pattern in openssl - limiting number connections in connections pool

2021-01-14 Thread Harish Kulkarni
my investigation.. it seems like this is not a memory leak as such but the way openssl allocates memory.. for each connection it looks like once the memory assigned ( like storage certificate ) is not freed.. I am not sure how this works if you point me to some document explaining memory usage within open

Re: BIO in memory usage....

2019-06-17 Thread Tomas Mraz
On Sun, 2019-06-16 at 12:11 +0200, Tobias Wolf wrote: > I`d like to understand how a memory bio can be reseted with the > internal read counter back to zero for further reusage. > > e.g. > I want to try to read first der and then pem > > d2i_X509 > > and then: > > PEM_read_X509 > > Then t

Re: BIO in memory usage....

2019-06-16 Thread J Decker
On Sun, Jun 16, 2019 at 3:17 AM Tobias Wolf wrote: > I`d like to understand how a memory bio can be reseted with the internal > read counter back to zero for further reusage. > > > > e.g. > > I want to try to read first der and then pem > > > > d2i_X509

BIO in memory usage....

2019-06-16 Thread Tobias Wolf
I`d like to understand how a memory bio can be reseted with the internal read counter back to zero for further reusage. e.g. I want to try to read first der and then pem d2i_X509 and then:

Re: [openssl-users] Reg : Openssl peak memory usage

2015-10-12 Thread Jakob Bohm
he trusted CA certificates in a single file requires them all to be loaded into memory. When using the openssl command line tool, the amount of memory used depends heavily on the command and data specified. In the end, there is no substitute for measuring the actual process memory usage during

[openssl-users] Reg : Openssl peak memory usage

2015-10-12 Thread Sindhu S. (sins)
Hi all, We are planning to run on openwrt router(Embedded device) and trying to understand the memory requirement. I would like to know, what's the run time memory ,peak memory . Please let me know ,if there is any documentation, tool , or command to do the same. Below are the details of ke

Re: Memory usage on openssl-0.9.8a/

2012-10-10 Thread Tristan Schmelcher
This might be helpful: http://comments.gmane.org/gmane.comp.encryption.openssl.devel/17743 On Mon, Oct 8, 2012 at 11:35 AM, Thirumal, Karthikeyan < kthiru...@inautix.co.in> wrote: > Team, > > We used "openssl-0.9.8a" version of openssl for the SSL communication, for > our desktop based TCP a

Memory usage on openssl-0.9.8a/

2012-10-08 Thread Thirumal, Karthikeyan
Team, We used "openssl-0.9.8a" version of openssl for the SSL communication, for our desktop based TCP application. When we enable it, looks like the memory growth was alarming around 30 times than normal which is really huge. Can someone throw lights on this version or any known memory leaks he

Re: CRL memory usage

2010-01-25 Thread Dr. Stephen Henson
On Mon, Jan 25, 2010, Vinod.Chaudhary wrote: > Hi, > > I want to know the memory usage of CRL file prior to loading ? > > Basically after call to function "d2i_X509_CRL_bio" to load large CRL file, > my free memory goes down drastically. I understand this behavior bec

CRL memory usage

2010-01-25 Thread Vinod.Chaudhary
Hi, I want to know the memory usage of CRL file prior to loading ? Basically after call to function "d2i_X509_CRL_bio" to load large CRL file, my free memory goes down drastically. I understand this behavior because openssl allocate the memory to load CRL. I want to understan

retrieve memory usage per session in jsp

2009-01-29 Thread Ajay Kumar
Hi Martin, I have this app running on tomcat + oc4j. The app is designed using simple j2ee and struts framework. I would like to watch/monitor how much memory is used per session at any given point of time. Basically i want to design a jsp just to monitor memory usage per session. If

Reducing OpenSSL per-session memory usage

2008-12-13 Thread Scott Gifford
ll to OPENSSL_malloc in freelist_extract, it gets called a few times, then is not called again while I'm bringing up my test connections. However, memory usage remains about the same; over 1K connections my process goes from 10MB RAM to 48MB RAM, about 38KB/connection. We're a bit stumped a

Re: Memory usage

2007-10-23 Thread jimmy bahuleyan
David Schwartz wrote: >> I have an application using openSSL version 0.9.7d. >> I am able to create 20,000 TLS connections, but my heap size >> is at 1.5GB. It looks like it is the SSL context. Is there anyway >> to reduce the memory fotprint? > > I'm not 100% sure I understand your question. But

RE: Memory usage

2007-10-23 Thread David Schwartz
> I have an application using openSSL version 0.9.7d. > I am able to create 20,000 TLS connections, but my heap size > is at 1.5GB. It looks like it is the SSL context. Is there anyway > to reduce the memory fotprint? I'm not 100% sure I understand your question. But if I understand it correctly,

Memory usage

2007-10-23 Thread Bloch, Jack (SNL US)
I have an application using openSSL version 0.9.7d. I am able to create 20,000 TLS connections, but my heap size is at 1.5GB. It looks like it is the SSL context. Is there anyway to reduce the memory fotprint? Please CC me directly on any responses

RE: SSL per session memory usage

2005-09-26 Thread Prashant Kumar
Martin,   Just one caution with changing the buffer sizes. During handshake, if the SSL engine gets a certificate chain, you should have space to handle it! If you do the changes I have done you may not even have to worry about changing the buffer sizes.   I use memory BIOS, and the way you free th

Re: SSL per session memory usage

2005-09-26 Thread Prashant Kumar
quot; to see how these buffers are allocated.   Hopefully, this is helpful. Please feel free to send me a mail if you have more questions.   - Prashant. Martin Del Vecchio <[EMAIL PROTECTED]> wrote: In May, you posted a series of messages to the openssl-dev mailing list about per-session memory us