Hello Jean.

        Hmmm....this idea of doing the CustomLogs Directive and have it broken off
into individual vhosts sound good to me.  Now...the question is, how do I
apply this directive for the domains?  Just for the short and dirty rundown
of this would help so I can get to this problem quickly instead of spending
another 3 days looking it up and then trying to figure it out how to make
this work right.

        Reason is that I have over 100 IP addresses with over 1320 domains split
among them in the Virtual Host Section.  So correct me on this if this
rundown is what I am supposed to do.

        Basically, what I am supposed to do is in each vhost section, put the
CustomLog logs/access_log vcommon for all of them and then use the split log
utility to break them all up and sent to their log directory for the
Webalizer utility to run this?  And in the httpd.conf, I put this one in as
you mentioned:

LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon

        Let me know if I am correct or wrong so I can get to work.  I have a hard
drive problems on that host right now and I putting together another host to
move this over before the drive fail completely on me before I have a chance
to get everything moved over.


> Don't do it(tm). Instead, check the CustomLogs directive. Put all your
> vhosts so that they log in the same file, but with their domain name in
> it. Then, write a small perl script that splits the main log each hour and
> puts them in its own file.
>
> Example:
> # this log format can be split per-virtual-host based on the first field
> LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon
> CustomLog logs/access_log vcommon
>
> If you still want to raise the file descriptors, have a look at:
> http://www.apache.org/docs/misc/descriptors.html
> http://www.apache.org/docs/vhosts/fd-limits.html
>
> Jean-Michel Dault
> [EMAIL PROTECTED]
>
> On Sun, 23 Apr 2000, Russell "Elik" Rademacher wrote:
>
> > Date: Sun, 23 Apr 2000 09:33:31 -0400
> > From: Russell "Elik" Rademacher <[EMAIL PROTECTED]>
> > Reply-To: [EMAIL PROTECTED]
> > To: [EMAIL PROTECTED]
> > Subject: [expert] File Descriptor Max problems under Apache/Linux System
> >
> >     Okay... I been trying to locate the documentations on
> modifying the kernel
> > to up the limit of the open file max from 1024 to 4048 or at
> least...2048,
> > so that I can get the apache to work properly with over 1000
> domains with
> > logging capability running for most of them for stats usage.
> >
> >     Anyone can help on this issue?
> >
> >     BTW Jean, sorry for taking so long.  As for the JServ
> problem, you can do
> > this as follows:
> >
> > Point your browser to www.digi-host.com/jserv/ and it is
> supposed to show
> > the info status on the JServ and you can see the problem that
> it shows when
> > it happens. "HTTP Error 403 - Forbidden"
> >
> >     I even set the allow,deny to allow all but it still have
> this problem.
> > Dunno what to do about this.
> >
> >     If you have any luck on this, let me know since it seems it
> is related the
> > Java files or JServ or both.  I just gave up on it. :)
> >
>
>

Reply via email to