MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1) wrote:
Hmmn. Interesting.

1. Did you include the cgid restart fix ?

I don't think so. It's the httpd-2.0.48 tarball + mod_specweb99.

2. Are you driving the server with the SPECweb99 recommended CGI load ?

DYNAMIC_CGI_GET=.005

I believe that's the standard.

Looking at server-status, I see the CGI URIs dominating the active server threads even with this tiny percentage of the total workload. I'm using the perl script shipped with SPECweb99. An obvious improvement would be to use a compiled C implementation. But I'm not very interested in setting records or making CGIs run fast. I'm more interested in speeding up mod_specweb99 and base Apache.

3. do you mind posting the httpd.conf

attached.

> Oh.. BTW I hope you're also using worker MPM .

[EMAIL PROTECTED] built]$ bin/httpd -l
Compiled in modules:
  core.c
  worker.c
  http_core.c
  mod_suexec.c
  mod_so.c

Greg
ServerRoot /home/gregames/apache/httpd-2.0.48/built
DocumentRoot /spec_docroot

User  webuser
Group staff

LoadModule specweb99_module  modules/mod_specweb99.so
LoadModule status_module     modules/mod_status.so
LoadModule info_module       modules/mod_info.so
LoadModule cgid_module       modules/mod_cgid.so

UseCanonicalName Off

Listen 80

<IfModule prefork.c>
ServerLimit     700  
MaxClients      450
StartServers     50
MinSpareServers   5
MaxSpareServers 100
</IfModule>

<IfModule worker.c>
ServerLimit      50
StartServers      2 
MinSpareThreads   5
MaxSpareThreads  50
ThreadsPerChild  25
MaxClients     1000
</IfModule>

<IfModule leader.c>
ServerLimit      50
StartServers      3
MinSpareThreads   5
MaxSpareThreads 100
ThreadsPerChild  25
MaxClients     1000
</IfModule>

# in case mod_mime isn't loaded
DefaultType text/html

# Assume no memory leaks at all
MaxRequestsPerChild 0

# it's always nice to know the server has started
#LogLevel debug
ErrorLog logs/error_log

# Some benchmarks require logging, which is a good requirement.  Uncomment
# this if you need logging.
#TransferLog logs/access_log

<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>

<Directory /spec_docroot/cgi-bin >
    Options ExecCGI
    SetHandler cgi-script
</Directory>

# might want to disable ExtendedStatus to do serious runs
ExtendedStatus On
<Location /server-status>
    SetHandler server-status
</Location>

<Location /server-info>
    SetHandler server-info
</Location>

Reply via email to