[UPHPU] separate logs for each site?
Lonnie Olson
lists at kittypee.com
Wed Sep 5 09:54:03 MDT 2007
On Mon, 2007-09-03 at 15:43 -0600, Wade Preston Shearer wrote:
> For those of you that host multiple sites on a single box, do you
> have separate logs for each site or do you write them all to a single
> file?
When making this decision it is best to think about how many files you
are talking about. A server with hundreds of sites, with twice that
many log files open (access_log, error_log), could run into problems of
memory, openfiles limit, etc.
It has been my opinion to tune the log files based on the number of
sites.
<10 Separate access and error logs per site
>10 Separate access logs, but a single unified error_log
>200 Single access log, or find a way to group them into fewer log
files.
--lonnie
More information about the UPHPU
mailing list