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 2005/12/18 18:49:54 UTC

DO NOT REPLY [Bug 37955] New: - httpd 2.2.0 consumes 100% of CPU

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37955>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37955

           Summary: httpd 2.2.0 consumes 100% of CPU
           Product: Apache httpd-2
           Version: 2.2.0
          Platform: Macintosh
        OS/Version: other
            Status: NEW
          Severity: major
          Priority: P2
         Component: All
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: distler@golem.ph.utexas.edu


On MacOSX 10.4, httpd 2.2.0, with either prefork MPM or worker MPM. On first
launch, all seems normal. But, after a random amount of time, individual child
servers start consuming 100% of CPU.

Httpd 2.0.55 worked fine. Httpd 2.3.0-dev works fine. 2.20 is bad mojo.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 37955] - httpd 2.2.0 consumes 100% of CPU

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37955>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37955





------- Additional Comments From dev-apache.org@humph.com  2006-05-15 13:43 -------
Created an attachment (id=18288)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=18288&action=view)
sample of runaway httpd 2.2.2 child

(In reply to comment #9)

Unfortunately it was only a question of a couple of hours and a child started
at 12:13 got stuck at 12:26 taking 100% cpu (half of the two processor
machine). The trace is very similar to the one posted by Jacques although the
OS version is different (10.3.9 instead of 10.4.x). I am attaching the trace
(10ms for 20s). I am under the impression that all these stuck children were
serving some proxy server.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 37955] - httpd 2.2.0 consumes 100% of CPU

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37955>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37955





------- Additional Comments From chip@force-elite.com  2006-05-24 15:40 -------
It doesn't look like your httpd is picking up an APR with KQueue/KEvent Disabled.

If they were disabled like they should be, you would only see select() calls
under pollset_poll().

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 37955] - httpd 2.2.0 consumes 100% of CPU

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37955>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37955





------- Additional Comments From dev-apache.org@humph.com  2006-05-23 19:16 -------
Created an attachment (id=18335)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=18335&action=view)
trace for runaway httpd2.2.2 process with apr1.2.7

some more info, using apr1.2.7: most processes using nearly 100% cpu seem stuck
in the following loop:

Breakpoint 4, 0x001b9934 in apr_pollset_add ()
(gdb) 
Continuing.

Breakpoint 2, 0x9002e820 in kevent ()
(gdb) 
Continuing.

Breakpoint 2, 0x9002e820 in kevent ()
(gdb) 
Continuing.

Breakpoint 3, 0x9000ed40 in read ()
(gdb) 
Continuing.

Breakpoint 2, 0x9002e820 in kevent ()
(gdb) 
Continuing.

Breakpoint 4, 0x001b9934 in apr_pollset_add ()

and so on.
I am attaching the gdb trace for that same process.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 37955] - httpd 2.2.0 consumes 100% of CPU

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37955>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37955





------- Additional Comments From ladd@spiny.com  2005-12-29 03:34 -------
(In reply to comment #4)
> Sample of 2.2 using 100% CPU on Mac OS 10.4.3

Potentially relevant -- I have mod_proxy enabled, and use it to forward requests to Tomcat.


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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 37955] - httpd 2.2.0 consumes 100% of CPU

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37955>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37955





------- Additional Comments From distler@golem.ph.utexas.edu  2005-12-18 19:34 -------
Alas, I can't, as I had to pull it off the server and replace it with 2.3.0-dev.

But this is *not* an APR issue. Both the misbehaving 2.2.0 and the well-behaved
2.3.0-dev are using the *same* installed version of APR (1.2.2), which came with
the 2.2.0 distribution (and was installed as /usr/local/apr/ , as per the
installation instructions).

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 37955] - httpd 2.2.0 consumes 100% of CPU

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37955>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37955


chip@force-elite.com changed:

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




------- Additional Comments From chip@force-elite.com  2006-05-15 14:18 -------
Cause: Broken KQueue Support.

Resolution: Upgrade to at least APR 1.2.7, where we disable KQueue on ALL
versions of OSX, since it has proven itself to be unstable. (And instead use
Select).  I believe Apple also already knows about the problems with KQueue.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 37955] - httpd 2.2.0 consumes 100% of CPU

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37955>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37955


jorton@redhat.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From jorton@redhat.com  2006-11-28 06:16 -------
Is looks like the remaining problem here was the old version of APR being picked
up.  This should be resolved by building 2.2.3 and passing the
"--with-included-apr" flag to configure.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 37955] - httpd 2.2.0 consumes 100% of CPU

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37955>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37955





------- Additional Comments From dev-apache.org@humph.com  2006-05-16 21:47 -------
Thanks Paul, I have upgraded the server to apr and apr-utils 1.2.7. Will let you know if the problem 
resurfaces.
Giuliano

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 37955] - httpd 2.2.0 consumes 100% of CPU

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37955>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37955





------- Additional Comments From ladd@spiny.com  2005-12-29 03:32 -------
Created an attachment (id=17291)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=17291&action=view)
Sample of 2.2 using 100% CPU on Mac OS 10.4.3

Here the output of the sample command. This was running on a dual G5 with Mac
OS X 10.4.3

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 37955] - httpd 2.2.0 consumes 100% of CPU

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37955>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37955


dev-apache.org@humph.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Additional Comments From dev-apache.org@humph.com  2006-05-17 00:47 -------
(In reply to comment #12)

actually, as I said I had compiled httpd-2.2.2 after upgrading apr and apr-utils to the version 
distributed with httpd itself and apache already reported the apr version as 1.2.7:

sudo /usr/local/apache2/bin/httpd -V
Password:
Server version: Apache/2.2.2
Server built:   May 14 2006 11:00:58
Server's Module Magic Number: 20051115:2
Server loaded:  APR 1.2.7, APR-Util 1.2.7
Compiled using: APR 1.2.7, APR-Util 1.2.7
Architecture:   32-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT="/usr/local/apache2"
 -D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"

And indeed even the version compiled with apr-1.2.7  I just installed (apr and apr-util) has now got two 
children taking 100% cpu. So I have reopened the bug.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 37955] - httpd 2.2.0 consumes 100% of CPU

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37955>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37955


chip@force-elite.com changed:

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




------- Additional Comments From chip@force-elite.com  2005-12-18 19:20 -------
Can you attach GDB to one of the processes that is consuming 100% CPU, and see
what it is doing?

What is your exact version of MacOSX? 10.4.3?

10.4.3 did include some fixes for kqueue... I am wondering if there is still
something wrong with it.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 37955] - httpd 2.2.0 consumes 100% of CPU

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37955>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37955





------- Additional Comments From dev-apache.org@humph.com  2006-02-22 15:45 -------
sorry to poke in, but I have a very similar situation, only that it is on MacOSX10.3.9. It's a dual proc G5, 
running httpd 2.2.0. At the moment I have two processes taking nearly 100% cpu, both stuck in read() 
as fs_usage says. The traces seem different, but this might just be because I did not go further. Here is 
one trace:


#0  0x9000ed48 in read ()
#1  0x001dc89c in apr_socket_recv ()
#2  0x001653d8 in socket_bucket_read ()
#3  0x00166c0c in apr_brigade_split_line ()
#4  0x00013b08 in ap_add_common_vars ()
#5  0x00011268 in ap_clear_pool ()
#6  0x000117dc in ap_push_array ()
#7  0x00011f44 in ap_table_unset ()
#8  0x00021bcc in ap_escape_errorlog_item ()
#9  0x0001c46c in ap_vrprintf ()
#10 0x0002a9ec in p_simp_re ()
#11 0x0002ab98 in p_simp_re ()
#12 0x0002ae38 in p_bracket ()
#13 0x0002b2f4 in p_b_term ()
#14 0x0000328c in expand_lock_fname ()
#15 0x00001cfc in ?? ()
#16 0x8fe1a278 in __dyld__dyld_start ()

This server serves php pages, but the stuck process seems to have stopped on static ones, so I am not 
sure if to give the blame to libphp5.so.

If clearly unrelated to this bug, please let me know and  will create a new one.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 37955] - httpd 2.2.0 consumes 100% of CPU

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37955>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37955





------- Additional Comments From dev-apache.org@humph.com  2006-05-15 09:15 -------
I think I have found a solution at least for my problem of 100% CPU usage on dual processor machines on 
MacOSX 10.3.9 (the only dual processor I tested apache2 on, so it might apply to 10.4.x too).
Upgrading from http-2.2.0 to http-2.2.2 did not change a thing, so I decided to rebuild apr 1.2 as 
indicated in http://www.humph.com/manual/install.html . The I proceded rebuilding apache as per 
instruction at the same page, and the new version has now been running for 24 hours with no cpu 
hogging. I must add that the once in a while, stress testing from the localhost using "ab", an httpd child 
process crashes. I will submit a bug report on that. I hope someone will read this and see if that solves the 
problem. I am not sure if  Jacques Distler installed only apr-httpd or also apr-util-httpd when testing for 
this bug report. It might also be that I have to wait for longer to see the bug resurfacing.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 37955] - httpd 2.2.0 consumes 100% of CPU

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37955>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37955





------- Additional Comments From distler@golem.ph.utexas.edu  2005-12-18 19:57 -------
It may be relevant that all the above were compiled with XCode 2.2 on MacOSX
10.4.3. There may be some relevant differences between XCode 2.2 and earlier
versions of the Developer Tools.

See http://golem.ph.utexas.edu/~distler/blog/archives/000698.html#c003078

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 37955] - httpd 2.2.0 consumes 100% of CPU

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37955>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37955





------- Additional Comments From distler@golem.ph.utexas.edu  2006-01-23 03:47 -------
Hmmm. This may be an unrelated (and, so far, unreproduceable) problem. In this
instance, the error-log had entries of the form

httpd(9832) malloc: ***  Deallocation of a pointer not malloced: 0x193c800; This
could be a double free(), or free() called with the middle of an allocated
block; Try setting environment variable MallocHelp to see tools to help debug


whereas, with the superficially similar behaviour in 2.2, there were no entries
in the error log.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 37955] - httpd 2.2.0 consumes 100% of CPU

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37955>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37955





------- Additional Comments From distler@golem.ph.utexas.edu  2006-01-23 02:18 -------
Rather than taking a few hours, as under 2.2, 2.3-dev does eventually succumb to
this problem, but it may take days or weeks.

Here's a backtrace of an errant child server, consuming 100% of one of the
machine's 2 processors (MacOSX 1.4.4, httpd 2.3-dev-20051217052534):

#0  0x9001452c in write ()
#1  0x9012ae30 in _simple_vdprintf ()
#2  0x90126b68 in malloc_printf ()
#3  0x90006468 in free ()
#4  0x003c226c in apr_allocator_destroy (allocator=0x5a4140) at
memory/unix/apr_pools.c:111
#5  0x00028d64 in clean_child_exit (code=0) at prefork.c:196
#6  0x00029490 in child_main (child_num_arg=32) at prefork.c:660
#7  0x000295e4 in make_child (s=0x28e9c, slot=1) at prefork.c:736
#8  0x00029ef0 in ap_mpm_run (_pconf=0x1, plog=0x0, s=0x1) at prefork.c:871
#9  0x00003e60 in main (argc=3, argv=0xbffffe30) at main.c:712

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org