dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

7 Commits

Author SHA1 Message Date
tilghman 90004ef794 Use a SIGPIPE to kill the process, instead of depending upon the astcanary process being inherited by init.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@178342 f38db490-d61c-443f-a65b-d21fe96a405b
2009-02-24 20:06:48 +00:00
tilghman 0dbdfbbfe3 Cause astcanary to exit if Asterisk exits abnormally and doesn't kill astcanary.
Also, add some documentation supporting the use of astcanary.
(closes issue #14538)
 Reported by: KNK
 Patches: 
       asterisk-1.6.x-astcanary.diff uploaded by KNK (license 545)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@178303 f38db490-d61c-443f-a65b-d21fe96a405b
2009-02-24 17:51:36 +00:00
kpfleming cc1b2c100f bring over all the fixes for the warnings found by gcc 4.3.x from the 1.4 branch, and add the ones needed for all the new code here too
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@153616 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-02 18:52:13 +00:00
kpfleming 5cb4e461fd fix a few small things found by using sparse
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152809 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-30 16:49:02 +00:00
tilghman 6410c3d334 Add a set of text to the file astcanary uses to communicate back the main
Asterisk process, which explains the purpose for the file being there.  This
should assist people who find the file and wonder why it exists.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@116948 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-18 21:15:58 +00:00
tilghman 2c90b313b8 open(2) needs a mode argument when O_CREAT is specified.
(Closes issue #12083)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104534 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-27 15:34:28 +00:00
tilghman 11a5516081 Add a canary process, for high priority mode (asterisk -p) to ensure that if
Asterisk goes into a busy loop, the machine will be recoverable.  We'd still
need to do a restart to put Asterisk back into high priority mode, but at
least a reboot won't be required. (Closes issue #11559)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@93804 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-18 23:06:05 +00:00