Mozilla-NSS community-
We have some questions regarding the usage of your NSS/NSPR libraries with
our (Cleversafe's) software. I collected these questions (from Jason Resch
and Wesley Leggette) below. Please let me know if this is not an
appropriate forum for these questions.
Thank you in advance for any help.
-Matt
Dispersed Storage: http://cleversafe.org
At 11/10/2006 02:01 PM, Jason Resch wrote:
>Our server process creates a listener socket for accepting new SSL
>connections. In testing for memory leaks one test we conducted was having
>a client continuously connect and disconnect from the server.
>What I noticed was that initially the memory usage of the server began to
>grow quickly (about .1% of system memory per connection), but this tapers
>off and becomes constant with our server process using around 8% of the
>system memory. My question is whether this is due to the arena free list
>as referenced here:
>
>http://groups.google.com/group/mozilla.dev.tech.crypto/browse_thread/thread/2bc2e75c06734965/b79656d99d39114d?lnk=st&q=NSS+memory+leak+ssl&rnum=27&hl=en#b79656d99d39114d
>
>I did attempt to set the environment variable: NSS_DISABLE_ARENA_FREE_LIST=1
>
>However it did not seem to have any noticeable effect on the
>aforementioned behavior. Is my experience with memory usage normal?
>And are there other methods for reducing the memory footprint when using
>NSS? Thanks.
At 11/10/2006 02:05 PM, Wesley Leggette wrote:
>Matt:
>
>1. NSPR threads
>
>Is it possible to do asynchronous cancellation of threads with NSPR? Yes,
>I know it is counter-intuitive; we plan on using this for failure unit tests.
>
>Is there an interface for detection of when a thread is joinable?
>
>Does anyone have experience using NSPR threads with boost mutexes, locks,
>conditions, and other boost::threads primitives?
>
>Is there an interface for thread specific pointers? Would boost thread
>specific pointers work with NSPR threads?
>
>Does the NSPR thread module support good cross-platform capability across
>WIN32, Unix, Linux, BSD, and Mac OS X? Are there any quirky portability
>issues?
>
>2. NSPR/NSS static compilation
>
>Does anyone have experience compiling NSS or NSPR statically on Windows or
>Unix? Does anyone have a patch for the build system that accomplishing this?
>
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto