Apache Single Logfile (File descriptors)


Well-Known Member
May 21, 2006
Hi there,

Running a very busy server with 4000+ virtual hosts, I seem to have run into the problem of Apache bombing out with errors about the maximum number of file descriptors being reached.

If memory serves correctly, Apache is NOT good to run with individual logfiles for each domain, and works better as one single logfile. You are then advised to run a script to seperate each domains logfile from the mainfile, into individual fules for statistics importation.

My question is, how can I setup cpanel to do this? I'm guessing there's some virtualhost directive template file somewhere, that I can modify to remove the CustomLog lines?
How can I update the existing sites to do this?

Any ideas or thoughts welcome.