This is a discussion on CPU Loading 100% on Linux kernel 2.4 within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hello, I compiled the apache 2.2.3 source code on Jun and use it. I watched the CPU usage (...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello,
I compiled the apache 2.2.3 source code on Jun and use it. I watched the CPU usage (top), the httpd processes show the CPU loading is 100%, but the web service just serves static html pages. There are many error in the error_log: ------------------------------------ .... same as below [error] Optional hook test said: GET /PAHT/file HTTP/1.1 [error] Optional hook test said: GET /PAHT/file HTTP/1.1 [error] Optional hook test said: GET /PAHT/file HTTP/1.1 [error] Optional hook test said: GET /PAHT/file HTTP/1.1 .... same as above ------------------------------------ We have configure the httpd.conf and use MPM Worker: ------------------------------------ <IfModule mpm_worker_module> StartServers 3 MaxClients 500 ServerLimit 50 MinSpareThreads 50 MaxSpareThreads 200 ThreadLimit 200 ThreadsPerChild 100 MaxRequestsPerChild 200 </IfModule> ------------------------------------ Does any warn config of the files? Or I need upgrade the httpd to 2.2.6? Could you please tell why the CPU loading is 100% by httpd. Any ideas are welcome. Thanks very much for your helping. Steven Liao |
|
|||
|
On Fri, 07 Dec 2007 17:50:34 +0800
Tzu-Yi Liao <steven@eic.com.tw> wrote: > [error] Optional hook test said: GET /PAHT/file HTTP/1.1 That's coming from some experimental module, that doesn't appear to be designed for operational use. Clearly you're running something you forgot to tell us about. -- Nick Kew Application Development with Apache - the Apache Modules Book http://www.apachetutor.org/ |
|
|||
|
On 12$B7n(B7$BF|(B, $B2<8a(B6$B;~(B48$BJ,(B, Nick Kew <n...@grimnir.webthing.com> wrote:
> On Fri, 07 Dec 2007 17:50:34 +0800 > > Tzu-Yi Liao <ste...@eic.com.tw> wrote: > > [error] Optional hook test said: GET /PAHT/file HTTP/1.1 > > That's coming from some experimental module, that doesn't > appear to be designed for operational use. Clearly you're > running something you forgot to tell us about. > > -- > Nick Kew > > Application Development with Apache - the Apache Modules Bookhttp://www.apachetutor.org/ Dear Nick, Thank you so much for replying this message. I show my servers and modules information to you. * Apache/2.2.4 (Unix) mod_ssl/2.2.4 OpenSSL/0.9.6b mod_jk2/2.0.4 * Tomcat 4.1.21-LE-jdk14 * connector 2.0.4 hardware & OS information: OS: Redhat Linux Enterprise 2 CPU: Itanium 2 * 2 RAM: 1024 MB We have two web servers (use load balancing) and connect (connector 2.0.4) to tomcat server. But our web server (just serve the static files) is always busy, the CPUs' loading is 100%, and the error_log show errors as my first message: ------------------------------------ .... same as below [Mon Dec 10 10:08:36 2007] [error] Optional hook test said: GET /ds/kw/ common/js/Util.js HTTP/1.1 [Mon Dec 10 10:08:37 2007] [error] Optional hook test said: GET /ds/kw/ common/js/check.js HTTP/1.1 [Mon Dec 10 10:08:37 2007] [error] Optional hook test said: GET /ds/kw/ version/js/funcs.js HTTP/1.1 [Mon Dec 10 10:08:37 2007] [error] Optional hook test said: GET /ds/ adbook/xml/org/0/1/82/82600.xml HTTP/1.1 [Mon Dec 10 10:08:37 2007] [error] Optional hook test said: GET /ds/kw/ common/js/check.js HTTP/1.1 [Mon Dec 10 10:08:37 2007] [error] Optional hook test said: GET /ds/kw/ version/profiles/global_system/sp_update/sp0001.xml HTTP/1.1 [Mon Dec 10 10:08:37 2007] [error] Optional hook test said: GET /ds/kw/ version/profiles/global_system/sp_update/sp0001.xml HTTP/1.1 [Mon Dec 10 10:08:37 2007] [error] Optional hook test said: GET /ds/kw/ version/profiles/global_system/sp_update/sp0001.xml HTTP/1.1 [Mon Dec 10 10:08:37 2007] [error] Optional hook test said: GET /ds/ adbook/xml/org/0/1/87/87900.xml HTTP/1.1 .... same as above ------------------------------------ Could you please help me the solve this problem? Thank you very much again. Steven |