root/cherokee/branches/0.5/advanced.conf.sample.pre

Revision 346, 1.2 kB (checked in by alo, 2 years ago)

--

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