| 1 | psendfile(1) |
| 2 | ============ |
| 3 | |
| 4 | NAME |
| 5 | ---- |
| 6 | psendfile - Persistent static file handler for ashd(7) |
| 7 | |
| 8 | SYNOPSIS |
| 9 | -------- |
| 10 | *psendfile* [*-h*] |
| 11 | |
| 12 | DESCRIPTION |
| 13 | ----------- |
| 14 | |
| 15 | *psendfile* is a variant of *sendfile*(1) that runs as a persistent |
| 16 | handler. Except those actions of *sendfile* explicitly triggered by |
| 17 | command-line options, *psendfile* does the exact same things as |
| 18 | *sendfile*, the only difference being that it runs persistently and |
| 19 | handles all requests in the same process, instead of spawning a |
| 20 | process per request. In doing so, it uses more persistent resources in |
| 21 | order to use less resources per request. As such, *psendfile* is more |
| 22 | suitable for a system under heavier load, while *sendfile* is more |
| 23 | suitable for a system under light load. |
| 24 | |
| 25 | Accordingly, *psendfile* is a persistent handler, as defined in |
| 26 | *ashd*(7). See the *sendfile*(1) manpage for all the details of its |
| 27 | operations, as it mirrors that program exactly except in the special |
| 28 | options it accepts. |
| 29 | |
| 30 | OPTIONS |
| 31 | ------- |
| 32 | |
| 33 | *-h*:: |
| 34 | |
| 35 | Print a brief help message to standard output and exit. |
| 36 | |
| 37 | AUTHOR |
| 38 | ------ |
| 39 | Fredrik Tolf <fredrik@dolda2000.com> |
| 40 | |
| 41 | SEE ALSO |
| 42 | -------- |
| 43 | *sendfile*(1), *dirplex*(1), *ashd*(7) |