From 241b1826040f8e58ef3d2db559eb2b3a10f02f93 Mon Sep 17 00:00:00 2001 From: Rich Bowen Date: Sat, 15 Jun 2002 20:09:08 +0000 Subject: [PATCH] Added configuration example, code example, and a little explanation, to facilitate logging all of your virtual hosts to a single file, and then splitting them back up after. Note that if Apache has problems with this many file handles, Perl might also. I'm not sure. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95701 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/vhosts/fd-limits.html.en | 85 +++++++++++++++++++++++++--- 1 file changed, 78 insertions(+), 7 deletions(-) diff --git a/docs/manual/vhosts/fd-limits.html.en b/docs/manual/vhosts/fd-limits.html.en index dc09fb2d57..d7ba36af4b 100644 --- a/docs/manual/vhosts/fd-limits.html.en +++ b/docs/manual/vhosts/fd-limits.html.en @@ -17,7 +17,7 @@

When using a large number of Virtual Hosts, Apache may run out of available file descriptors (sometimes called file - handles if each Virtual Host specifies different log + handles) if each Virtual Host specifies different log files. The total number of file descriptors used by Apache is one for each distinct error log file, one for every other log file directive, plus 10-20 for internal use. Unix operating @@ -29,11 +29,11 @@ this may not work if:

    -
  1. Your system does not provide the setrlimit() system - call.
  2. +
  3. Your system does not provide the setrlimit() + system call.
  4. -
  5. The setrlimit(RLIMIT_NOFILE) call does not function on - your system (such as Solaris 2.3)
  6. +
  7. The setrlimit(RLIMIT_NOFILE) call does not + function on your system (such as Solaris 2.3)
  8. The number of file descriptors required exceeds the hard limit.
  9. @@ -46,8 +46,11 @@