[Samba] Samba 3.0.14 (Debian Sarge) Memory Leakage

Andrew Morgan morgan at orst.edu
Mon Nov 20 20:32:45 GMT 2006


On Mon, 20 Nov 2006, it wrote:

> after the several command, I get the following result:
> top - 19:50:15 up 135 days,  9:48,  2 users,  load average: 0.16, 0.09, 0.03
> Tasks:  91 total,   1 running,  90 sleeping,   0 stopped,   0 zombie
> Cpu(s):  0.2% us,  0.2% sy,  0.0% ni, 99.1% id,  0.5% wa,  0.0% hi,  0.0% si
> Mem:   1036052k total,  1030300k used,     5752k free,   130232k buffers
> Swap:  2000052k total,     8564k used,  1991488k free,   736512k cached
>
>  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
> 14805 root      16   0 13380 7204 9980 S  0.0  0.7   0:01.41 /usr/sbin/smbd -D
> 14738 root      16   0 12848 6900 9772 S  0.0  0.7   0:06.26 /usr/sbin/smbd -D

<snip>

These numbers look good to me.  From the 'top' output above, it appears 
you have 1GB of RAM.  Approximately 850MB is being used for buffers and 
cache, which is what you want on a file server.

The memory actually being used by Samba is indicated by the VIRT, RES, and 
SHR columns of 'top'.  The numbers you posted are fairly typical for 
Samba.

 	Andy


More information about the samba mailing list