Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Bugs

[Bug 52759] Apache httpd child process consuming high CPU Utilization.

 

 

Apache bugs RSS feed   Index | Next | Previous | View Threaded


bugzilla at apache

Feb 24, 2012, 4:20 AM

Post #1 of 8 (954 views)
Permalink
[Bug 52759] Apache httpd child process consuming high CPU Utilization.

https://issues.apache.org/bugzilla/show_bug.cgi?id=52759

Eric Covener <covener [at] gmail> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO

--- Comment #1 from Eric Covener <covener [at] gmail> 2012-02-24 12:20:31 UTC ---
please collect and post periodic backtraces and ps output.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

Mar 9, 2012, 2:35 AM

Post #2 of 8 (910 views)
Permalink
[Bug 52759] Apache httpd child process consuming high CPU Utilization. [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=52759

--- Comment #2 from Hiren Patel <hirenpatel5684 [at] yahoo> 2012-03-09 10:35:49 UTC ---
Created attachment 28444
--> https://issues.apache.org/bugzilla/attachment.cgi?id=28444
pstack and gdb trace output...

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

Mar 9, 2012, 2:41 AM

Post #3 of 8 (922 views)
Permalink
[Bug 52759] Apache httpd child process consuming high CPU Utilization. [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=52759

Hiren Patel <hirenpatel5684 [at] yahoo> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

Mar 9, 2012, 2:45 AM

Post #4 of 8 (913 views)
Permalink
[Bug 52759] Apache httpd child process consuming high CPU Utilization. [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=52759

--- Comment #3 from Hiren Patel <hirenpatel5684 [at] yahoo> 2012-03-09 10:45:41 UTC ---
Created attachment 28445
--> https://issues.apache.org/bugzilla/attachment.cgi?id=28445
updated backtrace output of gdb

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

Mar 9, 2012, 2:50 AM

Post #5 of 8 (914 views)
Permalink
[Bug 52759] Apache httpd child process consuming high CPU Utilization. [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=52759

--- Comment #4 from Hiren Patel <hirenpatel5684 [at] yahoo> 2012-03-09 10:50:08 UTC ---
Created attachment 28446
--> https://issues.apache.org/bugzilla/attachment.cgi?id=28446
ps output

output of ps command...

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

Mar 9, 2012, 10:57 AM

Post #6 of 8 (913 views)
Permalink
[Bug 52759] Apache httpd child process consuming high CPU Utilization. [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=52759

--- Comment #5 from Rainer Jung <rainer.jung [at] kippdata> 2012-03-09 18:57:11 UTC ---
The problem seems to happen, when mod_jk reveiced the final package from the
AJP back end and at the end of the response request cycle calls
ap_finalize_request_protocol(). The connection to the client is an HTTPS
connection and maybe it happens during lingering close? Was the lsof taken
during the spining CPU? The lsof output does not contain the client connection,
so it seems that connection was already closed.

The loop seems to be in OpenSSL. What looks suspicious in the dumps is
len=0x7fff95282a50 in ssl_io_input_read().

I don't have a real recommendation here.

Rainer

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

Mar 9, 2012, 9:46 PM

Post #7 of 8 (922 views)
Permalink
[Bug 52759] Apache httpd child process consuming high CPU Utilization. [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=52759

--- Comment #6 from Hiren Patel <hirenpatel5684 [at] yahoo> 2012-03-10 05:46:02 UTC ---
Yes, lsof output was taken when Apache process was taking high cpu..
openssl version is 0.9.8b

Is this issue related to socket connection or timeouts as in worker.properties
we have not set any timeouts??

or is it related to application which is not closing connections properly??

I have gone through many forums for this issue...

setting value for CFLAGS=NO_LINGERCLOSE and then building apache again..

whether increasing the ulimit (no of open files) help ??

Please help as this issue is impacting production servers...

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

Mar 10, 2012, 2:55 AM

Post #8 of 8 (922 views)
Permalink
[Bug 52759] Apache httpd child process consuming high CPU Utilization. [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=52759

--- Comment #7 from Rainer Jung <rainer.jung [at] kippdata> 2012-03-10 10:55:03 UTC ---
I don't see any relation to mod_jk settings. The stacks show the code is
looping in the HTTPS handling of the client/browser connection. The lsof output
shows, that the connection no longer exists. So it seems some error condition
is not handled properly around OpenSSL/mod_ssl.

Your Apache and OpenSSL versions are pretty old. Any chance to update and
retest? It might well be some problem fixed long ago.

Regards,

Rainer

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd

Apache bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.