[Samba] smbd 100% systemload
Matthias Henze
lists at mhcsoftware.de
Fri Apr 1 08:10:42 GMT 2005
hi ulrik,
thanks for the reply.
--On Freitag, April 01, 2005 09:39:13 +0200 Ulrik Guenther <ulrik at 00t.org>
wrote:
> 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.
the smbd grped form ps output is at 60% for about 12 houres. on this
machine one process like these is no real harm as it's a dual xeon.
> Have you already tried restarting Samba?
yes, and these kind of proces are still there when i stop samba with the
initscript. i've to kill -9 them. i also can kill them while samba is
running. this is no harm to the system at all. i've no compalins when i do
this.
> Do you have any log files?
yes, but at the current loglevel i've only a fewl lines about the ldap
connections. i can increase the loglevel. but it will be hard to monitor
the system in a way, that allows me to get the exact point of time when one
process is running wild. so it will be hard to find a corelation of
logmessages an this point of time. but i will do my very best.
cheers
matthias
>
> 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
>> - - - - - - - - - - - - - - - - - - - - - - - - - - -
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/listinfo/samba
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