From c72a0f46e7e39f4106fc9967cd3d233e3c97b504 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 24 Mar 2016 21:46:09 +0000 Subject: [PATCH] cgi-fcgi-interp: new garbage collection approach, spec --- cprogs/cgi-fcgi-interp.c | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/cprogs/cgi-fcgi-interp.c b/cprogs/cgi-fcgi-interp.c index 752db40..bfcfd9a 100644 --- a/cprogs/cgi-fcgi-interp.c +++ b/cprogs/cgi-fcgi-interp.c @@ -50,6 +50,14 @@ * speedy, the specified number of servers is started * right away.) The default is 4. * + * -c + * Stale server check interval, in seconds. The worker + * process group will get a SIGTERM when it is no longer + * needed to process new requests. Ideally it would continue + * to serve any existing requests. The SIGTERM will arrive no + * earlier than after the last request arrived at + * the containing webserver. Default is 300. + * * -D * Debug mode. Do not actually run program. Instead, print * out what we would do. @@ -90,10 +98,20 @@ * - check for and maybe create * - stat and lstat the