[Samba] smbd 100% systemload

Ulrik Guenther ulrik at 00t.org
Fri Apr 1 07:39:13 GMT 2005


Heya,

nice to hear that I could (at least partially) help you.
The one 100%-taking smbd process, does it constantly take up 100%?
I am asking because we have sometimes the same problem, especially when 
somebody is printing large sketches from AutoCAD.
Have you already tried restarting Samba? Do you have any log files?

Regards,

Ulrik

Matthias Henze wrote:
> hi,
> 
> thanks for the reply. this solves the problem only partialy. by now, 
> i've no more userer porcesses causing this. at the moment i've one root 
> smbd that causes 100% system load ...
> 
> root      8668 60.8  0.1 10356 2972 ?        R    Mar31 1173:14 
> /usr/sbin/smbd -D
> 
> can some one please help? this is killing me ...
> 
> TIA
> matthias
> 
> 
> --On Dienstag, März 29, 2005 17:20:29 +0200 Ulrik Guenther 
> <ulrik at 00t.org> wrote:
> 
>> Heya,
>>
>> the growing number of smbd process and therewith the resulting 100% cpu
>> usage have their reason in samba not killing processes which are not used
>> anymore (since every client causes Samba to spawn a new process).
>> You can resolve this issue by putting
>>     deadtime = 60
>> into your smb.conf. This causes Samba to kill processes which are not
>> used anymore after 60 minutes which should be sufficient.
>> Hope I helped!
>>
>> Have a nice day,
>>
>> Ulrik
>>
>> Matthias Henze wrote:
>>
>>> hi,
>>>
>>> i've a debian sarge setup with samba 3.0.10 with ldap as SAM backend.
>>> every thing used to work as expected, but last week the machine went
>>> down. an analysis of the problem has showen, that with increasing uptime
>>> there is a growing number of smbd processes that caus 100% CPU
>>> utilation. tests have showen, that i can kill these processes without
>>> harming smb conecctivtiy. this is a workaround but no soulution.
>>>
>>> i've absolutely no idea what causes this and what i can/should do to
>>> track this down.
>>>
>>> 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
>>> - - - - - - - - - - - - - - - - - - - - - - - - - - -
>>
>>
> 
> 
> 
> 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