loop in run-events
boyang
boyang at suse.de
Wed Feb 11 00:12:55 MST 2009
Herb Lewis wrote:
> This is with samba 3.2.4
>
> I ran into a case where run_events seemed to be in an infinite loop.
> Here were the log messages that kept repeating. It seems the event
> never got cleared. ps showed the process that could not be contacted
> was in zombie state and do_sigchld was 1 but since run_event never
> finished the code to reap the child could not get called.
>
> The question is where should this event have been removed?
It is usually removed in the event handler, through the function
talloc_free(), the talloc destructor(it would be
timed_event_destructor()) will remove it.
>
> [2009/02/09 21:55:01, 0, pid=8860] PANIC: assert failed at
> freebsd_46_i386/release/build/samba/source/winbindd/winbin
> dd.c(718): state->response.result == WINBINDD_PENDING
> [2009/02/09 21:55:01, 0, pid=8860] PANIC: assert failed at
> freebsd_46_i386/release/build/samba/source/winbindd/winbin
> dd.c(623): event->flags == 0
> [2009/02/09 21:55:01, 10, pid=8860] Running event
> "async_request_timeout" 8638530
> [2009/02/09 21:55:01, 0, pid=8860] async_request_timeout_handler:
> child pid 15040 is not responding. Closing connecti
> on to it.
> [2009/02/09 21:55:01, 5, pid=8860] Could not receive async reply from
> child pid 15040
> [2009/02/09 21:55:01, 5, pid=8860] Could not trigger gid2sid
> [2009/02/09 21:55:01, 0, pid=8860] PANIC: assert failed at
> freebsd_46_i386/release/build/samba/source/winbindd/winbin
> dd.c(718): state->response.result == WINBINDD_PENDING
> [2009/02/09 21:55:01, 0, pid=8860] PANIC: assert failed at
> freebsd_46_i386/release/build/samba/source/winbindd/winbin
> dd.c(623): event->flags == 0
> [2009/02/09 21:55:01, 10, pid=8860] Running event
> "async_request_timeout" 8638530
> [2009/02/09 21:55:01, 0, pid=8860] async_request_timeout_handler:
> child pid 15040 is not responding. Closing connecti
> on to it.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boyang.vcf
Type: text/x-vcard
Size: 187 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090211/f0ed2491/boyang-0001.vcf
More information about the samba-technical
mailing list