* Tru64 5.0 Probs. with Netscape ES and CGI
@ 1999-11-24 5:00 Ray
1999-12-02 5:00 ` Jeff Denham
0 siblings, 1 reply; 2+ messages in thread
From: Ray @ 1999-11-24 5:00 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Tru64 5.0 Probs. with Netscape ES and CGI
1999-11-24 5:00 Tru64 5.0 Probs. with Netscape ES and CGI Ray
@ 1999-12-02 5:00 ` Jeff Denham
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Denham @ 1999-12-02 5:00 UTC (permalink / raw)
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?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-12-02 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-11-24 5:00 Tru64 5.0 Probs. with Netscape ES and CGI Ray
1999-12-02 5:00 ` Jeff Denham
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox