[asterisk-bugs] [Asterisk 0010598]: "logger rotate" leads to logging getting deadlocked and asterisk won't stop
noreply at bugs.digium.com
noreply at bugs.digium.com
Thu Aug 30 11:46:16 CDT 2007
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=10598
======================================================================
Reported By: stevedavies
Assigned To: Corydon76
======================================================================
Project: Asterisk
Issue ID: 10598
Category: Core-General
Reproducibility: always
Severity: block
Priority: normal
Status: assigned
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 81356
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 08-29-2007 16:57 CDT
Last Modified: 08-30-2007 11:46 CDT
======================================================================
Summary: "logger rotate" leads to logging getting deadlocked
and asterisk won't stop
Description:
Doing a "logger rotate" results in logging getting "stuck". No new full /
messages file is created and Asterisk won't stop.
Observe:
...
voipconnect_2*CLI> logger rotate
[Aug 29 23:59:05] Asterisk Event Logger restarted
[Aug 29 23:59:05] Asterisk Queue Logger restarted
voipconnect_2*CLI>
voipconnect_2*CLI> exit
voipconnect_2 customers # ls /var/log/asterisk/fu*
/var/log/asterisk/full.0 /var/log/asterisk/full.1.gz
/var/log/asterisk/full.2.gz /var/log/asterisk/full.4.gz
/var/log/asterisk/full.1 /var/log/asterisk/full.2
/var/log/asterisk/full.3.gz /var/log/asterisk/full.5.gz
You see that there is no new "full" file created. Logging isn't going to
the old but renamed file either - its going nowhere.
Telling asterisk to stop now doesn't work (or didn't work the couple of
times I tried it. I needed to kill asterisk process)
======================================================================
----------------------------------------------------------------------
jamesgolovich - 08-30-07 11:46
----------------------------------------------------------------------
I like it. I can't see any reason it would cause any problems, unless
someone made a change to their logger.conf and didn't want it to take
effect right away. Although we are duplicating previous behavior so I
think that is acceptable.
Issue History
Date Modified Username Field Change
======================================================================
08-30-07 11:46 jamesgolovich Note Added: 0069720
======================================================================
More information about the asterisk-bugs
mailing list