[Samba] optimizing and scaling ntlm_auth

Louis Munro lmunro at inverse.ca
Tue Sep 9 16:12:34 MDT 2014


On 2014-09-09, at 5:52 , Volker Lendecke <Volker.Lendecke at SerNet.DE> wrote:
>> 
> 
> winbind *should* balance between all children, at least we
> have code to do this. If it does not work, there might be a
> bug or else it might be that 38 out of 39 children sit in
> requests that block against the DC. Then only one child is
> used because it's the only responsive one.
> 
> In that situation, can you figure out the call stack of an
> unused child? Fedora has a "gstack" script that might be
> helpful here.


Hi Volcker,
Here's a stack trace for a process that's idle. 
The process itself was forked off about 4 days ago and yet it does not seem to be doing anything.
It still has one connection open to the DC on port 445.

#gstack 25501

#0  0x00007f3e66c67218 in poll () from /lib64/libc.so.6
#1  0x00007f3e69995990 in sys_poll ()
#2  0x00007f3e699079aa in fork_domain_child ()
#3  0x00007f3e699087e5 in wb_child_request_trigger ()
#4  0x00007f3e699cf4ff in tevent_common_loop_immediate ()
#5  0x00007f3e699cd78c in run_events_poll ()
#6  0x00007f3e699cdef2 in s3_event_loop_once ()
#7  0x00007f3e699ce300 in _tevent_loop_once ()
#8  0x00007f3e698dff03 in main ()


Does that help?

Regards,
--
Louis Munro
lmunro at inverse.ca  ::  www.inverse.ca 
+1.514.447.4918 x125  :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org)




More information about the samba mailing list