[ILUG] quick apache question
Paul Kelly :: Blacknight Solutions
paul at blacknight.ie
Mon May 24 19:34:18 IST 2004
> Define a second log file in each vhost entry :
>
> CustomLog /my/vhost/access_log combined
> CustomLog /my/full/access_log combined
>
> I do this for about 50 vhosts, doesn't seem to impact
> performance too much
> although the log file can grow quite quickly, so rotate often.
>
This is how we do it for lots and lots of domain's, its not an issue with
load or anything. One thing to look for is the max number of file
descriptors. We've had to re-compile apache for 16348 FD's. As soon as
apache starts it opens all the log files etc, then under normal operation it
would have files ope etc. It can become an issue after 250 or so sites... :)
Paul
--
Email scanned by Blacknight for viruses and dangerous content.
Visit http://www.blacknight.ie for more information
More information about the ILUG
mailing list