You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-dev@httpd.apache.org by "MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)" <ma...@hp.com> on 2003/02/19 02:06:47 UTC
SPEC / mod_specweb99.c
Hi,
Does anybody know if the mod_specweb99.c been 'blessed' by the SPEC
committee ?..I mean, have they acknowledged that the module acts in a SPEC
compliant manner?
I had a doubt regarding executing CGI scripts in SPECweb99 - somebody here
told me that the SPEC mandates the web server to fork a child process to
execute a CGI script - is that so ?.
-Madhu
Re: SPEC / mod_specweb99.c
Posted by David Hill <dd...@zk3.dec.com>.
> I had a doubt regarding executing CGI scripts in SPECweb99 -
somebody here
> told me that the SPEC mandates the web server to fork a child
process to
> execute a CGI script - is that so ?.
Speaking of cgi scripts - be sure to use the C based one for this, the
perl based reference is quite a bit more cpu intensive. The cgi
component really adds up in the cpu time, but then again, I think that
was part of the point. The assumption was that a busy site would do
certain things in the fastest way possible (ie mod_specweb) but that
some things would continue to be done the hard way (basic cgi). If
anyone does not have a copy of the C program you can get it from me or
from the specweb archives (part of the submittals).
Dave
Re: SPEC / mod_specweb99.c
Posted by Greg Ames <gr...@apache.org>.
MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1) wrote:
> Hi,
> Does anybody know if the mod_specweb99.c been 'blessed' by the SPEC
> committee ?..I mean, have they acknowledged that the module acts in a SPEC
> compliant manner?
No, they have not blessed it.
> I had a doubt regarding executing CGI scripts in SPECweb99 - somebody here
> told me that the SPEC mandates the web server to fork a child process to
> execute a CGI script - is that so ?.
Yes, that is so. You need to configure a SPEC CGI independently from
mod_specweb99. Fortunately this is only a tiny fraction of the workload.
In spite of the low frequency of CGI requests, I've seen multiple zombie CGI
processes hanging around quite often. Bill S. had a fix for
apr/unix/pools.c::free_proc_chain not too long ago that might help with the
zombies. Switching to a compiled CGI as Dave suggested wouldn't hurt either.
Greg
Re: SPEC / mod_specweb99.c
Posted by Sander Temme <sc...@covalent.net>.
> Does anybody know if the mod_specweb99.c been 'blessed' by the SPEC
> committee ?..I mean, have they acknowledged that the module acts in a SPEC
> compliant manner?
As far as I am aware, the module has not been used for benchmarks submitted
to the SPEC organization. That is the moment any code would get 'blessed':
SPEC validates the results and the way they were obtained and the
benchmarkee submits the API source code as part of this process.
> I had a doubt regarding executing CGI scripts in SPECweb99 - somebody here
> told me that the SPEC mandates the web server to fork a child process to
> execute a CGI script - is that so ?.
This is the case for Dynamic CGI GET requests. You set a special URL for
this in your rc file. All other dynamic requests can be processed by
in-process code and most if not all submittors have written code for this.
S.
--
Covalent Technologies sctemme@covalent.net
Engineering group Voice: (415) 856 4214
303 Second Street #375 South Fax: (415) 856 4210
San Francisco CA 94107
PGP Fingerprint: 7A8D B189 E871 80CB 9521 9320 C11E 7B47 964F 31D9