[asterisk-dev] Question about hup_handler & deadlocks
Jay Hoover
jay at snapvine.com
Sun Sep 24 20:10:20 MST 2006
Ok, I'll go figure out why I'm getting so many SIGHUP. These are coming in
at a pretty steady clip on our production machines, several times an hour.
There's probably an unrelated bug somewhere causing this.
As for the deadlock, I agree with Nic that the issue in hup_hanlder should
probably get addressed. I'm happy to assist with a patch for this but I
don't think I understand Asterisk threading well enough to know which
threads is the proper place to perform the actual reload or how to make sure
that I don't end up causing other deadlocks in this situation. Any
suggestions?
Thanks again,
Jay
On 9/24/06, Tilghman Lesher <tilghman at mail.jeffandtilghman.com> wrote:
>
> On Sunday 24 September 2006 12:58, Jay Hoover wrote:
> > Thanks, that makes sense. One thing that I don't understand is what
> > situations in normal Asterisk operation would cause a SIGHUP to get
> > sent to the daemon. I'm getting a lot of these deadlocks, and I'm
> > suspicious that there is a problem somewhere else causing me to get
> > an abnormal volume of SIGHUPs. I will do more tracing to track that
> > down, but do you know of anything in normal operation that would
> > cause a large volume of SIGHUPs?
>
> There is only one situation in normal use that I can think of which
> would cause a sighup to be innocently sent. That is, when the user
> who started the asterisk daemon logs out, a SIGHUP will be sent to all
> processes the user started, including the Asterisk daemon.
>
> It is also possible that a SIGHUP is sent on a weekly or monthly cron,
> as part of an attempt by the system to get long-running processes to
> clean up their memory.
>
> --
> Tilghman
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20060924/00adb0cc/attachment.htm
More information about the asterisk-dev
mailing list