X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-utils.git;a=blobdiff_plain;f=cprogs%2Fcgi-fcgi-interp.c;h=ef48cfda3b80af8b02e6375639943f07558a44cf;hp=1d88f50294997bc5cced3d4c3abc839bfa29cb79;hb=d4e42bf295490da6b6f4ab8d5249b158d774d450;hpb=5f301a2496fbfefc7b1422b8d8c3c39e2d54df72 diff --git a/cprogs/cgi-fcgi-interp.c b/cprogs/cgi-fcgi-interp.c index 1d88f50..ef48cfd 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. @@ -61,14 +69,13 @@ * cgi-fcgi-interp automatically expires old sockets, including * ones where the named script is out of date. */ - /* * Uses one of two directories * /var/run/user//cgi-fcgi-interp/ * ~/.cgi-fcgi-interp// * and inside there uses these paths * s - * g + * l used to lock around garbage collection * * If -M is not specified then an initial substricg of the * lowercase hex of the sha256 of the