1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
##
## Advanced configuration:
## Don't change it unless you know what you're doing.
##
##
## LogFlushInterval:
## Indicates how often, in seconds, the log cache will be flushed
##
LogFlushInterval 5
##
## The maximum number of file descriptors
##
MaxFds 16384
##
## MaxConnectionReuse: Max number of connection to reuse per thread.
##
MaxConnectionReuse 20
##
## PanicAction: It something terrible happens, like a segmentation fault,
## Cherokee will execute this program to report the problem. The default
## action is to send a mail to root with the back-trace.
##
PanicAction %prefix%/bin/cherokee-panic
##
## PollMethod:
## Force to use a polling method. It's available:
## epoll, kqueue, ports, poll and select.
##
# PollMethod epoll
##
## Size of the TCP listen queue.
##
# ListenQueueSize 1024
##
## ThreadNumber:
## Available policies: fifo, rr, other
##
# ThreadNumber 5 {
# Policy fifo
# }
##
## Sendfile configuration: for the platforms that supports it.
##
## MinSize: Size in bytes of the smallest file to be sent with sendfile.
## MaxSize: Size in bytes of the biggest file to be sent with sendfile.
##
# Sendfile {
# MinSize 32768
# MaxSize 2147483647
# }
|