[Samba] please help: smbd 100% cpu usage

Jason C. Waters jwaters at h2os.com
Sun Jun 20 13:33:06 GMT 2004


That look like your nmbd.  What about the log.norbert file and the 
log.smbd.  Try tail -n 500 filename, for each that will output the last 
500 lines of the file.  You don't keep your log level at 10 do you?  If 
you have a busy server this will peg your CPU.

Jason

lists at mhcsoftware.de wrote:

> next try - as i was not able to post the level 10 log as a mail 
> (180kb) i've put it here: <http://www.mhcsoftware.de/smbprob.txt>
>
> the machine names are:
>
> samba server: linux
> windows ME:   norbert
>
> perhaps some can suggest a solution ...
>
> TIA
> matthias
>
>
>
>
> --On Freitag, Juni 18, 2004 08:01:45 -0400 "Jason C. Waters" 
> <jwaters at h2os.com> wrote:
>
> | Set your log level to 10 and then send us the log for smbd and the
> | machine name.  Maybe that will tell us something.
> |
> | Jason
> |
> | lists at mhcsoftware.de wrote:
> |
> | > hi,
> | >
> | > i've a problem with samba 3.0.2. there is one windows ME client which
> | > used to work with out any problems. now, as soon as the user connects
> | > (sharelevel: user, or share - i've tried both) on smbd is forked 
> which
> | > causes 90 to 100% cpu load. when i stop samba (smbd/nmbd) this proces
> | > does not die i can only get rid of it whit a kill -9. with this no
> | > data can be transfered from or to the win ME client.
> | >
> | > this is what a level 2 log stats:
> | >
> | > [2004/06/16 16:28:44, 2] smbd/reply.c:reply_special(105)
> | >  netbios connect: name1=LINUX           name2=NORBERT
> | > [2004/06/16 16:28:44, 2] smbd/reply.c:reply_special(112)
> | >  netbios connect: local=linux remote=norbert, name type = 0
> | > [2004/06/16 16:28:44, 2] smbd/sesssetup.c:setup_new_vc_session(591)
> | >  setup_new_vc_session: New VC == 0, if NT4.x compatible we would 
> close
> | > all old resources.
> | > [2004/06/16 16:28:44, 2] auth/auth.c:check_ntlm_password(305)
> | >  check_ntlm_password:  authentication for user [NORBERT] -> [NORBERT]
> | > -> [norbert] succeeded
> | > [2004/06/16 16:28:44, 1] smbd/service.c:make_connection_snum(705)
> | >  norbert (192.168.0.4) connect to service windows initially as user
> | > norbert (uid=1000, gid=1000) (pid 10759)
> | >
> | > and top shows:
> | >
> | >  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
> | > 10759 norbert   25   0 10856 3652 8924 R 99.2  0.7   0:18.22 smbd
> | >
> | >
> | > any suggestions ?
> | >
> | > TIA
>
>
>



More information about the samba mailing list