Web Servers on Unix and Linux - 4000 virtual hosts in Apache

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Unix and Linux > May 2005 > 4000 virtual hosts in Apache





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author 4000 virtual hosts in Apache
jonathanthio@yahoo.com.sg

2005-05-30, 8:47 pm

Hi,


When there are too many virtual host in my server I got this error:
[Fri May 13 17:36:36 2005] [error] (24)Too many open files: could not
open transfer log file


To fix that, I am removing all lines in my httpd.conf that contain
CustomLog and BytesLog


Is there a way to do this via cpanel?


Also how can I ensure that cpanel do not add customlog and byteslog
file for future websites.


I am quite worry about manually changing httpd.conf. It looks quite
dangerous to me.


Also currently, the only way I know how to do it is by uploading the
httpd.conf to a windows server, run a program to delete customlog and
byteslog line, and then downloading httpd.conf.


There has to be a less time consuming way.


jonathan

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com