Skip to Content.
Sympa Menu

shibboleth-dev - Re: shibd 1.3 linux memory usage

Subject: Shibboleth Developers

List archive

Re: shibd 1.3 linux memory usage


Chronological Thread 
  • From: André Cruz <>
  • To:
  • Subject: Re: shibd 1.3 linux memory usage
  • Date: Fri, 4 Jan 2008 12:57:32 +0000

AHA! Finally.

I found the bug... It's in the libc sunrpc implementation...
I reported it here: http://sourceware.org/bugzilla/show_bug.cgi?id=5541

Valgrind gives good results with that patch applied.

Thanks for the help.

André

On 2008/01/03, at 19:57, Scott Cantor wrote:

The closest I get is:

==9218== 8,468,928 bytes in 1,044 blocks are definitely lost in loss
record 33 of 33
==9218== at 0x4A1BDEB: malloc (vg_replace_malloc.c:207)
==9218== by 0x62A9DD1: xprt_register (in /lib/libc-2.3.6.so)
==9218== by 0x62AAD51: makefd_xprt (in /lib/libc-2.3.6.so)

1044 is the number of times I ran the client.

That makes no sense, but then you know that already. I could understand the
library not auto-freeing some of the handles, but we know it's freeing some
of them or you wouldn't get the double-free warning.

Perhaps there's really just a leak in the Linux version...

We'd have to try on Solaris or Windows. I'll get to the Windows test, I'm
just deep into documentation work right now.

-- Scott






Archive powered by MHonArc 2.6.16.

Top of Page