Another leak: tls_new_client_session

Stefan Paetow Stefan.Paetow at jisc.ac.uk
Fri Mar 6 18:50:29 CET 2015


>  I’ll double-check that the sockets are cleaned up on exit.

Hi Alan,

I've uploaded a new log, valgrind-25k-tidc-nonstop.out, to the same location as before. 

This run used 25K tidc requests without a break. Between 9:26 and 17:34, RSS increased by around 3MB. That's roughly what I guess you'd expect if the sockets are reused all the time. I've now restarted the loop with a 15 second delay between results to let the server print the below before the next request kicks in again:

(159) Finished request
Waking up in 0.2 seconds.
Closing TLS socket from client port 48045
(0) >>> TLS 1.0 Alert [length 0002], warning close_notify 
Client has closed connection
Waking up in 0.2 seconds.
Waking up in 1.7 seconds.
 ... shutting down socket auth from client (127.0.0.1, 48045) -> (*, 2083, virtual-server=abfab-idp)
(159) <done>: Cleaning up request packet ID 0 with timestamp +342
Waking up in 2.9 seconds.
... cleaning up socket auth from client (127.0.0.1, 48045) -> (*, 2083, virtual-server=abfab-idp)
Ready to process requests

Between 17:34 and 17:40, using the --trace-origins=yes setting in valgrind, RSS grew from 265220 to 290064... Dunno if this is valgrind specifically that's blowing up memory usage so spectacularly, but the trend I'm seeing every time I do the ps check is similar to what we've seen before.

I'll check again later (I'm heading home now), and keep you in the loop.

Stefan Paetow
Moonshot Industry & Research Liaison Coordinator

t: +44 (0)1235 822 125
gpg: 0x3FCE5142
xmpp: stefanp at jabber.dev.ja.net
skype: stefan.paetow.janet
Lumen House, Library Avenue, Harwell Oxford, Didcot, OX11 0SG

jisc.ac.uk
 
Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800.
Jisc Collections and Janet Ltd. is a wholly owned Jisc subsidiary and a company limited by guarantee which is registered in England under Company No. number 2881024, VAT No. GB 197 0632 86. The registered office is: Lumen House, Library Avenue, Harwell, Didcot, Oxfordshire, OX11 0SG. T 01235 822200.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20150306/43c13717/attachment-0001.sig>


More information about the Freeradius-Devel mailing list