Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 28680 invoked by uid 500); 12 Mar 2000 21:27:02 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk X-No-Archive: yes Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 28658 invoked from network); 12 Mar 2000 21:27:01 -0000 Message-ID: <38CC0BA0.E49F73ED@rcbowen.com> Date: Sun, 12 Mar 2000 16:26:56 -0500 From: Rich Bowen Organization: RCBowen.com X-Mailer: Mozilla 4.5 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: new-httpd@apache.org Subject: PATCH: MaxRequestsPerChild doc Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N At ApacheCon, I was talking to some folks about what Win32 does with the MaxRequestsPerChild directive. In http://www.apache.org/docs/windows.html, it says that Windows honors this directive the same as under Unix, while at http://www.apache.org/docs/mod/core.html#maxrequestsperchild it says that it completely ignores it. What actually happens is that it does in fact kill, and restart, the child process after MaxRequestsPerChild requests. However, since there is only one child, and it's not really forked, it causes the onfig files to be re-read, which does not happen under Unix for new children. Anyways, here's a diff: 2034c2034,2037 <

This directive has no effect on Win32. --- >

Setting this to something non-zero on Win32 has the (perhaps unexpected) > effect of causing the child process (there's only one) to be restarted, and > the configuration file to be re-read. This is convenient for testing, but > should probably not be attempted in a production environment.

Please let me know if I'm doing this wrong, since this is my first, but hopefully not last, patch. I'm one of those strange, sick, individuals that enjoys writing documentation. Rich -- http://www.ApacheUnleashed.com/ Lexington Perl Mongers - http://lexington.pm.org/ PGP Key - http://www.rcbowen.com/pgp.txt