[Samba] 3.0.4: smbd's + nscd's = 100% CPU; load > 4

Dragan Krnic dkrnic at lycos.com
Fri Jul 2 12:02:04 GMT 2004


>>> the new 3.0.4 Samba installation seems to work find
>>> except that from time to time but at least a couple
>>> of times a day one or more smbd processes start
>>> running at 20%-40% CPU each and 6 nscd processes
>>> then share the remaining CPU power. System 70%-80%
>>> users the rest 20%-30%. Load rises fast to over 4.
>>> 
>>> I'm sure that each such process is just idling,
>>> but why does it engage so much nscd processing?
>>> 
>>> As soon as I kill the excessive smbd process(es)
>>> the situation drops to normal, i.e. load < 0,1
>>> no perceptible CPU%.
>>> 
>>> Does anyone know what's happening?
>> 
>> What does strace say ? Can you attach with gdb to
>> a CPU bound process and give a backtrace ?
> 
> Ah backtrace, to see the steps to the black hole?
> OK. Will do, sooen as I get back to office (tomorrow).

A pot watched never boils.
But as soon as it happens again, I'll consult
strace and gdb to see how and why it happens.


More information about the samba mailing list