4000 virtual hosts in Apache

This is a discussion on 4000 virtual hosts in Apache within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hi, When there are too many virtual host in my server I got this error: [Fri May 13 17:36:...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-30-2005
jonathanthio@yahoo.com.sg
 
Posts: n/a
Default 4000 virtual hosts in Apache

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

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:57 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0