Hello Mark,

 

Thanks for the reply.

 

Our apache is configured with cgi bin scripts which will fetch data from the 
database when 

requested by the users.

 

Attaching the httpd.conf file for your reference.

 



--- On Thu, 7/15/10, Mark Watts <[email protected]> wrote:

From: Mark Watts <[email protected]>
Subject: Re: [us...@httpd] Apache Process Consuming High CPU resources
To: [email protected]
Date: Thursday, July 15, 2010, 4:57 PM

On Thu, 2010-07-15 at 03:54 -0700, Amol Puglia wrote:
> Hello Team,
>  
> We have recently installed apache and it is consuming high cpu
> resources.
>  
> Apache Version :- 2.0.59
>  
> Operating System : Solaris Sparc 5.10
>  
> kindly help us to troubleshoot issue
> 

You need to give more information on what you are doing with the server
and how its configured.


-- 
Mark Watts BSc RHCE MBCS
Senior Systems Engineer, Managed Services Manpower
www.QinetiQ.com
QinetiQ - Delivering customer-focused solutions
GPG Key: http://www.linux-corner.info/mwatts.gpg



      
ServerName gordonvcp1.sw.ericsson.se
Listen gordonvcp1.sw.ericsson.se:80

User Wgordon
Group Wgordon
ServerRoot "/opt/web/apache/app/gordon"
ServerAdmin [email protected]


include /opt/pgm/isuf/1.3/apache/includes/httpd2.std
include /opt/pgm/isuf/1.3/apache/includes/mod_ssl2.inc
LoadModule ssl_module modules/mod_ssl.so

<IfModule mod_caucho.c>
   CauchoConfigFile /opt/app/gordon/resin/conf/resin.conf
</IfModule>

AddType text/html .shtml
AddHandler server-parsed .shtml

DirectoryIndex index.html index.htm

DocumentRoot "/opt/app/gordon/docs"

CustomLog "|/opt/web/apache/app/gordon/bin/rotatelogs 
/opt/web/apache/app/gordon/logs/access_log 86400" combined
ErrorLog logs/error_log

<Directory "/opt/app/gordon/docs">
    Options -Indexes +FollowSymLinks -MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

<IfModule mod_alias.c>
    ScriptAlias /cgi-bin/ "/opt/app/gordon/cgi-bin/"
    <Directory "/opt/app/gordon/cgi-bin">
        AllowOverride None
        Options +FollowSymLinks
        Order allow,deny
        Allow from all
    </Directory>
</IfModule>

<IfDefine SSL>
   Listen gordonvcp1.sw.ericsson.se:443

   <VirtualHost _default_:443>

      DocumentRoot "/opt/app/gordon/docs"
      ServerAdmin [email protected]

      SSLEngine on

      SSLCertificateFile    conf/ssl.crt/gordon.ericsson.se.crt
      SSLCertificateKeyFile conf/ssl.key/gordon.ericsson.se.key

#      SSLCertificateFile    conf/ssl.crt/gordonvcp1.sw.ericsson.se.crt
#      SSLCertificateKeyFile conf/ssl.key/gordonvcp1.sw.ericsson.se.key

      SSLCipherSuite 
!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL

      <Files ~ "\.(cgi)$">
         SSLOptions +StdEnvVars
      </Files>

      <Location /cgi-bin">
          SSLOptions +StdEnvVars
      </Location>

      SetEnvIf User-Agent ".*MSIE [1-5].*" nokeepalive ssl-unclean-shutdown 
downgrade-1.0 force-response -1.0
      SetEnvIf User-Agent ".*MSIE [6-9].*" ssl-unclean-shutdown

   </VirtualHost>

</IfDefine>

ScriptLog logs/userlogs/scriptlog

ScriptSock /opt/web/apache/app/gordon/logs/userlogs/scriptsock

PassEnv LD_LIBRARY_PATH
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [email protected]
   "   from the digest: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to