#1 (permalink)  
Old 06-09-2005, 10:26 AM
Registered User
 
Join Date: Mar 2004
Location: This Planet
Posts: 984
anup123 is on a distinguished road
Why specify separate log file for each vhost?

Why specify a separate logfile for each VirtualHost and not just use a common file and then use split-logfile utility which anyway can separate out each domain logs and put it up in domlogs as www.domain.tld.log? Wouldn't this be better When using a large number of Virtual Hosts, where Apache may run out of available file descriptors (sometimes called file handles) if each Virtual Host specifies different log files.

TIA
Anup
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-09-2005, 10:35 AM
chirpy's Avatar
Moderator
 
Join Date: Jun 2002
Location: Go on, have a guess
Posts: 13,495
chirpy will become famous soon enough
I've run hosting on servers that split logs and it is horrendously bad for server performance as it consume CPU cycles, memory and I/O with abandon. It's much simpler to have them already broken up so that you don't have to go through that horror. If you're running out of inodes you should really be looking at getting a bigger disk or ensuring that user data is stored on a separate disk.
__________________
Jonathan Michaelson
cPanel Forum Moderator

Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 04:53 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc