X-Spam-Check-By: sourceware.org
Date: Wed, 30 Aug 2006 10:27:03 -0400 (EDT)
From: Igor Peshansky <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: ukr.name.lists@gmail.com
cc: cygwin@cygwin.com
Subject: Re: Apache 1.3.33 on W2003 problems only on system boot
In-Reply-To: <78145923.20060830151248@ukr.name>
Message-ID: <Pine.GSO.4.63.0608301024070.20474@access1.cims.nyu.edu>
References: <78145923.20060830151248@ukr.name>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Wed, 30 Aug 2006, ukr.name.lists wrote:

> 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.

It would have been more evident had you followed the Cygwin problem
reporting guidelines at <http://cygwin.com/problems.html>, but my guess is
that you're missing a dependency on some service (Tcp/ip?).  Try
reinstalling apache as a service with the right dependencies.
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
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/

