[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 10:21:23 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 10:21 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)


====================================================================== 

---------------------------------------------------------------------- 
 Corydon76 - 08-30-07 10:21  
---------------------------------------------------------------------- 
I think I'd prefer to fix it this way.  What do you think, James? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-30-07 10:21  Corydon76      Note Added: 0069714                          
======================================================================




More information about the asterisk-bugs mailing list