Sorry forgot to include the list.
From: Mike Gallamore <[EMAIL PROTECTED]>
Date: November 13, 2008 3:49:21 PM GMT+01:00
To: [EMAIL PROTECTED]
Subject: Re: [Samba] Samba memory usage - how big is it?

I didn't include the whole output which would be about a page. Yeah it is just a total of the columns. There is commands for excluding shared memory regions, "anonymously allocated" parts etc.

Yeah, probably is overkill for samba. We usually have about 16GB of RAM in use between samba and the filesystem stuff. We are using SAM QFS to handle hierarchal storage. There is a fair bit of non-sharing load on the system, typically we have 5 LTO 4 tape drives running either restoring or archiving data, and 3-10 processes scanning the arrays for changes that need archiving which use ~140MB each. At the moment showing a load of 28.5 on the system, busy busy :)
On Nov 13, 2008, at 3:38 PM, Volker Lendecke wrote:

On Thu, Nov 13, 2008 at 02:29:38PM +0100, Mike Gallamore wrote:
Similar on Solaris, they have a built in utility called pmap:

pmap <pid> gives output just about total virtual memory, ex:
FF3F6000       8K rwx--  /lib/ld.so.1
FF3FA000       8K rwxs-    [ anon ]
FFBE0000     128K rwx--    [ stack ]
total     29632K

pmap -x <pid> gives extended info ex:
FF3F6000       8       8       8       - rwx--  ld.so.1
FF3FA000       8       8       -       - rwxs-    [ anon ]
FFBE0000     128     128      64       - rwx--    [ stack ]
-------- ------- ------- ------- -------
total Kb   29632   26088    1584       -

We are currently running Samba 3.2.4 on our system. I can't remember
what our memory footprint was before we upgraded from 3.0.24. That
said, with the amount of RAM on our system we don't get more than 70%
RAM use at any time, even while driving 2 tape robots and 30
filesystem/raid arrays from the box.

Well, 32GB for just 117 users is just way over the top.
Samba alone should be able to work with a LOT less memory.
How does the Solaris pmap calculate the 29632k? Adding up
the numbers above that I end up at 144k which is probably
too little.

Volker


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

Reply via email to