delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/10/17/18:31:54

From: dj AT ctron DOT com (DJ Delorie)
Subject: fork()
17 Oct 1996 18:31:54 -0700 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199610172203.SAA28671.cygnus.gnu-win32@delorie>
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

I've been trying my luck at porting Apache to cygwin32, and I've got
it mostly working except that fork() almost always fails.  Yes, it
works in a trivial program.

Either it does this:

	httpd: unable to fork new process
	fork: No such file or directory

or it hangs, using 99% of the CPU.

Note: this is not a case of bash not being able to find itself, or
/bin/sh, or httpd vs httpd.exe, or httpd not in my PATH (I checked all
those).

Has anyone seen this problem before?  Any ideas on what's happening?

Also - where do all those small_printf's and system_printf's in the
src/winsup/*.cc sources go?  They look like they'd help me out.

DJ
dj AT ctron DOT com
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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