Opened 9 years ago

Closed 9 years ago

#124 closed incident (fixed)

/var/log/thttpd.log is not rotated

Reported by: rick Owned by:
Keywords: Cc:
Location: Generiek

Description

Causes /var to fill and die.

Change History (3)

comment:1 Changed 9 years ago by richardvm

HUP

This signal tells thttpd to close and re-open its (non-syslog) log file, for instance if you rotated the logs and want it to start using the new one. This is a little tricky to set up correctly, for instance if you are using chroot() then the log file must be within the chroot tree, but it's definitely doable.

comment:2 Changed 9 years ago by richardvm

CNodeAJSoft1# ls -l /var/log/thttpd.log*
-rw-r--r-- 1 root wheel 38258 Mar 19 11:59 /var/log/thttpd.log
-rw-r--r-- 1 root wheel 3152 Mar 18 19:00 /var/log/thttpd.log.0.bz2
-rw-r--r-- 1 root wheel 3951 Mar 16 22:00 /var/log/thttpd.log.1.bz2
-rw-r--r-- 1 root wheel 3114 Mar 15 16:00 /var/log/thttpd.log.2.bz2
-rw-r--r-- 1 root wheel 3714 Mar 14 21:00 /var/log/thttpd.log.3.bz2

comment:3 Changed 9 years ago by richardvm

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.