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 and I see that use user is ipcsrv, the "guest user". If I do a smbstatus | grep 4923, I can see that the IPC$ is used : [root at coradm01-node1 ~]# smbstatus | grep 4923 4923 jld Utilisateurs m557 (10.217.6.3) jld 4923 m557 Mon May 10 07:59:30 2010 IPC$ 4923 m557 Mon May 10 08:38:07 2010 groupes 4923 m557 Mon May 10 08:38:00 2010 IPC$ 4923 m557 Mon May 10 12:32:30 2010 anyone can explain me how this IPC$ can appear ? Samba 3.3.10 RedHat Enterprise Linux 5.3 thanks St?phane Purnelle ----------------------------------- St?phane PURNELLE Admin. Syst?mes et R?seaux Service Informatique Corman S.A. Tel : 00 32 (0)87/342467
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 smbdThe "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
Yes, I can. Can you look the file, this is the output of the command smbcontrol 24429 pool-usage -t 60 St?phane ----------------------------------- 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 16:11 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 memory usage and IPC$ On Mon, May 10, 2010 at 03:57:55PM +0200, St?phane PURNELLE wrote:> > Stange thing, no output with the command smbcontrol 24429 pool-usageIt might timeout. Try smbcontrol 24429 pool-usage -t 60> If I execute the same command for the PID 19080, I have dataCan you show us the data? Volker -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: lge_pool_usage.txt URL: <http://lists.samba.org/pipermail/samba/attachments/20100510/374672f2/attachment.txt>
On Mon, May 10, 2010 at 04:22:28PM +0200, St?phane PURNELLE wrote:> Yes, I can. > Can you look the file, this is the output of the command smbcontrol 24429 > pool-usage -t 60Ok, this seems to be something real. 3.3.10 is not the fancy newest one. Can you try upgrading to 3.5.2? Alternatively, if your packages are official RHEL 5.3 packages, you might want to contact RedHat for support. Volker -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20100510/18cd512d/attachment-0001.pgp>
Volker, OK I take note, I will plan to update samba to samba 3.5.2. thanks 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> wrote on 10/05/2010 16:38:40:> Volker Lendecke <Volker.Lendecke at SerNet.DE> > 10/05/2010 16:38 > > 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 memory usage and IPC$ > > On Mon, May 10, 2010 at 04:22:28PM +0200, St?phane PURNELLE wrote: > > Yes, I can. > > Can you look the file, this is the output of the command smbcontrol24429> > pool-usage -t 60 > > Ok, this seems to be something real. > > 3.3.10 is not the fancy newest one. Can you try upgrading to > 3.5.2? > > Alternatively, if your packages are official RHEL 5.3 > packages, you might want to contact RedHat for support. > > Volker > [attachment "signature.asc" deleted by St?phane PURNELLE/COR/SOPARIND]
I have recently commissioned a box running RHEL5.4 and samba sernet 3.5.2 that is AD integrated. The other shares on the box seem to obey the "inherit acls" and "inherit permissions" flags as well as "force create mode" and "force directory mode", but not on the _homes_ directory. Has anyone experienced similar problems, and where should I start looking to troubleshoot this problem? Thanks, Andrew
On Mon, May 10, 2010 at 10:37:37AM -0600, Andrew Masterson wrote:> I have recently commissioned a box running RHEL5.4 and samba sernet > 3.5.2 that is AD integrated. > > The other shares on the box seem to obey the "inherit acls" and "inherit > permissions" flags as well as "force create mode" and "force directory > mode", but not on the _homes_ directory. > > Has anyone experienced similar problems, and where should I start > looking to troubleshoot this problem?Are the homes directories mounted via NFS, or have some other difference in their mount options ? Jeremy.
> > I have recently commissioned a box running RHEL5.4 and samba sernet > > 3.5.2 that is AD integrated. > > > > The other shares on the box seem to obey the "inherit acls" and"inherit> > permissions" flags as well as "force create mode" and "forcedirectory> > mode", but not on the _homes_ directory. > > > > Has anyone experienced similar problems, and where should I start > > looking to troubleshoot this problem?> Are the homes directories mounted via NFS, or have some other > difference in their mount options ?All of the shares are on the same logical volume disk, an etx4 local partition /dev/mapper/VolGroup00-LogVol01 on /data type ext4 (rw,user_xattr,acl) -=Andrew