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 Subject: Apache2 crashing/degrading x64 Windows 7 system To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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: StartServers 1 MinSpareServers 1 MaxSpareServers 2 MaxClients 3 MaxRequestsPerChild 0 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