[asterisk-bugs] [Asterisk 0012762]: if queue_log file is FIFO asterisk do deadlock after "logger reload"
noreply at bugs.digium.com
noreply at bugs.digium.com
Tue Jun 3 00:27:40 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=12762
======================================================================
Reported By: slavon
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 12762
Category: Core/General
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): 1.4
SVN Revision (number only!): 118558
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 05-30-2008 04:37 CDT
Last Modified: 06-03-2008 00:27 CDT
======================================================================
Summary: if queue_log file is FIFO asterisk do deadlock after
"logger reload"
Description:
Hello.
if queue_log file created as FIFO asterisk do deadlock after "logger
reload" (try do it few times)
If FIFO unsupported * must recreate file or write error to screen? Or add
please support (if it not a bug) to log to FIFO.
Thanks!
======================================================================
----------------------------------------------------------------------
slavon - 06-03-08 00:27
----------------------------------------------------------------------
yes! if reader process was killed - asterisk do strange thinks like
locks...
This my process (i memory all that i do) =)
rm /var/log/asterisk/queue_log
mkfifo /var/log/asterisk/queue_log
asterisk -r
# logger reload
# exit
tail -f /var/log/asterisk/queue_log
--- no data - CTRL+C hm... try return changes...
rm /var/log/asterisk/queue_log
asterisk -r
# logger reload
# exit
ls /var/log/asterisk/queue_log
--- no file.. logger never recreate file... maybe logger process is lock?
asterisk -r
# stop now
---- HMMM... ITS NOT STOP! Strange!
kill -9 asterisk
asterisk -gT
---- ohhh... great! =)
Issue History
Date Modified Username Field Change
======================================================================
06-03-08 00:27 slavon Note Added: 0087697
======================================================================
More information about the asterisk-bugs
mailing list