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 02:00:20 UTC
Re: general/3869: Server doesn't close connections after timeout period
[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: Server doesn't close connections after timeout period
Comment-Added-By: dgaudet
Comment-Added-When: Tue Apr 20 17:00:19 PDT 1999
Comment-Added:
Do you have any non-standard modules installed... such as
mod_perl, mod_php, ... ?
Re: general/3869: Server doesn't close connections after timeout period
Posted by Dean Gaudet <dg...@arctic.org>.
Oh btw, here's a patch you might 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