[Samba] How to reduce size of samba binaries

David Brodbeck DavidB at mail.interclean.com
Fri Mar 1 06:16:05 GMT 2002


Isn't most of that memory being shared between the various copies anyway?
"top" on my samba system shows me that while smbd uses roughly 2280K of
memory, about 1500K of that is shared.  I take that to mean that while a
single smbd would use 2280K, the memory cost of adding each additional new
smbd process is only about 700K.

Given that, I'm not sure if making the binary smaller on disk will actually
reduce your memory usage all that much.  One of the more knowledgable people
can correct me if I'm wrong.

-----Original Message-----
From: Jon Gerdes [mailto:GERDESJ at whl.co.uk]
Sent: Friday, March 01, 2002 7:42 AM
To: dennisvr at yahoo.com
Cc: samba at lists.samba.org; abartlet at pcug.org.au
Subject: Re: [Samba] How to reduce size of samba binaries


>>OK, it looks like this is a HEAD (Samba 3.0 alpha) only thing.  You
>>could add a similar thing to Samba 2.2 without much effort.

At the risk of not sounding like a programmer 8) ... How ?  I'm sure that
not much effort *is* involved but do we just recreate the lines from the
alpha ?  I currently have 421 connections on my Samba box (well it is Friday
afternoon - so most people have gone home) at 1.5Mb each that's a lot of
memory.

Cheers
Jon Gerdes


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list