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 = 0 |
---|
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 | ;; |
---|
74 | ;; When running with large data sets, one should configure the Virtuoso |
---|
75 | ;; process to use between 2/3 to 3/5 of free system memory and to stripe |
---|
76 | ;; storage on all available disks. |
---|
77 | ;; |
---|
78 | ;; Uncomment next two lines if there is 2 GB system memory free |
---|
79 | ; NumberOfBuffers = 170000 |
---|
80 | ; MaxDirtyBuffers = 130000 |
---|
81 | ;; Uncomment next two lines if there is 4 GB system memory free |
---|
82 | ; NumberOfBuffers = 340000 |
---|
83 | ; MaxDirtyBuffers = 250000 |
---|
84 | ;; Uncomment next two lines if there is 8 GB system memory free |
---|
85 | ; NumberOfBuffers = 680000 |
---|
86 | ; MaxDirtyBuffers = 500000 |
---|
87 | ;; Uncomment next two lines if there is 16 GB system memory free |
---|
88 | ; NumberOfBuffers = 1360000 |
---|
89 | ; MaxDirtyBuffers = 1000000 |
---|
90 | ;; Uncomment next two lines if there is 32 GB system memory free |
---|
91 | ; NumberOfBuffers = 2720000 |
---|
92 | ; MaxDirtyBuffers = 2000000 |
---|
93 | ;; Uncomment next two lines if there is 48 GB system memory free |
---|
94 | ; NumberOfBuffers = 4000000 |
---|
95 | ; MaxDirtyBuffers = 3000000 |
---|
96 | ;; Uncomment next two lines if there is 64 GB system memory free |
---|
97 | ; NumberOfBuffers = 5450000 |
---|
98 | ; MaxDirtyBuffers = 4000000 |
---|
99 | ;; |
---|
100 | ;; Note the default settings will take very little memory |
---|
101 | ;; but will not result in very good performance |
---|
102 | ;; |
---|
103 | NumberOfBuffers = 6500000 |
---|
104 | MaxDirtyBuffers = 5000000 |
---|
105 | |
---|
106 | [HTTPServer] |
---|
107 | ServerPort = 8890 |
---|
108 | ServerRoot = ../vsp |
---|
109 | DavRoot = DAV |
---|
110 | EnabledDavVSP = 0 |
---|
111 | HTTPProxyEnabled = 0 |
---|
112 | TempASPXDir = 0 |
---|
113 | DefaultMailServer = localhost:25 |
---|
114 | ServerThreads = 20 |
---|
115 | MaxKeepAlives = 10 |
---|
116 | KeepAliveTimeout = 10 |
---|
117 | MaxCachedProxyConnections = 10 |
---|
118 | ProxyConnectionCacheTimeout = 15 |
---|
119 | HTTPThreadSize = 280000 |
---|
120 | HttpPrintWarningsInOutput = 0 |
---|
121 | Charset = UTF-8 |
---|
122 | ;HTTPLogFile = logs/http.log |
---|
123 | |
---|
124 | [AutoRepair] |
---|
125 | BadParentLinks = 0 |
---|
126 | |
---|
127 | [Client] |
---|
128 | SQL_PREFETCH_ROWS = 100 |
---|
129 | SQL_PREFETCH_BYTES = 16000 |
---|
130 | SQL_QUERY_TIMEOUT = 0 |
---|
131 | SQL_TXN_TIMEOUT = 0 |
---|
132 | ;SQL_NO_CHAR_C_ESCAPE = 1 |
---|
133 | ;SQL_UTF8_EXECS = 0 |
---|
134 | ;SQL_NO_SYSTEM_TABLES = 0 |
---|
135 | ;SQL_BINARY_TIMESTAMP = 1 |
---|
136 | ;SQL_ENCRYPTION_ON_PASSWORD = -1 |
---|
137 | |
---|
138 | [VDB] |
---|
139 | ArrayOptimization = 0 |
---|
140 | NumArrayParameters = 10 |
---|
141 | VDBDisconnectTimeout = 1000 |
---|
142 | KeepConnectionOnFixedThread = 0 |
---|
143 | |
---|
144 | [Replication] |
---|
145 | ServerName = virtuoso-TS02 |
---|
146 | ServerEnable = 1 |
---|
147 | QueueMax = 50000 |
---|
148 | |
---|
149 | ; |
---|
150 | ; Striping setup |
---|
151 | ; |
---|
152 | ; These parameters have only effect when Striping is set to 1 in the |
---|
153 | ; [Database] section, in which case the DatabaseFile parameter is ignored. |
---|
154 | ; |
---|
155 | ; With striping, the database is spawned across multiple segments |
---|
156 | ; where each segment can have multiple stripes. |
---|
157 | ; |
---|
158 | ; Format of the lines below: |
---|
159 | ; Segment<number> = <size>, <stripe file name> [, <stripe file name> .. ] |
---|
160 | ; |
---|
161 | ; <number> must be ordered from 1 up. |
---|
162 | ; |
---|
163 | ; The <size> is the total size of the segment which is equally divided |
---|
164 | ; across all stripes forming the segment. Its specification can be in |
---|
165 | ; gigabytes (g), megabytes (m), kilobytes (k) or in database blocks |
---|
166 | ; (b, the default) |
---|
167 | ; |
---|
168 | ; Note that the segment size must be a multiple of the database page size |
---|
169 | ; which is currently 8k. Also, the segment size must be divisible by the |
---|
170 | ; number of stripe files forming the segment. |
---|
171 | ; |
---|
172 | ; The example below creates a 200 meg database striped on two segments |
---|
173 | ; with two stripes of 50 meg and one of 100 meg. |
---|
174 | ; |
---|
175 | ; You can always add more segments to the configuration, but once |
---|
176 | ; added, do not change the setup. |
---|
177 | ; |
---|
178 | [Striping] |
---|
179 | Segment1 = 10G, /data2/virtuoso/database/db-seg1-1.db, /data2/virtuoso/database/db-seg1-2.db |
---|
180 | Segment2 = 10G, /data3/virtuoso/database/db-seg2-1.db , /data3/virtuoso/database/db-seg2-2.db |
---|
181 | ;... |
---|
182 | ;[TempStriping] |
---|
183 | ;Segment1 = 100M, db-seg1-1.db, db-seg1-2.db |
---|
184 | ;Segment2 = 100M, db-seg2-1.db |
---|
185 | ;... |
---|
186 | ;[Ucms] |
---|
187 | ;UcmPath = <path> |
---|
188 | ;Ucm1 = <file> |
---|
189 | ;Ucm2 = <file> |
---|
190 | ;... |
---|
191 | |
---|
192 | [Zero Config] |
---|
193 | ServerName = virtuoso (TS02) |
---|
194 | ;ServerDSN = ZDSN |
---|
195 | ;SSLServerName = |
---|
196 | ;SSLServerDSN = |
---|
197 | |
---|
198 | [Mono] |
---|
199 | ;MONO_TRACE=Off |
---|
200 | ;MONO_PATH=<path_here> |
---|
201 | ;MONO_ROOT=<path_here> |
---|
202 | ;MONO_CFG_DIR=<path_here> |
---|
203 | ;virtclr.dll= |
---|
204 | |
---|
205 | [URIQA] |
---|
206 | DynamicLocal = 0 |
---|
207 | DefaultHost = localhost:8890 |
---|
208 | |
---|
209 | [SPARQL] |
---|
210 | ;ExternalQuerySource = 1 |
---|
211 | ;ExternalXsltSource = 1 |
---|
212 | ResultSetMaxRows = 100000 |
---|
213 | ;DefaultGraph = http://localhost:8890/dataspace |
---|
214 | ;MaxQueryCostEstimationTime = 120 ; in seconds |
---|
215 | ;MaxQueryExecutionTime = 10 ; in seconds |
---|
216 | |
---|
217 | [Plugins] |
---|
218 | LoadPath = ../hosting |
---|
219 | Load1 = plain, wikiv |
---|
220 | Load2 = plain, mediawiki |
---|
221 | Load3 = plain, creolewiki |
---|
222 | Load4 = plain, im |
---|
223 | Load5 = plain, wbxml2 |
---|
224 | Load6 = attach, libphp5.so |
---|
225 | Load7 = Hosting, hosting_php.so |
---|
226 | Load8 = plain, qrcode |
---|
227 | ;Load9 = plain, hslookup |
---|