www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: config/3906: Servers hang on either Keepalive or on Read (if keepalive is turned off) (fwd)
Date Wed, 02 Jun 1999 06:20:03 GMT
The following reply was made to PR config/3906; it has been noted by GNATS.

From: Dean Gaudet <dgaudet@arctic.org>
To: apbugs@apache.org
Cc:  Subject: Re: config/3906: Servers hang on either Keepalive or on Read (if  keepalive
is turned off) (fwd)
Date: Tue, 1 Jun 1999 23:14:36 -0700 (PDT)

 ---------- Forwarded message ----------
 Date: Thu, 27 May 1999 13:52:35 -0700
 From: Derek Andree <dxandr2@uswest.com>
 To: Dean Gaudet <dgaudet@arctic.org>
 Subject: Re: config/3906: Servers hang on either Keepalive or on Read (if  keepalive is turned
off)
 
 Dean,
 
 Yes indeed, this seems to fix the problem!  I'll let you know if read or
 keepalives get stuck, but the server has been running now under heavy
 load for over 3 hours without a hitch...
 
 
 Thanks for your help!
 
 
 Dean Gaudet wrote:
 > 
 > BTW, here's a patch you may want to try.  It's just a wild guess though...
 > 
 > Dean
 > 
 > Index: main/http_main.c
 > ===================================================================
 > RCS file: /home/cvs/apache-1.3/src/main/http_main.c,v
 > retrieving revision 1.430
 > diff -u -r1.430 http_main.c
 > --- http_main.c 1999/04/20 19:15:39     1.430
 > +++ http_main.c 1999/04/21 00:07:43
 > @@ -3601,6 +3601,7 @@
 >  #endif
 >  #endif
 >      signal(SIGALRM, alrm_handler);
 > +    signal(SIGUSR2, alrm_handler);
 > 
 >  #ifdef OS2
 >  /* Stop Ctrl-C/Ctrl-Break signals going to child processes */
 > @@ -4105,7 +4106,7 @@
 >                 else if (ps->last_rtime + ss->timeout_len < now) {
 >                     /* no progress, and the timeout length has been exceeded */
 >                     ss->timeout_len = 0;
 > -                   kill(ps->pid, SIGALRM);
 > +                   kill(ps->pid, SIGUSR2);
 >                 }
 >             }
 >  #endif
 
 -- 
 Derek Andree
 Mobile Village Development
 dxandr2@uswest.com
 
 Diplomacy is the art of saying "nice doggy" until you can find a rock.
 

Mime
View raw message