apache logs from a load balanced pair

Simon Rose - Pitch Simon.Rose at pitch.tv
Wed Mar 7 12:08:45 UTC 2007


Hi,
 
We have a load balanced pair of Apache webservers.  Currently logging is
done to an NFS mount shared on both machines.  Because of performance ,
a perceived concern over the potential of hanging servers if the NFS
server has a problem and this single point of failure, we want to stop
logging to the NFS mount point.
 
The problem I have is that our hosting company does not advocate using
GFS and I don't know what the most usual way of handling logging is in
this kind of setup.  Should we be using some kind of messaging
architecture to handle logging? should we use a database? What do other
SysAdmins do?
 
For the apache logs themselves we use syslog, but we anticipate that as
our traffic increases, that syslog will begin to falter. Ideally I'd
like a generic approach for all our webserver logging.  If it helps our
front end apps are running php.
 
Many thanks
Simon




More information about the redhat-sysadmin-list mailing list