delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_SORBS_WEB |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <948968.39357.qm@web112401.mail.gq1.yahoo.com> |
Date: | Thu, 18 Feb 2010 10:06:49 -0800 (PST) |
From: | Stacey Campbell <staceycampbell AT yahoo DOT com> |
Subject: | Apache2 crashing/degrading x64 Windows 7 system |
To: | cygwin AT cygwin DOT com |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
I reported this problem a while back. Out of the box Cygwin 1.7.1 Apache2 eventually brings down my Windows 7 Home quad core x86 system if httpd2 is subject to only a relatively light load. A workaround seems to be to heavily limit the number of processes (and sockets) used by Apache2. This is in no way tuned for optimal use, but at least my system survives having httpd2 running: 1. Specify an IP address for the Listen directive in /etc/apache2/httpd.conf. (This is a PIA for for DHCP allocated IP addresses (serviced by DynDNS), but seems necessary.) 2. Uncomment Include /etc/apache2/extra/httpd-mpm.conf in the same file. 3. Edit /etc/apache2/extra/httpd-mpm.conf and modify mpm_prefork_module. I did the following: <IfModule mpm_prefork_module> StartServers 1 MinSpareServers 1 MaxSpareServers 2 MaxClients 3 MaxRequestsPerChild 0 </IfModule> 4. Restart httpd2 Stacey -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |