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