Apache 2.4 graceful restart is killing connections -


i have rhel7.2 apache 2.4.6 (from rhel repository) using event-mpm. when graceful restart using following command, active connections terminated.

/usr/sbin/httpd -f /path/to/httpd.conf -k graceful 

everything have read suggests should not case. worker processes/threads should complete active connections before being terminated , replaced new worker new config.

i tested using jmeter , using ab on 'large' files (~15mb). seeing problem on small 1kb files also, able reliably reproduce problem on jmeter , not ab. using larger file highlights problem more reliably there higher chance of reload happening during active connection.

for more background, thinking behaviour seeing jmeter (but not ab) new connections failing during brief time master listening process reloading , refusing new connections. did not make sense os meant queue new connections. when investigated possibility killing existing connections , tried larger files.

any thoughts on may going on here, how can test further , possibly how resolve?

here apache info, if helps:

server version: apache/2.4.6 (red hat enterprise linux) server built:   jul 12 2016 05:02:54 server's module magic number: 20120211:24 server loaded:  apr 1.4.8, apr-util 1.5.2 compiled using: apr 1.4.8, apr-util 1.5.2 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 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=256  -d httpd_root="/etc/httpd"  -d suexec_bin="/usr/sbin/suexec"  -d default_pidlog="/run/httpd/httpd.pid"  -d default_scoreboard="logs/apache_runtime_status"  -d default_errorlog="logs/error_log"  -d ap_types_config_file="conf/mime.types"  -d server_config_file="conf/httpd.conf" 


Comments

Popular posts from this blog

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -