RE: SPEC / mod_specweb99.c

2003-02-20 Thread MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)
Oh Cool (and thanks for the inputs). Somebody here was suggesting that we
should get the module approved by the SPEC - so that it'll be more useful
:).. 

-Madhu

>-Original Message-
>From: Greg Ames [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, February 19, 2003 12:04 PM
>To: [EMAIL PROTECTED]
>Subject: Re: SPEC / mod_specweb99.c
>
>
>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

2003-02-19 Thread Greg Ames
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

2003-02-19 Thread David Hill


> 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

2003-02-19 Thread Sander Temme
> 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 [EMAIL PROTECTED]
Engineering groupVoice: (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




SPEC / mod_specweb99.c

2003-02-19 Thread MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)
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