I have a Solaris 8 server running Samba and I am seeing an smb process using a lot of CPU time: nobody 14408 217 22 12:56:04 ? 4:27 /usr/local/samba/bin/smbd -D I have been hunting around but cannot find the reason for this. I can literally sit here and watch it clock up and up until I kill it, it respawns automatically and begins accumulating time again. Does anyone have any idea why?? Thanks in advance, Sam -------------- next part -------------- HTML attachment scrubbed and removed
No idea but smbstatus will show mounted shares and their pid. Joel On Mon, Nov 12, 2001 at 01:06:38PM +0000, SRudland@manu.com wrote:> I have a Solaris 8 server running Samba and I am seeing an smb process > using a lot of CPU time: > > nobody 14408 217 22 12:56:04 ? 4:27 /usr/local/samba/bin/smbd -D > > I have been hunting around but cannot find the reason for this. I can > literally sit here and watch it clock up and up until I kill it, it > respawns automatically and begins accumulating time again. Does anyone > have any idea why?? > > Thanks in advance, > > Sam
On Mon, 12 Nov 2001 SRudland@manu.com wrote:> I have a Solaris 8 server running Samba and I am seeing an smb process > using a lot of CPU time: > > nobody 14408 217 22 12:56:04 ? 4:27 /usr/local/samba/bin/smbd -D > > I have been hunting around but cannot find the reason for this. I can > literally sit here and watch it clock up and up until I kill it, it > respawns automatically and begins accumulating time again. Does anyone > have any idea why??Run truss on it. Are you running 2.2.2? cheers, jerry --------------------------------------------------------------------- www.samba.org SAMBA Team jerry_at_samba.org www.plainjoe.org jerry_at_plainjoe.org http://www.hp.com Hewlett-Packard --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
On Mon, 12 Nov 2001 SRudland@manu.com wrote:> I am running 2.0.7. I tried running truss and it showed that this process > is making one heck of a lot of "stat" system calls and most of the process > time was spent making the system calls. I guess the next thing to do is > work out what files it is trying to "stat" and take it from there.....Do you have a dircetory containing a large nunber of files (in the thousands)? It could be the case insentive matching checks. cheers, jerry --------------------------------------------------------------------- www.samba.org SAMBA Team jerry_at_samba.org www.plainjoe.org jerry_at_plainjoe.org http://www.hp.com Hewlett-Packard --"I never saved anything for the swim back." Ethan Hawk in Gattaca--