[Samba] high memory utilzation

Ramesh cfmx07 at yahoo.com
Wed Nov 11 14:17:02 MST 2009


When I run free -m,

then it outputs as below:

[root at localhost ~]# free -m
             total       used       free     shared    buffers     cached
Mem:          3804       2889        914          0        357       2210
-/+ buffers/cache:        321       3482
Swap:         2047          0       2047




--- On Wed, 11/11/09, John Drescher <drescherjm at gmail.com> wrote:

From: John Drescher <drescherjm at gmail.com>
Subject: Re: [Samba] high memory utilzation
To: "Ramesh" <cfmx07 at yahoo.com>
Cc: samba at lists.samba.org
Date: Wednesday, November 11, 2009, 4:11 PM

On Wed, Nov 11, 2009 at 3:53 PM, Ramesh <cfmx07 at yahoo.com> wrote:
> Hi
> I have a server running samba process and there
> are about 70 samba users connected at a time. The system has 4Gb of
> memory and it seems each samba process is utilizing only 3352Kb of
> memory.
>
>
>
> When I run the command
>
>
>
> pmap -d (pid of samba)
>
>
>
> It gives as:
>
>
>
> b7ffa000       4 rw-s- 0000000000000000 0fd:00003 messages.tdb
>
> bfe46000    1768 rw--- 00000000bfe46000 000:00000   [ stack ]
>
> ffffe000       4 r-x-- 0000000000000000 000:00000   [ anon ]
>
> mapped: 33384K    writeable/private: 3352K    shared: 20504K
>
>
>
>
>
>
>
> But when I run the top command, it results as below:
>
>
>
> Tasks: 163 total,   1 running, 162 sleeping,   0 stopped,   0 zombie
>
> Cpu(s):  0.9% us,  4.9% sy,  0.0% ni, 93.3% id,  0.8% wa,  0.2% hi,  0.0% si
>
> Mem:   3895444k total,  3163192k used,   732252k free,   352344k buffers
>
> Swap:  2097144k total,      208k used,  2096936k free,  2487636k cached
>
>
>
>
>
> Why could the system be utilizing such high memory ? Any ideas ??
>
>
>
> By the way, the server is not running other processes..
>
>
>
> The samba version running in it is 3.0.33-0.17
>
>

This is most likely disk cache

Post the output of

free -m

John



      


More information about the samba mailing list