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 <[EMAIL PROTECTED]> 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

_______________________________________________
--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

Reply via email to