[Samba] please help: smbd 100% cpu usage

lists at mhcsoftware.de lists at mhcsoftware.de
Sun Jun 20 19:44:32 GMT 2004


i've checked this, as there are only 2 users on the machine and only one of 
them uses windows it was not too difficult :-) all users in /etc/group do 
exist in /etc/passwd

--On Sonntag, Juni 20, 2004 19:39:45 +0200 Matthias Spork 
<hallo at matthiasspork.de> wrote:

| lists at mhcsoftware.de schrieb:
|
| > a unix group? a group with members where the users do not exist ?
|
|
| Jep. I had this Problem in our LDAP-Tree. Every time I added a
| domain-group to a local windows-group
| Samba gets up to 99%. I heard, this Bug is solved in Samba 305.
| matze
|
| > --On Sonntag, Juni 20, 2004 18:52:24 +0200 Matthias Spork
| > <hallo at matthiasspork.de> wrote:
| >
| > | Hello,
| > |
| > | check out, if you have a group, who has more members  then users on
| > | the system.
| > |
| > | matze
| > |
| > | Jason C. Waters schrieb:
| > |
| > | > 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
| > | >>
| > | >>
| > | >>
| >
| >
| >
|



-- 


Matthias Henze                matthias at mhcsoftware.de

Use PGP!! http://www.mhcsoftware.de/MatthiasHenze.asc
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
MHC SoftWare GmbH          voice: +49-(0)9533-92006-0
Fichtera 17                  fax: +49-(0)9533-92006-6
96274 Itzgrund/Germany    e-Mail: info at mhcsoftware.de
- - - - - - - - - - - - - - - - - - - - - - - - - - - -



More information about the samba mailing list