From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,353267267021113e X-Google-Attributes: gidfee84,public From: Jeff Denham Subject: Re: Tru64 5.0 Probs. with Netscape ES and CGI Date: 1999/12/02 Message-ID: <3846916F.542E53EC@allaire.com>#1/1 X-Deja-AN: 555810268 Content-Transfer-Encoding: 7bit References: <81hpq9$5vl$1@sparky.wolfe.net> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@digex.net X-Trace: dca1-nnrp1.news.digex.net 944148846 207.86.119.34 (Thu, 02 Dec 1999 10:34:06 EST) Organization: Allaire Corporation MIME-Version: 1.0 NNTP-Posting-Date: Thu, 02 Dec 1999 10:34:06 EST Newsgroups: comp.unix.osf.osf1 Ray wrote: > I've been trying to get Netscape Enterprise Server to reliably fork CGI > scripts. I don't know if it is a Netscape problem or something with the OS. > The called script will only work about one out of four times. It doesn't seem > to matter what type of script it is (shell, perl etc.). When it fails the > script returns the standard, and I might add usless, 503 error with a log entry > that a fork could not be completed. Indeed, if I stick a timing loop in the > script, I can see that when the the fork fails the ppid of the script process > is 1 and when it succeeds the ppid is the pid of the CGIStub routine. > > Thanks in advance. What version of enterprise are you running? Versions before 3.6 were real dogs in the CGI/fork department, because they were forking the entire NES process address space just to exec some tiny CGI script a moment later. In 3.6, they keep some *much* smaller GGI/fork engines around to do the work on demand from the server process. I'm only mentioning this, because before 3.6 CGI loads put heavy demand on the VM subsystem because of NES large memory footprint. Are there any signs that your fork is failing for lack of swap space? Check the system logs?