https://bz.apache.org/bugzilla/show_bug.cgi?id=62668
Bug ID: 62668
Summary: httpd threads spinning at 100%
Product: Apache httpd-2
Version: 2.5-HEAD
Hardware: PC
OS: FreeBSD
Status: NEW
Severity: critical
Priority: P2
Component: Core
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 36126
--> https://bz.apache.org/bugzilla/attachment.cgi?id=36126&action=edit
gdb thread apply all backtrace
Somewhere between 2018-06-20 and 2018-07-17 there's been a change in trunk that
makes multiple threads spin at 100% after requests have been processed.
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
www 79187 251.8 1.6 155612 131724 - IJ 15:04 28:05.18
/usr/local/sbin/httpd -DNOHTTPACCEPT
www 79256 151.2 0.7 133076 59624 - IJ 15:04 17:34.26
/usr/local/sbin/httpd -DNOHTTPACCEPT
root 79173 0.0 0.2 24404 18872 - SsJ 15:04 0:00.32
/usr/local/sbin/httpd -DNOHTTPACCEPT
the only solution I've found is a full restart apache (httpd -k graceful
doesn't suffice). Problem arises again almost instantly.
A trunk snapshot from 2018-06-20 does not exhibit this behavior.
Platform: FreeBSD 11.2-p1 amd64
OpenSSL 1.1.1pre9 (from ports)
# httpd -V
Server version: Apache/2.5.1-dev (FreeBSD)
Server built: Sep 1 2018 14:20:24
Server's Module Magic Number: 20180720:7
Server loaded: APR 1.6.3, APR-UTIL 1.6.1, PCRE 8.42 2018-03-20
Compiled using: APR 1.6.3, APR-UTIL 1.6.1, PCRE 8.42 2018-03-20
Architecture: 64-bit
Server MPM: event
threaded: yes (fixed thread count)
forked: yes (variable process count)
Server compiled with....
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses disabled)
-D APR_USE_FLOCK_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=256
-D HTTPD_ROOT="/usr/local"
-D SUEXEC_BIN="/usr/local/bin/suexec"
-D DEFAULT_PIDLOG="httpd.pid"
-D DEFAULT_SCOREBOARD="apache_runtime_status"
-D DEFAULT_ERRORLOG="/var/log/httpd-error.log"
-D AP_TYPES_CONFIG_FILE="etc/apache25/mime.types"
-D SERVER_CONFIG_FILE="etc/apache25/httpd.conf"
# httpd -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_event_module (static)
authn_file_module (shared)
authn_core_module (shared)
authz_host_module (shared)
authz_groupfile_module (shared)
authz_user_module (shared)
authz_core_module (shared)
auth_basic_module (shared)
auth_digest_module (shared)
socache_shmcb_module (shared)
reqtimeout_module (shared)
include_module (shared)
filter_module (shared)
deflate_module (shared)
brotli_module (shared)
mime_module (shared)
log_config_module (shared)
env_module (shared)
expires_module (shared)
headers_module (shared)
setenvif_module (shared)
proxy_module (shared)
proxy_connect_module (shared)
proxy_http_module (shared)
proxy_fcgi_module (shared)
ssl_module (shared)
unixd_module (shared)
status_module (shared)
autoindex_module (shared)
negotiation_module (shared)
dir_module (shared)
alias_module (shared)
rewrite_module (shared)
http2_module (shared)
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]