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] |
---|
24 | DatabaseFile = /data3/virtuoso/virtuoso.db |
---|
25 | ErrorLogFile = /data3/virtuoso/virtuoso.log |
---|
26 | LockFile = /data3/virtuoso/virtuoso.lck |
---|
27 | TransactionFile = /data3/virtuoso/virtuoso.trx |
---|
28 | xa_persistent_file = /data3/virtuoso/virtuoso.pxa |
---|
29 | ErrorLogLevel = 7 |
---|
30 | FileExtend = 20000 |
---|
31 | MaxCheckpointRemap = 1000000 |
---|
32 | Striping = 1 |
---|
33 | TempStorage = TempDatabase |
---|
34 | |
---|
35 | [TempDatabase] |
---|
36 | DatabaseFile = virtuoso-temp.db |
---|
37 | TransactionFile = virtuoso-temp.trx |
---|
38 | MaxCheckpointRemap = 2000 |
---|
39 | |
---|
40 | ; |
---|
41 | ; Server parameters |
---|
42 | ; |
---|
43 | [Parameters] |
---|
44 | ServerPort = 1111 |
---|
45 | DisableUnixSocket = 1 |
---|
46 | ;SSLServerPort = 2111 |
---|
47 | ;SSLCertificate = cert.pem |
---|
48 | ;SSLPrivateKey = pk.pem |
---|
49 | ;X509ClientVerify = 0 |
---|
50 | ;X509ClientVerifyDepth = 0 |
---|
51 | ;X509ClientVerifyCAFile = ca.pem |
---|
52 | ServerThreads = 20 |
---|
53 | CheckpointInterval = 60 |
---|
54 | O_DIRECT = 0 |
---|
55 | CaseMode = 2 |
---|
56 | MaxStaticCursorRows = 5000 |
---|
57 | CheckpointAuditTrail = 0 |
---|
58 | AllowOSCalls = 0 |
---|
59 | SchedulerInterval = 10 |
---|
60 | DirsAllowed = .,/opt/services/togordf/data, ../vad |
---|
61 | ThreadCleanupInterval = 1 |
---|
62 | ThreadThreshold = 10 |
---|
63 | ResourcesCleanupInterval = 1 |
---|
64 | FreeTextBatchSize = 100000 |
---|
65 | SingleCPU = 0 |
---|
66 | VADInstallDir = ../vad/ |
---|
67 | MaxMemPoolSize = 200000000 |
---|
68 | PrefixResultNames = 0 |
---|
69 | MacSpotlight = 0 |
---|
70 | IndexTreeMaps = 512 |
---|
71 | CallStackOnException = 1 |
---|
72 | PIDebug = 2 |
---|
73 | TraceOn = 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 | ;; |
---|
104 | NumberOfBuffers = 6500000 |
---|
105 | MaxDirtyBuffers = 5000000 |
---|
106 | |
---|
107 | [HTTPServer] |
---|
108 | ServerPort = 8890 |
---|
109 | ServerRoot = ../vsp |
---|
110 | DavRoot = DAV |
---|
111 | EnabledDavVSP = 0 |
---|
112 | HTTPProxyEnabled = 0 |
---|
113 | TempASPXDir = 0 |
---|
114 | DefaultMailServer = localhost:25 |
---|
115 | ServerThreads = 20 |
---|
116 | MaxKeepAlives = 10 |
---|
117 | KeepAliveTimeout = 10 |
---|
118 | MaxCachedProxyConnections = 10 |
---|
119 | ProxyConnectionCacheTimeout = 15 |
---|
120 | HTTPThreadSize = 280000 |
---|
121 | HttpPrintWarningsInOutput = 0 |
---|
122 | Charset = UTF-8 |
---|
123 | ;HTTPLogFile = logs/http.log |
---|
124 | |
---|
125 | [AutoRepair] |
---|
126 | BadParentLinks = 0 |
---|
127 | |
---|
128 | [Client] |
---|
129 | SQL_PREFETCH_ROWS = 100 |
---|
130 | SQL_PREFETCH_BYTES = 16000 |
---|
131 | SQL_QUERY_TIMEOUT = 0 |
---|
132 | SQL_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] |
---|
140 | ArrayOptimization = 0 |
---|
141 | NumArrayParameters = 10 |
---|
142 | VDBDisconnectTimeout = 1000 |
---|
143 | KeepConnectionOnFixedThread = 0 |
---|
144 | |
---|
145 | [Replication] |
---|
146 | ServerName = virtuoso-TS02 |
---|
147 | ServerEnable = 1 |
---|
148 | QueueMax = 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] |
---|
180 | Segment1 = 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] |
---|
194 | ServerName = 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] |
---|
207 | DynamicLocal = 0 |
---|
208 | DefaultHost = localhost:8890 |
---|
209 | |
---|
210 | [SPARQL] |
---|
211 | ;ExternalQuerySource = 1 |
---|
212 | ;ExternalXsltSource = 1 |
---|
213 | ResultSetMaxRows = 100000 |
---|
214 | ;DefaultGraph = http://localhost:8890/dataspace |
---|
215 | ;MaxQueryCostEstimationTime = 120 ; in seconds |
---|
216 | ;MaxQueryExecutionTime = 10 ; in seconds |
---|
217 | |
---|
218 | [Plugins] |
---|
219 | LoadPath = ../hosting |
---|
220 | Load1 = plain, wikiv |
---|
221 | Load2 = plain, mediawiki |
---|
222 | Load3 = plain, creolewiki |
---|
223 | Load4 = plain, im |
---|
224 | Load5 = plain, wbxml2 |
---|
225 | Load6 = attach, libphp5.so |
---|
226 | Load7 = Hosting, hosting_php.so |
---|
227 | Load8 = plain, qrcode |
---|
228 | ;Load9 = plain, hslookup |
---|