httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53239] New: Httpd has problems delivering data on rate-limited line
Date Wed, 16 May 2012 08:33:09 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53239

          Priority: P2
            Bug ID: 53239
          Assignee: bugs@httpd.apache.org
           Summary: Httpd has problems delivering data on rate-limited
                    line
          Severity: major
    Classification: Unclassified
                OS: Linux
          Reporter: bjornar.ness@gmail.com
          Hardware: PC
            Status: NEW
           Version: 2.5-HEAD
         Component: All
           Product: Apache httpd-2

Running httpd in a vm behind a rate-limited (tc, ingress 500kbps, 50kB burst)
line, httpd has problems delivering the data in time. If burst is set to more
than the actual data needed, everything is fine, but when burst is 50kB for
example, and total data is ~150kB, it transfers the first ~50kB quickly, and
then goes in for a huge lag (maby 20 secs) before transferring the rest slowly.
No memory or cpu restrictions. scp/ftp/lighttpd/nginx tested on the same vm
with the same (and much lower) shaping, and works as expected. Response time of
httpd is fine, its the transfer that seems to have a bug in it.

Using event model.


Server version: Apache/2.5.0-dev (Unix)
Server built:   May 16 2012 09:35:37
Server's Module Magic Number: 20120211:3
Server loaded:  APR 2.0.0-dev
Compiled using: APR 2.0.0-dev
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="/opt/apache"
 -D SUEXEC_BIN="/opt/apache/bin/suexec"
 -D DEFAULT_PIDLOG="logs/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"


Compiled in modules:
  core.c
  mod_authn_file.c
  mod_authn_dbm.c
  mod_authn_anon.c
  mod_authn_dbd.c
  mod_authn_socache.c
  mod_authn_core.c
  mod_authz_host.c
  mod_authz_groupfile.c
  mod_authz_user.c
  mod_authz_dbm.c
  mod_authz_owner.c
  mod_authz_dbd.c
  mod_authz_core.c
  mod_access_compat.c
  mod_auth_basic.c
  mod_auth_form.c
  mod_auth_digest.c
  mod_allowmethods.c
  mod_apreq2.c
  mod_file_cache.c
  mod_cache.c
  mod_cache_disk.c
  mod_socache_shmcb.c
  mod_socache_dbm.c
  mod_socache_memcache.c
  mod_so.c
  mod_watchdog.c
  mod_dbd.c
  mod_dumpio.c
  mod_firehose.c
  mod_echo.c
  mod_buffer.c
  mod_data.c
  mod_ratelimit.c
  mod_reqtimeout.c
  mod_ext_filter.c
  mod_request.c
  mod_include.c
  mod_filter.c
  mod_reflector.c
  mod_substitute.c
  mod_sed.c
  mod_charset_lite.c
  mod_deflate.c
  mod_xml2enc.c
  mod_proxy_html.c
  http_core.c
  mod_mime.c
  mod_log_config.c
  mod_log_debug.c
  mod_log_forensic.c
  mod_logio.c
  mod_env.c
  mod_mime_magic.c
  mod_expires.c
  mod_headers.c
  mod_usertrack.c
  mod_unique_id.c
  mod_setenvif.c
  mod_version.c
  mod_remoteip.c
  mod_proxy.c
  mod_proxy_connect.c
  mod_proxy_ftp.c
  mod_proxy_http.c
  mod_proxy_fcgi.c
  mod_proxy_scgi.c
  mod_proxy_fdpass.c
  mod_proxy_ajp.c
  mod_proxy_balancer.c
  mod_proxy_express.c
  mod_session.c
  mod_session_cookie.c
  mod_session_dbd.c
  mod_slotmem_shm.c
  mod_slotmem_plain.c
  mod_ssl.c
  mod_dialup.c
  mod_lbmethod_byrequests.c
  mod_lbmethod_bytraffic.c
  mod_lbmethod_bybusyness.c
  mod_lbmethod_heartbeat.c
  event.c
  mod_unixd.c
  mod_heartbeat.c
  mod_heartmonitor.c
  mod_dav.c
  mod_status.c
  mod_autoindex.c
  mod_asis.c
  mod_info.c
  mod_cgid.c
  mod_dav_fs.c
  mod_dav_lock.c
  mod_vhost_alias.c
  mod_negotiation.c
  mod_dir.c
  mod_actions.c
  mod_speling.c
  mod_userdir.c
  mod_alias.c
  mod_rewrite.c


Attached strace of downloading a file

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message