You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/07/25 15:00:44 UTC

DO NOT REPLY [Bug 45483] New: Orphan thread consume 100% cpu

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

           Summary: Orphan thread consume 100% cpu
           Product: Apache httpd-2
           Version: 2.2.9
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: esuran@generali.fr


We run Apache as reverse proxy cache in front of our web servers, with worker
as MPM. After upgrade from 2.2.7 to 2.2.9 we experience the following issue:
After a while, a thread consumes a whole CPU, his parent process is already
dead so it has been attached to the root HTTPD process.
In some cases, Apache do not listen anymore for incoming connections.

I guess the problem appears when the MaxRequestsPerChild connections has been
reached and the parent process is stopped.

The error log file shows errors like:
[Thu Jul 24 23:42:39 2008] [notice] child pid 18239 exit signal Segmentation
fault (11)
but we cannot link the time of occurrences with the moment the cpu is fully
used.

strace does not show anything, we do not manage to make thread generate a core
dump.

Regards.


-- 
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@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45483] Orphan thread consume 100% cpu

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45483

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #6 from Eric Covener <co...@gmail.com> 2011-08-07 15:46:49 UTC ---
assuming dup of 45362 fixed in 2.2.11

*** This bug has been marked as a duplicate of bug 45362 ***

-- 
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@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45483] Orphan thread consume 100% cpu

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45483





--- Comment #4 from todd_643@yahoo.com  2009-06-23 10:20:55 PST ---
Created an attachment (id=23859)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23859)
ZIP file containing DrWatson log and stacktrace

-- 
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@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45483] Orphan thread consume 100% cpu

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45483


todd_643@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |todd_643@yahoo.com




-- 
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@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45483] Orphan thread consume 100% cpu

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45483


hdeheer@mirabeau.nl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hdeheer@mirabeau.nl




-- 
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@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45483] Orphan thread consume 100% cpu

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45483


Will Rowe <wr...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEEDINFO




--- Comment #3 from Will Rowe <wr...@apache.org>  2009-04-07 09:59:28 PST ---
See http://httpd.apache.org/dev/debugging.html for more hints about clobbering
a runaway process with a successful stack trace.

-- 
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@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45483] Orphan thread consume 100% cpu

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45483





--- Comment #5 from todd_643@yahoo.com  2009-06-23 10:22:50 PST ---
I am experiencing similar symptoms of CPU locking up on apache 2.2.8 and 2.2.11
with mod_proxy and mod_rewrite in reverse proxy mode.

I realize that I may be hijacking this thread/bug because my Env is Win2K3 but
I am really interested in knowing what this issues are and hope that the stack
trace/dr. watson log helps (see attachment above).

-- 
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@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45483] Orphan thread consume 100% cpu

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45483


Ruediger Pluem <rp...@apache.org> changed:

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




--- Comment #1 from Ruediger Pluem <rp...@apache.org>  2008-07-25 09:10:29 PST ---
Please provide a backtrace of the spinning process.


-- 
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@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45483] Orphan thread consume 100% cpu

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45483


Eric Suran <es...@generali.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |ASSIGNED




--- Comment #2 from Eric Suran <es...@generali.fr>  2008-07-29 03:42:21 PST ---
I do not manage to get a backtrace. Here is the output from gdb :

# gdb -q /usr/local/apache/prod/bin/httpdprod 10614
(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
Attaching to program: /usr/local/apache/prod/bin/httpdprod, process 10614

Program exited with code 0360.
(gdb)


strace on pid does not shown any activity during several minutes.


-- 
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@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45483] Orphan thread consume 100% cpu

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45483


Carl ROLLER <cr...@generali.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |croller@generali.fr




-- 
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@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org