X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=blobdiff_plain;f=doc%2Fpsendfile.doc;fp=doc%2Fpsendfile.doc;h=46a58b5952393f592740b051701e5889d4149adc;hp=0000000000000000000000000000000000000000;hb=bcad6b0c48d516ddc920b52f06083ceaa242e1ca;hpb=589987f8218c9aa61d65f582a3b3e1bbd32bda81 diff --git a/doc/psendfile.doc b/doc/psendfile.doc new file mode 100644 index 0000000..46a58b5 --- /dev/null +++ b/doc/psendfile.doc @@ -0,0 +1,43 @@ +psendfile(1) +============ + +NAME +---- +psendfile - Persistent static file handler for ashd(7) + +SYNOPSIS +-------- +*psendfile* [*-h*] + +DESCRIPTION +----------- + +*psendfile* is a variant of *sendfile*(1) that runs as a persistent +handler. Except those actions of *sendfile* explicitly triggered by +command-line options, *psendfile* does the exact same things as +*sendfile*, the only difference being that it runs persistently and +handles all requests in the same process, instead of spawning a +process per request. In doing so, it uses more persistent resources in +order to use less resources per request. As such, *psendfile* is more +suitable for a system under heavier load, while *sendfile* is more +suitable for a system under light load. + +Accordingly, *psendfile* is a persistent handler, as defined in +*ashd*(7). See the *sendfile*(1) manpage for all the details of its +operations, as it mirrors that program exactly except in the special +options it accepts. + +OPTIONS +------- + +*-h*:: + + Print a brief help message to standard output and exit. + +AUTHOR +------ +Fredrik Tolf + +SEE ALSO +-------- +*sendfile*(1), *dirplex*(1), *ashd*(7)