Skip to content
  1. Sep 08, 2015
    • Jim Jagielski's avatar
      Merge r1696105, r1700418 from trunk: · b7f7b509
      Jim Jagielski authored
      With the current implementation, it is likely to connect/close a socket with the memcache server for each command sent.
      The root cause is a too small idle timeout (600 microseconds).
      
      Add a new directive, 'MemcacheConnTTL',  to control this idle connection timeout with the memcache server(s).
      Change the default value from 600 usec (!) to 15 sec as per Yann suggestion.
      
      I've limited accepted values from 1 to 1800 seconds (half an hour) because internaly, the value passed to 'apr_memcache_server_create' is still in mirco-seconds.
      
      PR 58091
      ~~~~~~~~~~~~~~~~~~~_
      Homemade measurement (on a slighly modified version of httpd) shows a +30% in number of processed requests using memcache to cache /index.html.
      Comparison made between the 600 usec and 15 sec TTL.
      
      Memcache config:
          default
      httpd Config:
          CacheEnable socache /
          CacheSocache memcache:127.0.0.1
          LoadModule mpm_event_module modules/mod_mpm_event.so
      httpd compiled with:
          ./configure --enable-mpms-shared=all --with-included-apr --with-mysql --with-libxml2 --enable-modules=reallyall --enable-ssl-ct=no --enable-maintainer-mode --prefix=$HOME/httpd-2.5
      httpd and memcache running on the same VM running under Ubuntu 15.04
      Load tested using:
          ab -n 20000 http://127.0.0.1/index.html
      
      Creation/closing of connections beetween httpd and memcache confirmed using the telnet connection to memcache and the stats command
      
      
      
      Allow 0 as a valid value (never close idle connections)
      Increased maximum allowed value to 3600 s (1 hour)
      Use 'ap_timeout_parameter_parse' to allow more flexible configuration (i.e. h, min, s, ms suffixes)
      Use 'apr_time_from_sec' when applicable.
      Submitted by: jailletc36
      Reviewed/backported by: jim
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1701771 13f79535-47bb-0310-9956-ffa450edef68
      b7f7b509
  2. Sep 06, 2015
  3. Sep 05, 2015
  4. Aug 28, 2015
  5. Jul 29, 2015
  6. Jul 10, 2015
  7. Jul 09, 2015
  8. Jul 08, 2015
  9. Jul 03, 2015
  10. Jun 19, 2015
  11. Jun 18, 2015
  12. Jun 17, 2015
  13. Jun 16, 2015
  14. Jun 11, 2015
  15. Jun 09, 2015
  16. Jun 04, 2015
  17. Jun 02, 2015
    • Jim Jagielski's avatar
      Merge r1681694, r1682907 from trunk: · 755dd84e
      Jim Jagielski authored
      mod_proxy: Don't put the worker in error state for 500 or 503 errors
      returned by the backend unless failonstatus is configured to.  PR 56925.
      
      
      mod_proxy: follow up to r1681694.
      
      Handle the proxy-error-override note also in mod_proxy_ajp.
      
      The note is not needed in mod_proxy_fcgi (which also handles
      ProxyErrorOverride) since it calls ap_die() by itself, and always
      returns OK to proxy_handler().
      
      Add a comment about the note where used.
      
      Submitted by: ylavic
      Reviewed/backported by: jim
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1683112 13f79535-47bb-0310-9956-ffa450edef68
      755dd84e
  18. Jun 01, 2015
  19. May 29, 2015
  20. May 27, 2015
  21. May 23, 2015
  22. May 22, 2015
  23. May 18, 2015
  24. May 13, 2015
    • Jim Jagielski's avatar
      Merge r1674542, r1675410, r1676842 from trunk: · ddef530a
      Jim Jagielski authored
      mod_ssl: Check for RAND_egd() at configure time and only use it if present.
      Fixes the build with LibreSSL which does not provide this function.
      
      Submitted by: Bernard Spil <pil.oss gmail com>, stsp
      Committed by: stsp
      
      
      mod_ssl: Make the config parser complain if SSLRandomSeed specifies
      the Entropy Gathering Daemon (EGD) as source while the underlying
      SSL library does not support EGD (e.g. in case of LibreSSL).
      
      Suggested and reviewed by: kbrand
      
      
      Follow up to r1674542 and r1675410: CHANGES entry.
      Submitted by: stsp, ylavic
      Reviewed/backported by: jim
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1679199 13f79535-47bb-0310-9956-ffa450edef68
      ddef530a