Skip to content
  1. May 29, 2006
  2. May 28, 2006
  3. May 26, 2006
    • Chris Darroch's avatar
      On graceless shutdown or restart, send AP_SIG_GRACEFUL to all worker · 14774214
      Chris Darroch authored
      threads so that any that are polling on Keep-Alive connections will
      wake up and exit promptly.  Otherwise, on Linux, they wait until
      poll()'s timeout interval completes, which is often too long for
      the parent process; the parent issues SIGKILL before the child's main
      thread manages to re-join all the worker threads.  PR 38737.
      
      On Solaris, by contrast, the close_worker_sockets() function
      successfully alerts all worker threads that they should exit quickly.
      On Linux, this side-effect of one thread closing another's socket
      doesn't occur; see:
      
      http://bugme.osdl.org/show_bug.cgi?id=546
      
      Also, expand on the placeholder in CHANGES regarding previous
      cleanups to scoreboard.c and scoreboard.h in r404848 and r404849.
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@409715 13f79535-47bb-0310-9956-ffa450edef68
      14774214
    • Jeff Trawick's avatar
      small cleanup of EBCDIC support in mod_proxy_ajp · abf3e701
      Jeff Trawick authored
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@409709 13f79535-47bb-0310-9956-ffa450edef68
      abf3e701
    • Chris Darroch's avatar
      Make the worker and event MPMs not touch the scoreboard when · 053c9598
      Chris Darroch authored
      handling a fork() failure.  The previous behaviour appears to have
      been inherited from the prefork MPM, where is it appropriate.
      
      The prefork MPM sets thread_limit to 1 and therefore each
      child process has a single worker_score structure in the scoreboard's
      array, i.e., ap_scoreboard_image->servers[slot][0].  In make_child(),
      it sets this structure's status to SERVER_STARTING, and then does
      a fork(); if the fork() fails, it resets the status to SERVER_DEAD.
      
      The worker and event MPMs, by constrast, obviously use multiple
      worker_score structures per child process.  They may also be
      in use by worker threads from a previous generation at any particular
      moment.  Therefore make_child() and the parent process in general
      doesn't normally update them; make_child() doesn't set them all
      to SERVER_STARTING before doing fork(), for example.
      
      So, make_child() shouldn't set them to SERVER_DEAD if fork()
      fails (and even if it should, it certainly shouldn't be just
      updating the first one).
      
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@409693 13f79535-47bb-0310-9956-ffa450edef68
      053c9598
  4. May 25, 2006
  5. May 22, 2006
  6. May 21, 2006
  7. May 17, 2006
  8. May 16, 2006
  9. May 15, 2006
  10. May 10, 2006
  11. May 09, 2006
  12. May 08, 2006
  13. May 07, 2006
  14. May 05, 2006
  15. May 04, 2006
  16. May 03, 2006
  17. Apr 30, 2006
  18. Apr 28, 2006
  19. Apr 27, 2006