delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/30/08:26:17

X-Spam-Check-By: sourceware.org
Date: Wed, 30 Aug 2006 15:12:48 +0300
From: ukr DOT name DOT lists AT gmail DOT com
X-Mailer: The Bat! (v3.0) Professional
Message-ID: <78145923.20060830151248@ukr.name>
To: cygwin AT cygwin DOT com
Subject: =?Windows-1251?B?QXBhY2hlIDEuMy4zMyDubiBXMjAwMyBwcm9ibGVtcyBvbmx5IG9uIHN5?= =?Windows-1251?B?c3RlbSBib290?=
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Hello List,

I'm running Apache 1.3.33 on W2003 Terminal Server as service starting it
under sshd_server account. It works as a charm most of the time.
But not on system boot - it serves static pages but whenever I'm trying to
run Perl CGI script I'm getting 503 error with following lines in log:

vhost's error_log:
[Tue Aug 29 09:50:57 2006] [error] [client 192.168.128.100]
(11)Resource temporarily unavailable: couldn't spawn child process: /tmp/base/cgi-bin/catfix.cgi

main error_log:
[Tue Aug 29 09:49:46 2006] [notice] Apache/1.3.33 (Cygwin) configured -- resuming normal operations
[Tue Aug 29 09:49:46 2006] [notice] Accept mutex: pthread (Default: pthread)
      5 [main] ? (3836) E:\Cygwin\usr\sbin\httpd.exe: *** fatal error - E:\Cygwin\usr\sbin\httpd.exe: *** couldn't allocate heap, Win32 error 0, base 0x660000, top 0x6A0000, reserve_size 258048, allocsize 262144, page_const 4096
      6 [main] httpd 412 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code 0x100, errno 11
      5 [main] ? (3888) E:\Cygwin\usr\sbin\httpd.exe: *** fatal error - E:\Cygwin\usr\sbin\httpd.exe: *** couldn't allocate heap, Win32 error 0, base 0x660000, top 0x690000, reserve_size 192512, allocsize 196608, page_const 4096
      7 [main] httpd 2044 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code 0x100, errno 11
[Tue Aug 29 09:50:58 2006] [error] (11)Resource temporarily unavailable: fork: Unable to fork new process

But if after system boot I just did stop/start httpd service - everything
returns to normal and Apache works as expected, including CGI scripts.

Any suggestion on how to solve this are greatly appreciated.

Thanks !

-- 
Best regards,
Sergiy Kolodka


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019