[Samba] extremely high %CPU and TIME
Tom Ryan
tomryan at camlaw.rutgers.edu
Wed Nov 19 20:14:02 GMT 2003
I've kept looking for an answer to this to no avail.. any ideas?
strace -p reveals
fcntl64(14, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=684, len=1},
0xbffff180) = 0
fcntl64(14, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=684, len=1},
0xbffff150) = 0
fcntl64(14, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=5676,
len=1}, 0xbffff160) = 0
fcntl64(14, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=684, len=1},
0xbffff150) = 0
fcntl64(14, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=688, len=1},
0xbffff150) = 0
fcntl64(14, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=688, len=1},
0xbffff150) = 0
fcntl64(16, F_SETLKW64, {type=F_RDLCK, whence=SEEK_SET, start=528, len=1},
0xbfffda40) = 0
fcntl64(16, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=528, len=1},
0xbfffda40) = 0
time(NULL) = 1069272774
fcntl64(16, F_SETLKW64, {type=F_RDLCK, whence=SEEK_SET, start=548, len=1},
0xbfffc8a0) = 0
fcntl64(16, F_SETLKW64, {type=F_UNLCK, whence=SEEK_SET, start=548, len=1},
0xbfffc8e0) = 0
thanks!
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