1. 04 Feb, 2011 1 commit
  2. 03 Feb, 2011 1 commit
  3. 31 Jan, 2011 6 commits
  4. 30 Jan, 2011 2 commits
    • Alex Vandiver's avatar
      Avoid sleeping for 15s if the server is already ready · 6d51aa72
      Alex Vandiver authored
      It is possible for the server to have sent us the ready signal before
      the parent hits the sleep(); in this case, the parent would wait,
      uninterrupted by SIGUSR1, for 15s, despite the server being ready.
      
      Hence, only sleep if we have not already received the signal.  There
      is still a minute race condition between the "unless" check and the
      "sleep," but this reduces the window considerably, and the side
      effects to the race condition are merely a slower test.
      6d51aa72
    • Alex Vandiver's avatar
      Prevent hangs during testing by removing a signals race condition · 6f7b0e46
      Alex Vandiver authored
      Under high load, such as heavily concurrent testing, there is no
      guarantee that the parent process of the fork will have time to set up
      the signal handler before the shild finishes initialization.  Thus,
      receiving a USR1 signal causes it to die, leaving a zombie child
      process and the test wedged.
      
      Set up the signal handler before we fork, which guarantees that the
      child will not be able to force this race condition.  It leaves forked
      server processes with a USR1 signal handler, but there is little harm
      to this.
      6f7b0e46
  5. 28 Jan, 2011 2 commits
  6. 27 Jan, 2011 1 commit
  7. 26 Jan, 2011 1 commit
  8. 24 Jan, 2011 4 commits
  9. 23 Jan, 2011 9 commits
  10. 22 Jan, 2011 1 commit
  11. 21 Jan, 2011 1 commit
  12. 20 Jan, 2011 7 commits
  13. 19 Jan, 2011 4 commits