httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Httpd Wiki] Update of "FAQ" by niq
Date Sun, 24 Mar 2013 23:40:46 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.

The "FAQ" page has been changed by niq:
http://wiki.apache.org/httpd/FAQ?action=diff&rev1=32&rev2=33

  
  There's a particular Gotcha on Windows:
  
-  {{{
+  . {{{
  httpd: Syntax error on line nn of C:/IBM/HTTP/conf/httpd.conf: Cannot load C:/IBM/HTTP/modules/mod_foo.so
into server: The specified module could not be found.
  }}}
+ 
  Googling the error message tells us there's a missing library, but there doesn't appear
to be, and the identical configuration works on one computer but fails with this message on
another.  What gives?
  
  This error may happen because you need to install the Windows C Runtime Libraries on the
target machine.  Note that this doesn't mean you need to load them explicitly into HTTPD,
just install them on the host machine!  This is likely to affect users of IBM's httpd trying
to load modules not supplied by IBM, and might arise in other circumstances where the server
and the module are compiled using different build options.
@@ -239, +240 @@

  == Why can't I run more than <n> virtual hosts? ==
  You are probably running into resource limitations in your operating system. The most common
limitation is the per-process limit on file descriptors, which is almost always the cause
of problems seen when adding virtual hosts. Apache often does not give an intuitive error
message because it is normally some library routine (such as gethostbyname()) which needs
file descriptors and doesn't complain intelligibly when it can't get them.
  
+ Each log file requires a file descriptor, which means that if you are using separate access
and error logs for each virtual host, each virtual host needs two file descriptors. Each Listen
directive also needs a file descriptor.
- Each log file requires a file descriptor, which means that if you are using separat
- 
- {{{
- Syntax error on line nn of C:/IBM/HTTP/conf/load_modules.conf
- }}}
- e access and error logs for each virtual host, each virtual host needs two file descriptors.
Each Listen directive also needs a file descriptor.
  
  Typical values for <n> that we've seen are in the neighborhood of 1024 or 2048. When
the server bumps into the file descriptor limit, it may dump core with a SIGSEGV, it might
just hang, or it may limp along and you'll see (possibly meaningful) errors in the error log.
One common problem that occurs when you run into a file descriptor limit is that CGI scripts
stop being executed properly.
  

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message