This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Webmaster forum > May 2005 > BytesLog CustomLog too many virtual host





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 BytesLog CustomLog too many virtual host
jonathanthio@yahoo.com.sg

2005-05-29, 11:24 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

William Tasso

2005-05-29, 11:25 pm

From the relative comfort of the http://groups.google.com boardroom,
<jonathanthio@yahoo.com.sg> patched in a new connection to
news:alt.www.webmaster and said:

> Hi,


How do you do?

> 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


what is 'too many'?

> 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?


sorry, no idea

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


Have you asked yourself why you are running cPanel?

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


Dangerous? bah, I can remember when computing was safe and motorcycling
was dangerous.

Have you considered the benefits of taking a copy of the file in its
current state?

> 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.


Hrmmm - well yes, it's a text file.

--
Whatever you do - do something.
jonathanthio@yahoo.com.sg

2005-05-30, 7:26 pm

Too many means somewhere around 4000 Virtual host in my server.

What is the best newsgroup to ask this sort of thing.

Jonathan

William Tasso

2005-05-30, 7:26 pm

From the relative comfort of the http://groups.google.com boardroom,
<jonathanthio@yahoo.com.sg> patched in a new connection to
news:alt.www.webmaster and said:

> Too many means somewhere around 4000 Virtual host in my server.


nice work if you can get it ;)

> What is the best newsgroup to ask this sort of thing.


hrmmm - normally this group has a few Apache bods floating through - I'm a
bit surprised you haven't had a sensible response yet - although today is
a national holiday in the UK. If you don't get an answer here, you could
try whichever of these is appropriate for your situation (assuming one
is)...

news:comp.infosystems.www.servers.unix
or
news:comp.infosystems.www.servers.windows

Both groups are full of Apache issues.

Failing that, a trawl through the Apache groups supported by your news
service sounds like a plan.

BTW: I wasn't being flippant about the text file bit - any editor on any
platform should be able to assist.

One more thought (assuming Linux): isn't there a max-open-files setting in
the o/s (or some such similar thingie)

In any event, good luck.
--
Whatever you do - do something.
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews