Added proper read/write/erase LRU management for intrusive elements
[elliptics.git] / conf / 99-elliptics-fastcgi2.conf
blobb92a687663292e45917e682b60c6c02e575522ec
1 <?xml version="1.0" ?>
2 <fastcgi xmlns:xi="http://www.w3.org/2001/XInclude">
3 <pools>
4 <pool name="read" threads="512" queue="2048"/>
5 <pool name="write" threads="512" queue="2048"/>
6 </pools>
7 <handlers>
8 <handler pool="read" url="/get/.*">
9 <component name="elliptics-proxy"/>
10 </handler>
11 <handler pool="write" url="/upload/.*">
12 <component name="elliptics-proxy"/>
13 </handler>
14 </handlers>
15 <components>
16 <component name="elliptics-proxy" type="elliptics-proxy:elliptics-proxy">
17 <logger>daemon-logger</logger>
18 <geobase>
19 <path>/var/cache/geobase/geodata-local3.bin</path>
20 <timeout>3600</timeout>
21 </geobase>
23 <dnet>
24 <write-port>9000</write-port>
25 <success-copies-num>1</success-copies-num>
26 <die-limit>1</die-limit>
27 <cfg-flags>56</cfg-flags>
28 <base-port>1024</base-port>
29 <directory-bit-num>16</directory-bit-num>
30 <log>
31 <path>/var/log/elliptics-fastcgi/fastcgi.log</path>
32 <mask>10</mask>
33 </log>
34 <xi:include href="/etc/elliptics/nodes-xml.id.xml" />
35 <auth-cookie>qwerty</auth-cookie>
36 <groups>2</groups>
37 <typemap>
38 <type>xml->text/xml</type>
39 </typemap>
40 </dnet>
41 </component>
42 <component name="daemon-logger" type="logger:logger">
43 <level>ERROR</level>
44 <ident>fastcgi-elliptics-proxy</ident>
45 </component>
46 </components>
47 <modules>
48 <module name="elliptics-proxy" path="/usr/lib/fastcgi2/elliptics-fastcgi.so"/>
49 <module name="logger" path="/usr/lib/fastcgi2/fastcgi2-syslog.so"/>
50 </modules>
51 <daemon>
52 <logger component="daemon-logger"/>
53 <endpoint>
54 <backlog>1024</backlog>
55 <socket>/var/run/fastcgi2/elliptics.sock</socket>
56 <threads>16</threads>
57 </endpoint>
58 <pidfile>/var/run/fastcgi2/elliptics.pid</pidfile>
59 <monitor_port>23082</monitor_port>
60 </daemon>
61 </fastcgi>