httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/server/mpm/worker worker.c
Date Fri, 22 Mar 2002 03:43:23 GMT
trawick     02/03/21 19:43:22

  Modified:    server/mpm/worker worker.c
  Log:
  document yet another worker MPM glitch
  
  Revision  Changes    Path
  1.106     +8 -0      httpd-2.0/server/mpm/worker/worker.c
  
  Index: worker.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/worker/worker.c,v
  retrieving revision 1.105
  retrieving revision 1.106
  diff -u -r1.105 -r1.106
  --- worker.c	22 Mar 2002 01:12:49 -0000	1.105
  +++ worker.c	22 Mar 2002 03:43:22 -0000	1.106
  @@ -926,6 +926,14 @@
       my_info->pid = my_child_num;
       my_info->tid = i;
       my_info->sd = 0;
  +
  +    /* XXX we shouldn't create the listener thread until we have at least
  +     *     one worker thread...  for now I'll blame this bug for some very
  +     *     rare hung connections I've seen during restart testing
  +     *     (I've also seen cases where a child process starts but is
  +     *     never able to take over worker thread slots, so the theory
  +     *     does make sense.)  Jeff
  +     */
       rv = apr_thread_create(&ts->listener, thread_attr, listener_thread,
                              my_info, pchild);
       if (rv != APR_SUCCESS) {
  
  
  

Mime
View raw message