Hi Mangesh,

Thanks for the response.

Following is output of top:


  CPU          LOAD   USER   NICE    SYS   IDLE  BLOCK  SWAIT          INTR     
     SSYS
   0   34.09  98.0%   0.0%   2.0%   0.0%   0.0%   0.0%        0.0%          0.0%
  50   34.05  99.0%   0.0%   1.0%   0.0%   0.0%   0.0%      0.0%          0.0%
  ---              ----  -----  -----  -----  -----  -----  -----    -----  
-----
  avg  34.07  98.6%   0.0%   1.4%   0.0%   0.0%   0.0%     0.0%          0.0%


Here httpd consumes 98.6% user CPU, due to which httpd can’t process new 
requests, so web pages don’t open up properly.

Regards,
Vamsi.

From: Mangesh Sawant [mailto:m.v.saw...@gmail.com]
Sent: Monday, June 10, 2013 12:24 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Apache 2.2.15 - 100% CPU utillization

Is machine you are using has only one CPU ??
If no top command shows cumulative usage all CPUs.
Then actual CPU usage is = % shown by top comand/no of CPUs.


On Mon, Jun 10, 2013 at 2:24 AM, Vattikuti, Vamsi Krishna Venkata (STSD) 
<vam...@hp.com<mailto:vam...@hp.com>> wrote:

Hi,



We are running Apache 2.2.15 on HP-UX. It consumes 100% CPU. Can you please let 
me know if it is known issue



Stack trace:



Thread 22 (system thread 1947121):

#0  0x40000000000977f0:2 in ap_core_input_filter () at core_filters.c:136

#1  0x40000000000c3f50:0 in ap_get_brigade () at util_filter.c:489

#2  0xc000000000ac76c0:0 in logio_in_filter () at mod_logio.c:129

#3  0x40000000000c3f50:0 in ap_get_brigade () at util_filter.c:489

#4  0x4000000000074980:0 in ap_rgetline_core () at protocol.c:231

#5  0xc000000004a33580:0 in ap_proxygetline () at mod_proxy_http.c:1658

#6  0xc000000004a338c0:0 in ap_proxy_http_process_response () at mod_proxy_http.

c:1733

#7  0xc000000004a35ee0:0 in proxy_http_handler () at mod_proxy_http.c:2434

#8  0xc000000004929a10:0 in proxy_run_scheme_handler () at mod_proxy.c:2675

#9  0xc000000004928b60:0 in proxy_handler () at mod_proxy.c:1024

#10 0x400000000009d2d0:0 in ap_run_handler ()

#11 0x400000000009e9e0:0 in ap_invoke_handler () at config.c:381

#12 0x40000000000cdec0:0 in ap_process_request () at http_request.c:282

13 0x40000000000c5a40:0 in ap_process_http_connection () at http_core.c:190

#14 0x40000000000b8d20:0 in ap_process_connection () at connection.c:189

#15 0x40000000000de4c0:0 in process_socket () at worker.c:590

#16 0x40000000000df860:0 in worker_thread () at worker.c:974

#17 0xc000000006f95200:0 in dummy_worker () at threadproc/unix/thread.c:160

#18 0xc00000000013fb20:0 in __pthread_bound_body () at /ux/core/libs/threadslibs

/src/common/pthreads/pthread.c:4875





core_filters.c:



126    if (!ctx)

127    {

128        ctx = apr_pcalloc(f->c->pool, sizeof(*ctx));

129        ctx->b = apr_brigade_create(f->c->pool, f->c->bucket_alloc);

130        ctx->tmpbb = apr_brigade_create(ctx->b->p, ctx->b->bucket_alloc);

131        /* seed the brigade with the client socket. */

132        e = apr_bucket_socket_create(net->client_socket, f->c->bucket_alloc);

133        APR_BRIGADE_INSERT_TAIL(ctx->b, e);

134        net->in_ctx = ctx;

135    }

136    else if (APR_BRIGADE_EMPTY(ctx->b)) {

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

137        return APR_EOF;

138    }

Thanks,
Vamsi.



--
Thanks And Regards ,
Mangesh Sawant .

Reply via email to