Mantis - Resin
Viewing Issue Advanced Details
3814 block have not tried 12-16-09 10:31 03-31-10 12:34
zenant  
ferg  
normal  
closed 3.1.7  
fixed  
none    
none 4.0.6  
0003814: endless cycle in log rotation
Resin was stuck for several hours. In a thread dump there was a thread which blocked everything else.

 java.lang.Thread.State: RUNNABLE
    at sun.util.calendar.Gregorian.newCalendarDate(Gregorian.java:67)
    at sun.util.calendar.Gregorian.newCalendarDate(Gregorian.java:19)
    at sun.util.calendar.ZoneInfo.getOffset(ZoneInfo.java:365)
    at com.caucho.util.QDate.calculateSplit(QDate.java:1533)
    at com.caucho.util.QDate.setGMTTime(QDate.java:279)
    at com.caucho.config.types.Period.periodEnd(Period.java:281)
    - locked <0x00002aaad30c1040> (a com.caucho.util.QDate)
    at com.caucho.config.types.Period.periodEnd(Period.java:216)
    at com.caucho.log.AbstractRolloverLog.rolloverLog(AbstractRolloverLog.java:422)
    - locked <0x00002aaacf928ed8> (a com.caucho.log.AbstractRolloverLog)
    at com.caucho.log.AbstractRolloverLog.rollover(AbstractRolloverLog.java:346)
    at com.caucho.log.RotateStream.handleAlarm(RotateStream.java:284)
    at com.caucho.util.Alarm.handleAlarm(Alarm.java:375)
    at com.caucho.util.Alarm.run(Alarm.java:345)
    at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:721)
    at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:643)
    at java.lang.Thread.run(Thread.java:619)

There are no notes attached to this issue.