You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/05/16 19:38:27 UTC

DO NOT REPLY [Bug 19994] New: - rotatelogs truncates log file which leaves space consumed

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19994>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19994

rotatelogs truncates log file which leaves space consumed

           Summary: rotatelogs truncates log file which leaves space
                    consumed
           Product: Apache httpd-1.3
           Version: 1.3.27
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Other
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: ckickel@yahoo.com


rotatelogs is functioning correctly on our Solaris system.  However, the 
method it uses to truncate the log file does not return disk space to the OS.  
Over time, du shows the disk being consumed although ls -l shows a small log 
file size.  Restarting the server returns the disk space correctly.

This may be unique to Solaris OS.  Perhaps rotatelogs could perform a close/re-
open rather than ftruncate?

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org