You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by dg...@apache.org on 1999/04/21 01:43:27 UTC

Re: config/3906: Servers hang on either Keepalive or on Read (if keepalive is turned off)

[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]


Synopsis: Servers hang on either Keepalive or on Read (if keepalive is turned off)

State-Changed-From-To: open-feedback
State-Changed-By: dgaudet
State-Changed-When: Tue Apr 20 16:43:25 PDT 1999
State-Changed-Why:
Does this happen for you without mod_perl?

I can't reproduce it using apache-1.3.7-dev on solaris 2.6...
(no related changes since 1.3.6)

Dean


Re: config/3906: Servers hang on either Keepalive or on Read (if keepalive is turned off)

Posted by Dean Gaudet <dg...@arctic.org>.
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