[Samba] Clearcase, Samba, and mnode values

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Sep 7 23:49:09 MDT 2011


On Wed, Sep 07, 2011 at 02:26:24PM -0700, Kathy wrote:
> >> It looks to me like I have a memory leak, and IBM is blaming Samba,
> >
> > Main question is: Do the smbd processes really consume all
> > that memory?
> >
> 
> I did see smbd processes increase in memory over time, but since I
> have never monitored smbd this closely before, I'm not sure if this is
> normal or not.  I was doing the following memory test every hour and I
> was seeing a general trend up in RSS size.
> 
> ps -e -o user,pid,rss,args | sort -b -k3,3n | awk '{print
> $1,$2,$3,$4}' | tail -n 20 >> /var/log/memory_usage.log
> 
> Here are a couple of smbd pids that were increasing over time, showing
> the trend I was seeing.  There were multiple smbd (typically around
> 18-20) running at the time.
> 
>        PID  RSS
> root 9402 4176 smbd
> root 9402 5364 smbd
> root 9402 5752 smbd
> root 9402 5752 smbd
> 
> root 9787 4124 smbd
> root 9787 4556 smbd
> root 9787 4560 smbd
> root 9787 7448 smbd
> root 9787 7460 smbd

That's a couple of megabytes overall. Trivial for 32GB RAM.
It really looks like someone else must be the main consumer.

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen


More information about the samba mailing list