[Pkg-samba-maint] Bug#520794: Bug#520794: samba: smbd memory usage always increase - memory leak
Peter Cordes
peter at cordes.ca
Tue Apr 14 21:35:08 UTC 2009
On Mon, Mar 23, 2009 at 06:26:49PM +0100, Christian Perrier wrote:
> Quoting Massimiliano Ferrero (m.ferrero at midhgard.it):
>
> > if you think it's necessary in the next days I could compile a modified
> > 3.2.5-4 with Volker patch, test on this customer and verify that the
> > problem disappears.
>
>
> That would be even more convincing that this bug is worth fixing *and*
> not risky, which is important to decide whether or not we fix it for
> lenny (this is a matter of interpretation whether it's important
> enough to warrant an update to lenny and the (always non null though
> apparently very very low) risk that we could introduce other bugs with
> that fix.
>
I was seeing memory leaks in Samba on my home server. (simple setup
with 1 win2k client.) I was wondering why my machine was feeling
slow, and I saw that smbd was using all my RAM: 300MB RSS, > 600MB
virtual size, on my 512MB PIII 500MHz. And my small swap partition
was mostly full. This is after only a week of having Samba running,
and this machine normally goes for months without reboots. This is a
showstopper bug for me, so I'm heavily in favour of updating stable.
Are there configurations where it doesn't leak, or are modern servers
supposed to have so much RAM and swap that it doesn't matter? The
latter is IMHO not a good enough argument to justify leaving it unfixed.
I compiled Samba packages for myself with bug_520794.patch (thanks
Christian). I'll keep an eye on it to see if it's still leaking.
ping me in a week if I forget to update this.
--
#define X(x,y) x##y
Peter Cordes ; e-mail: X(peter at cor , des.ca)
"The gods confound the man who first found out how to distinguish the hours!
Confound him, too, who in this place set up a sundial, to cut and hack
my day so wretchedly into small pieces!" -- Plautus, 200 BC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 359 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20090414/15d472d2/attachment-0001.pgp>
More information about the Pkg-samba-maint
mailing list