Virtuoso: virtuoso.ini.2

ファイル virtuoso.ini.2, 6.4 KB (登録者: wu, 12 年 前)
行番号 
1;
2;  virtuoso.ini
3;
4;  Configuration file for the OpenLink Virtuoso VDBMS Server
5;
6;  To learn more about this product, or any other product in our
7;  portfolio, please check out our web site at:
8;
9;      http://www.openlinksw.com
10;
11;  or contact us at:
12;
13;      general.information@openlinksw.com
14;
15;  If you have any technical questions, please contact our support
16;  staff at:
17;
18;      technical.support@openlinksw.com
19;
20;
21;  Database setup
22;
23[Database]
24DatabaseFile       = /data3/virtuoso/virtuoso.db
25ErrorLogFile       = /data3/virtuoso/virtuoso.log
26LockFile           = /data3/virtuoso/virtuoso.lck
27TransactionFile    = /data3/virtuoso/virtuoso.trx
28xa_persistent_file = /data3/virtuoso/virtuoso.pxa
29ErrorLogLevel      = 7
30FileExtend         = 20000
31MaxCheckpointRemap = 1000000
32Striping           = 1 
33TempStorage        = TempDatabase
34
35[TempDatabase]
36DatabaseFile       = virtuoso-temp.db
37TransactionFile    = virtuoso-temp.trx
38MaxCheckpointRemap = 2000
39
40;
41;  Server parameters
42;
43[Parameters]
44ServerPort               = 1111
45DisableUnixSocket        = 1
46;SSLServerPort           = 2111
47;SSLCertificate          = cert.pem
48;SSLPrivateKey           = pk.pem
49;X509ClientVerify        = 0
50;X509ClientVerifyDepth   = 0
51;X509ClientVerifyCAFile  = ca.pem
52ServerThreads            = 20
53CheckpointInterval       = 60
54O_DIRECT                 = 0
55CaseMode                 = 2
56MaxStaticCursorRows      = 5000
57CheckpointAuditTrail     = 0
58AllowOSCalls             = 0
59SchedulerInterval        = 10
60DirsAllowed              = .,/opt/services/togordf/data, ../vad
61ThreadCleanupInterval    = 1
62ThreadThreshold          = 10
63ResourcesCleanupInterval = 1
64FreeTextBatchSize        = 100000
65SingleCPU                = 0
66VADInstallDir            = ../vad/
67MaxMemPoolSize           = 200000000
68PrefixResultNames        = 0
69MacSpotlight             = 0
70IndexTreeMaps            = 512
71CallStackOnException = 1
72PIDebug = 2
73TraceOn = errors,thread
74;;
75;; When running with large data sets, one should configure the Virtuoso
76;; process to use between 2/3 to 3/5 of free system memory and to stripe
77;; storage on all available disks.
78;;
79;; Uncomment next two lines if there is 2 GB system memory free
80;       NumberOfBuffers          = 170000
81;       MaxDirtyBuffers          = 130000
82;; Uncomment next two lines if there is 4 GB system memory free
83;       NumberOfBuffers          = 340000
84;       MaxDirtyBuffers          = 250000
85;; Uncomment next two lines if there is 8 GB system memory free
86;       NumberOfBuffers          = 680000
87;       MaxDirtyBuffers          = 500000
88;; Uncomment next two lines if there is 16 GB system memory free
89;       NumberOfBuffers          = 1360000
90;       MaxDirtyBuffers          = 1000000
91;; Uncomment next two lines if there is 32 GB system memory free
92;       NumberOfBuffers          = 2720000
93;       MaxDirtyBuffers          = 2000000
94;; Uncomment next two lines if there is 48 GB system memory free
95;       NumberOfBuffers          = 4000000
96;       MaxDirtyBuffers          = 3000000
97;; Uncomment next two lines if there is 64 GB system memory free
98;       NumberOfBuffers          = 5450000
99;       MaxDirtyBuffers          = 4000000
100;;
101;; Note the default settings will take very little memory
102;; but will not result in very good performance
103;;
104NumberOfBuffers          = 6500000
105MaxDirtyBuffers          = 5000000
106
107[HTTPServer]
108ServerPort                  = 8890
109ServerRoot                  = ../vsp
110DavRoot                     = DAV
111EnabledDavVSP               = 0
112HTTPProxyEnabled            = 0
113TempASPXDir                 = 0
114DefaultMailServer           = localhost:25
115ServerThreads               = 20
116MaxKeepAlives               = 10
117KeepAliveTimeout            = 10
118MaxCachedProxyConnections   = 10
119ProxyConnectionCacheTimeout = 15
120HTTPThreadSize              = 280000
121HttpPrintWarningsInOutput   = 0
122Charset                     = UTF-8
123;HTTPLogFile                 = logs/http.log
124
125[AutoRepair]
126BadParentLinks = 0
127
128[Client]
129SQL_PREFETCH_ROWS  = 100
130SQL_PREFETCH_BYTES = 16000
131SQL_QUERY_TIMEOUT  = 0
132SQL_TXN_TIMEOUT    = 0
133;SQL_NO_CHAR_C_ESCAPE = 1
134;SQL_UTF8_EXECS   = 0
135;SQL_NO_SYSTEM_TABLES = 0
136;SQL_BINARY_TIMESTAMP = 1
137;SQL_ENCRYPTION_ON_PASSWORD = -1
138
139[VDB]
140ArrayOptimization           = 0
141NumArrayParameters          = 10
142VDBDisconnectTimeout        = 1000
143KeepConnectionOnFixedThread = 0
144
145[Replication]
146ServerName   = virtuoso-TS02
147ServerEnable = 1
148QueueMax     = 50000
149
150;
151;  Striping setup
152;
153;  These parameters have only effect when Striping is set to 1 in the
154;  [Database] section, in which case the DatabaseFile parameter is ignored.
155;
156;  With striping, the database is spawned across multiple segments
157;  where each segment can have multiple stripes.
158;
159;  Format of the lines below:
160;    Segment<number> = <size>, <stripe file name> [, <stripe file name> .. ]
161;
162;  <number> must be ordered from 1 up.
163;
164;  The <size> is the total size of the segment which is equally divided
165;  across all stripes forming  the segment. Its specification can be in
166;  gigabytes (g), megabytes (m), kilobytes (k) or in database blocks
167;  (b, the default)
168;
169;  Note that the segment size must be a multiple of the database page size
170;  which is currently 8k. Also, the segment size must be divisible by the
171;  number of stripe files forming  the segment.
172;
173;  The example below creates a 200 meg database striped on two segments
174;  with two stripes of 50 meg and one of 100 meg.
175;
176;  You can always add more segments to the configuration, but once
177;  added, do not change the setup.
178;
179[Striping]
180Segment1 = 20G, /data2/virtuoso/db-seg1-1.db,  /data3/virtuoso/db-seg1-2.db
181;Segment2 = 10G, /data3/virtuoso/database/db-seg2-1.db , /data3/virtuoso/database/db-seg2-2.db
182;...
183;[TempStriping]
184;Segment1 = 100M, db-seg1-1.db, db-seg1-2.db
185;Segment2 = 100M, db-seg2-1.db
186;...
187;[Ucms]
188;UcmPath = <path>
189;Ucm1  = <file>
190;Ucm2    = <file>
191;...
192
193[Zero Config]
194ServerName = virtuoso (TS02)
195;ServerDSN     = ZDSN
196;SSLServerName =
197;SSLServerDSN  =
198
199[Mono]
200;MONO_TRACE=Off
201;MONO_PATH=<path_here>
202;MONO_ROOT=<path_here>
203;MONO_CFG_DIR=<path_here>
204;virtclr.dll=
205
206[URIQA]
207DynamicLocal = 0
208DefaultHost  = localhost:8890
209
210[SPARQL]
211;ExternalQuerySource = 1
212;ExternalXsltSource  = 1
213ResultSetMaxRows = 100000
214;DefaultGraph       = http://localhost:8890/dataspace
215;MaxQueryCostEstimationTime    = 120 ; in seconds
216;MaxQueryExecutionTime    = 10 ; in seconds
217
218[Plugins]
219LoadPath = ../hosting
220Load1    = plain, wikiv
221Load2    = plain, mediawiki
222Load3    = plain, creolewiki
223Load4    = plain, im
224Load5    = plain, wbxml2
225Load6    = attach, libphp5.so
226Load7    = Hosting, hosting_php.so
227Load8    = plain, qrcode
228;Load9   = plain, hslookup