newsyslog gone mad
Victor Sudakov
vas at mpeks.tomsk.su
Tue Dec 25 13:39:47 UTC 2018
Dear Colleagues,
On one of my Web servers, newsyslog went mad and sliced up the logs into
hundreds of thousands of small files like
./access_log.2.gz.13.gz.1.gz
./access_log.2.gz.5.gz.3.gz.7.gz
./access_log.2.gz.8.gz.3.gz
./access_log.2.gz.9.gz.2.gz
./access_log.2.gz.8.gz.1.gz.1.gz
./access_log.3.gz.1.gz.1.gz.1.gz.1.gz.1.gz.4.gz
./access_log.3.gz.1.gz.1.gz.1.gz.1.gz.1.gz.1.gz
./access_log.3.gz.1.gz.1.gz.1.gz.1.gz.1.gz.1.gz.2.gz
./access_log.2.gz.5.gz.1.gz.2.gz.1.gz.0.gz
./access_log.2.gz.13.gz.0.gz
./access_log.3.gz.1.gz.1.gz.1.gz.1.gz.1.gz.1.gz.1.gz
./access_log.2.gz.6.gz.1.gz.5.gz.0.gz
./access_log.3.gz.1.gz.1.gz.1.gz.2.gz.2.gz
Most of those files are one- or two-liners only with
Nov 1 00:00:00 www2 newsyslog[8804]: logfile turned over
Dec 1 00:00:00 www2 newsyslog[72418]: logfile turned over
in them.
What was that?
Here is the relevant line from /etc/newsyslog.conf:
/usr/home/www/*/logs/* 644 24 * @01T00 GZ /var/run/httpd.pid
--
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
2:5005/49 at fidonet http://vas.tomsk.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20181225/0f235f02/attachment.sig>
More information about the freebsd-questions
mailing list