DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41887>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41887

           Summary: -T option unavailable for Apache 2.0.x -> available
           Product: Apache httpd-2
           Version: 2.0-HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Currently when httpd starts or when a graceful command is issued, it does a
DocumentRoot check. When a DocumentRoot doesn't exist; it will produce a 
warning.
The DocumentRoot check gets its information by 'statting' all the DocumentRoots
from the config file. This check process might take some time depending on the
number of DocumentRoots and the speed of the filesystem.
Imagine the following: mass virtualhosting with 1000's of different
DocumentRoots which are all located on a rather slow NFS mount. This is in fact
my real life setup. 
This causes a problem; when changing the config, you normally like to issue a
graceful restart. However with the number of DocumentRoots on my slow NFS mount
this will take up several minutes, resulting in my server becoming less
responsive/unavailable until the graceful is complete. Wich is *bad*.
So I added an option to the httpd startup. A "-T" commandline argument (which
was also available in 1.3.x). This option will skip the DocumentRoot check and
start the server anyway. In my case this means I can do a graceful restart in a
couple of seconds instead of minutes. So this option has greatly improved my
server performance. 
I've been running my patched up Apache for over a week now: which handles about
50 hits/second and it runs great!

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to