Date: Wed, 03 Oct 2007 11:48:04 -0400 From: Chuck Swiger <cswiger@mac.com> To: Olivier Nicole <on@cs.ait.ac.th> Cc: mnslinky@gmail.com, freebsd-questions@freebsd.org Subject: Re: Is Apache rotatelogs efficienct for real world use? Message-ID: <4703B9B4.2020709@mac.com> In-Reply-To: <200710020324.l923Ohvf075150@banyan.cs.ait.ac.th> References: <20071001231334.71ddc9ac@attila> <374E75AA-8954-4186-BBCA-F775730B1192@gmail.com> <200710020324.l923Ohvf075150@banyan.cs.ait.ac.th>
next in thread | previous in thread | raw e-mail | index | archive | help
Olivier Nicole wrote: >> Is Apache rotatelogs suitable for handling large volumes of >> access logs, i.e. around 50K requests per hour at _peak_ time which is >> 1.2M requests per day. According to Apache website >> (http://httpd.apache.org/docs/1.3/logs.html#rotation) this becomes >> about 120MB in size per day. > > In another setting (few hits, buts hundreds of sites, rotatelogs means > one process per site, while newsyslog is only one process when it is > needed. The last log to rotate sending the appropriate signale to > Apache. That's a fine point to mention. However, if you're running a bunch of domains using virtual hosts on one Apache instance, then you can just combine them into a single output logfile, have just one rotatelogs instance, feed that through rDNS lookups, and then feed them into a splitter per site or just use a webanalyser which is vhosts-aware and generates separate reports for each vhost.... -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4703B9B4.2020709>