[Samba] Samba memory usage and IPC$

Stéphane PURNELLE stephane.purnelle at corman.be
Mon May 10 07:57:55 MDT 2010


Hi Volker,

Stange thing, no output with the command smbcontrol 24429 pool-usage 

If I execute the same command for the PID 19080, I have data

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND 
19080 pym       15   0  197m  38m  17m S  1.7  1.0   1:56.07 smbd



thanks for your help

        Stéphane Purnelle

-----------------------------------
Stéphane PURNELLE                         Admin. Systèmes et Réseaux 
Service Informatique       Corman S.A.           Tel : 00 32 (0)87/342467



Volker Lendecke <Volker.Lendecke at SerNet.DE> 
10/05/2010 15:23
Veuillez répondre à
Volker.Lendecke at SerNet.DE


A
Stéphane PURNELLE <stephane.purnelle at corman.be>
cc
samba at lists.samba.org
Objet
Re: [Samba] Samba memoeur usage and IPC$






On Mon, May 10, 2010 at 12:34:34PM +0200, Stéphane PURNELLE wrote:
> Hi all,
> 
> I have a question about memory usage and IPC$ share.
> 
> I'am auditing the swap usage of my server because I already have a 
problem 
> with a full swap.
> I see that the smbd process take < 200Mo on swap : 
> 
> Example : 
> PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
> 24429 lge       15   0  197m  39m  14m S  0.3  1.0   0:15.17 smbd 
> 
> but some process use more than 200Mo
> 4923 ipcsrv    15   0  282m 121m  16m S 10.3  3.1   6:27.57 smbd

The "39m" and "121m" are what counts. They are very large.

Can you run

smbstatus 24429 pool-usage

and post the output somewhere?

In case, process "24429" does not exist anymore, please
replace this number with the process id of a large process.

Thanks,

Volker



More information about the samba mailing list