[OpenAFS-devel] Sock memory leak

Jerry Lundström jerry.lundstrom@it.su.se
Mon, 02 Jan 2006 13:15:37 +0100


Hi,

We are running 1.2.13 on 6 machines (2.4.29) serving IMAP over AFS and
we have noticed large leaks in sock buffers. This means we need to
reboot the machines after ~2 month and I remember that someone sent a
mail saying an afs client should be rebooted after 200days and this can
be one of the reasons.

Looking at a machine that has been up around 40days we get this:

# cat /proc/slabinfo |grep sock
sock              320484 320484   1024 80121 80121    1 :  124   62

At the time of this check the machine had 700 open sockets and that
doesnt explain the 320meg memory allocated for socks.

Shutting down the IMAP server and AFS does not release anything.

Is this a known issue in 1.2.x and/or fixed in 1.4.x?

Regards,
Jerry

-- 
Jerry Lundström, System Developer
The Division of IT and media, Stockholm University, Sweden
+46 (0)8 16 19 99 / http://www.it.su.se