Opened 12 years ago

Closed 12 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 by richardvm, 12 years ago

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 by richardvm, 12 years ago

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 by richardvm, 12 years ago

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