[Samba] extremely high %CPU and TIME

Tom Ryan tomryan at camlaw.rutgers.edu
Mon Oct 13 20:10:19 GMT 2003


Does anyone have any thoughts on this? Any things that I can try? I'm open 
to suggestions :)

Tom

On Thu, 9 Oct 2003, Tom Ryan wrote:

> Ok.. still researching this. should i try disabling kernel oplocks? also, 
> any thoughts on why it only happens to certain user processes?
> 
> could it be a corrupted file or patch level of their machine?
> 
> Tom
> 
> On Thu, 9 Oct 2003, Tom Ryan wrote:
> 
> > Looking around on the net, I saw that someone else had a similar issue 
> > when they were running all of their users behind terminal server. Our 
> > users are all behind two NAT'd firewalls.
> > 
> > Is it possible that there is some confusion going on? should I stop the 
> > service and remove locking.tdb? (that's what 14 references right?)
> > 
> > Thanks.
> > 
> > tom
> > 
> > On Wed, 8 Oct 2003, Tom Ryan wrote:
> > 
> > > 2.4.20-19.8 on redhat 8
> > > 
> > > strace reports 
> > > fcntl64(14, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=628, len=1}, 
> > > 0xbffff150) = 0
> > > fcntl64(14, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=632, len=1}, 
> > > 0xbffff150) = 0
> > > 
> > > over and over again (with different start points)
> > > 
> > > Tom
> > > 
> > > On Wed, 8 Oct 2003, Jeremy Allison wrote:
> > > 
> > > > On Wed, Oct 08, 2003 at 02:29:31PM -0400, Tom Ryan wrote:
> > > > > I have a samba box that has around 70 users on it at any given time.
> > > > > 
> > > > > When I run "ps axu" there are certain smbd processes (and usually always 
> > > > > by the same login) that look like
> > > > > 
> > > > > username 26126 39.4  0.1  6652 2912 ?        S    13:44  17:12 smbd -D
> > > > > 
> > > > > any ideas why CPU is running at 39.4??
> > > > 
> > > > What OS ? Try doing an strace on it to see what the process is doing.
> > > > 
> > > > Jeremy.
> > > > 
> > > 
> > > 
> > 
> > 
> 
> 

-- 
_______________________________________________________________________
Tom Ryan                                            Voice: 856-225-6361
Consulting System Administrator                       Fax: 856-969-7900
Rutgers School of Law - Camden




More information about the samba mailing list