Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005530 [Resin] major always 09-16-13 04:08 09-12-14 10:40
Reporter cyttesen View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.37
Summary 0005530: access.log not rolling consistently
Description Having upgraded to 4.0.37 we have noticed that the access.log file is not rolling consistently.

Java version is: 1.7.0_11

We have a selenium test that hits our web-application hence increasing the access.log over time.

This is a directory listing after some days:
-bash-3.2$ ls -al
total 418218
drwxr-xr-x 2 vbs vbs 1024 Sep 13 10:00 .
drwxr-xr-x 21 vbs vbs 1024 Sep 16 10:45 ..
-rw-r--r-- 1 vbs vbs 60244632 Sep 16 10:45 access.log
-rw-r--r-- 1 vbs vbs 23853885 Sep 11 07:24 access.log.20130911.0850
-rw-r--r-- 1 vbs vbs 10919759 Sep 11 10:30 access.log.20130911.1030
-rw-r--r-- 1 vbs vbs 11020386 Sep 11 12:00 access.log.20130911.1200
-rw-r--r-- 1 vbs vbs 10513965 Sep 11 13:10 access.log.20130911.1310
-rw-r--r-- 1 vbs vbs 11120001 Sep 12 05:40 access.log.20130912.0540
-rw-r--r-- 1 vbs vbs 11179963 Sep 12 07:30 access.log.20130912.0730
-rw-r--r-- 1 vbs vbs 10707783 Sep 12 09:20 access.log.20130912.0920
-rw-r--r-- 1 vbs vbs 10537224 Sep 12 11:50 access.log.20130912.1150
-rw-r--r-- 1 vbs vbs 10776596 Sep 12 13:40 access.log.20130912.1340
-rw-r--r-- 1 vbs vbs 11088092 Sep 12 15:40 access.log.20130912.1540
-rw-r--r-- 1 vbs vbs 10693206 Sep 12 17:40 access.log.20130912.1740
-rw-r--r-- 1 vbs vbs 10508898 Sep 13 07:50 access.log.20130913.0750
-rw-r--r-- 1 vbs vbs 10654161 Sep 13 10:00 access.log.20130913.1000
-rw-r--r-- 1 vbs vbs 84256 Sep 16 10:45 resin.log

The server was manually restarted sept 11 when seeing the 23MB file - after restart the file rolled and this morning sept 16 it was manually restarted again making the 60MB file role:

-bash-3.2$ ls -al
total 418260
drwxr-xr-x 2 vbs vbs 1024 Sep 16 10:47 .
drwxr-xr-x 21 vbs vbs 1024 Sep 16 10:46 ..
-rw-r--r-- 1 vbs vbs 14879 Sep 16 10:48 access.log
-rw-r--r-- 1 vbs vbs 23853885 Sep 11 07:24 access.log.20130911.0850
-rw-r--r-- 1 vbs vbs 10919759 Sep 11 10:30 access.log.20130911.1030
-rw-r--r-- 1 vbs vbs 11020386 Sep 11 12:00 access.log.20130911.1200
-rw-r--r-- 1 vbs vbs 10513965 Sep 11 13:10 access.log.20130911.1310
-rw-r--r-- 1 vbs vbs 11120001 Sep 12 05:40 access.log.20130912.0540
-rw-r--r-- 1 vbs vbs 11179963 Sep 12 07:30 access.log.20130912.0730
-rw-r--r-- 1 vbs vbs 10707783 Sep 12 09:20 access.log.20130912.0920
-rw-r--r-- 1 vbs vbs 10537224 Sep 12 11:50 access.log.20130912.1150
-rw-r--r-- 1 vbs vbs 10776596 Sep 12 13:40 access.log.20130912.1340
-rw-r--r-- 1 vbs vbs 11088092 Sep 12 15:40 access.log.20130912.1540
-rw-r--r-- 1 vbs vbs 10693206 Sep 12 17:40 access.log.20130912.1740
-rw-r--r-- 1 vbs vbs 10508898 Sep 13 07:50 access.log.20130913.0750
-rw-r--r-- 1 vbs vbs 10654161 Sep 13 10:00 access.log.20130913.1000
-rw-r--r-- 1 vbs vbs 60244632 Sep 16 10:45 access.log.20130916.1046
-rw-r--r-- 1 vbs vbs 90593 Sep 16 10:47 resin.log

resin.xml is configured as:
<access-log path="./log/access.log" format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"' rollover-size="10mb" rollover-count="20" />
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
09-16-13 04:08 cyttesen New Issue
09-16-13 04:09 cyttesen Issue Monitored: cyttesen
09-12-14 10:40 ferg Assigned To  => ferg
09-12-14 10:40 ferg Status new => closed
09-12-14 10:40 ferg Resolution open => fixed
09-12-14 10:40 ferg Fixed in Version  => 4.0.41


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker