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 2009/03/02 12:20:46 UTC

DO NOT REPLY [Bug 46785] New: Child process increases to 100% (CPU)

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

           Summary: Child process increases to 100% (CPU)
           Product: Apache httpd-2
           Version: 2.2.3
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Event MPM
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: est-c-marinho@ptinovacao.pt


Using Apache 2.2.3 acting as a proxy, renamed here as wap2d, i'm getting some
process at 100% of CPU.

Some times it crashes at apr_brigade_cleanup () and others at
apr_bucket_destroy_noop () (see gdb backtrace bellow).

Other times i get a segmentation fault but the core dump file says the same.

I hope that someone can help.

Here is the gdb backtrace:

Reading symbols from /usr/lib/httpd/modules/ptin_proxy_wap2_profiles.so...done.
Loaded symbols for /etc/httpd/modules/ptin_proxy_wap2_profiles.so
Reading symbols from /usr/lib/httpd/modules/ptin_proxy_wap2_http.so...done.
Loaded symbols for /etc/httpd/modules/ptin_proxy_wap2_http.so
Reading symbols from /usr/lib/httpd/modules/mod_proxy_connect.so...done.
Loaded symbols for /etc/httpd/modules/mod_proxy_connect.so
Reading symbols from /usr/lib/httpd/modules/mod_charset_lite.so...done.
Loaded symbols for /etc/httpd/modules/mod_charset_lite.so
Reading symbols from /usr/lib/httpd/modules/mod_substitute.so...done.
Loaded symbols for /etc/httpd/modules/mod_substitute.so
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
0x00fe8140 in apr_bucket_destroy_noop ()
   from /usr/lib/libaprutil-1.so.0
(gdb) where
#0  0x00fe8140 in apr_bucket_destroy_noop () from /usr/lib/libaprutil-1.so.0
#1  0x00fe84ef in apr_brigade_cleanup () from /usr/lib/libaprutil-1.so.0
#2  0x00fe852d in apr_brigade_cleanup () from /usr/lib/libaprutil-1.so.0
#3  0x0033cc7d in apr_pool_cleanup_run () from /usr/lib/libapr-1.so.0
#4  0x0033d5c7 in apr_pool_clear () from /usr/lib/libapr-1.so.0
#5  0x00736714 in ap_graceful_stop_signalled () from /usr/sbin/wap2d
#6  0x00736bf1 in ap_graceful_stop_signalled () from /usr/sbin/wap2d
#7  0x00736cca in ap_graceful_stop_signalled () from /usr/sbin/wap2d
#8  0x0073782b in ap_mpm_run () from /usr/sbin/wap2d
#9  0x0070e127 in main () from /usr/sbin/wap2d
(gdb) up
#1  0x00fe84ef in apr_brigade_cleanup () from /usr/lib/libaprutil-1.so.0
(gdb) up
#2  0x00fe852d in apr_brigade_cleanup () from /usr/lib/libaprutil-1.so.0
(gdb) up
#3  0x0033cc7d in apr_pool_cleanup_run () from /usr/lib/libapr-1.so.0
(gdb) up
#4  0x0033d5c7 in apr_pool_clear () from /usr/lib/libapr-1.so.0
(gdb) up
#5  0x00736714 in ap_graceful_stop_signalled () from /usr/sbin/wap2d
(gdb) up
#6  0x00736bf1 in ap_graceful_stop_signalled () from /usr/sbin/wap2d
(gdb) up
#7  0x00736cca in ap_graceful_stop_signalled () from /usr/sbin/wap2d
(gdb) up
#8  0x0073782b in ap_mpm_run () from /usr/sbin/wap2d
(gdb) up
#9  0x0070e127 in main () from /usr/sbin/wap2d
(gdb) up




Here is my config:

wap2d -M
Loaded Modules:
 core_module (static)
 mpm_prefork_module (static)
 http_module (static)
 so_module (static)
 auth_basic_module (shared)
 auth_digest_module (shared)
 authn_file_module (shared)
 authn_alias_module (shared)
 authn_anon_module (shared)
 authn_dbm_module (shared)
 authn_default_module (shared)
 authz_host_module (shared)
 authz_user_module (shared)
 authz_owner_module (shared)
 authz_groupfile_module (shared)
 authz_dbm_module (shared)
 authz_default_module (shared)
 ldap_module (shared)
 authnz_ldap_module (shared)
 include_module (shared)
 log_config_module (shared)
 logio_module (shared)
 env_module (shared)
 ext_filter_module (shared)
 mime_magic_module (shared)
 expires_module (shared)
 deflate_module (shared)
 headers_module (shared)
 usertrack_module (shared)
 setenvif_module (shared)
 mime_module (shared)
 dav_module (shared)
 status_module (shared)
 autoindex_module (shared)
 info_module (shared)
 dav_fs_module (shared)
 vhost_alias_module (shared)
 negotiation_module (shared)
 dir_module (shared)
 actions_module (shared)
 speling_module (shared)
 userdir_module (shared)
 alias_module (shared)
 rewrite_module (shared)
 proxy_module (shared)
 proxy_balancer_module (shared)
 proxy_ftp_module (shared)
 proxy_http_module (shared)
 proxy_connect_module (shared)
 cache_module (shared)
 suexec_module (shared)
 disk_cache_module (shared)
 file_cache_module (shared)
 mem_cache_module (shared)
 cgi_module (shared)
 version_module (shared)
 proxy_ajp_module (shared)
 ssl_module (shared)

Regards,
Carlos Marinho

-- 
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 46785] Child process increases to 100% (CPU)

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


Dan Poirier <po...@pobox.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
          Component|Event MPM                   |All




--- Comment #1 from Dan Poirier <po...@pobox.com>  2009-03-20 10:18:05 PST ---
I suggest moving to the current release (2.2.11 at the moment).  If you still
have problems, try commenting out all the modules you're not using.  If that
doesn't help, you'll probably have to provide your exact configuration and
detailed instructions for recreating the problem for someone to be able to
help. 

All I can tell from the stack trace is that something probably corrupted memory
at some time in the past, and apache tripped over it when it tried to clean up
during a normal shutdown.  So you might be able to catch the problem by
building APR with malloc and pool debugging enabled.

-- 
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