I thought it would be redundant to put all the virtuoso.ini
.
Here is the entire content.
And its no special reason as to the NumberOfBuffers
.
No swapping has been observed.
Is there any possibility that this parameter causes the segmentation fault?
[Database]
DatabaseFile = /home/vosuser/vdbs/pubchem.db
ErrorLogFile = /home/vosuser/vdbs/pubchem.log
LockFile = /home/vosuser/vdbs/pubchem.lck
TransactionFile = /home/vosuser/vdbs/pubchem.trx
xa_persistent_file = /home/vosuser/vdbs/pubchem.pxa
ErrorLogLevel = 7
FileExtend = 200
MaxCheckpointRemap = 2000
Striping = 0
TempStorage = TempDatabase
[TempDatabase]
DatabaseFile = /home/vosuser/vdbs/pubchem-temp.db
TransactionFile = /home/vosuser/vdbs/pubchem-temp.trx
MaxCheckpointRemap = 2000
Striping = 0
[Parameters]
ServerPort = 51120
LiteMode = 0
DisableUnixSocket = 1
DisableTcpSocket = 0
MaxClientConnections = 20
CheckpointInterval = 60
O_DIRECT = 0
CaseMode = 2
MaxStaticCursorRows = 50000
CheckpointAuditTrail = 0
AllowOSCalls = 0
SchedulerInterval = 10
DirsAllowed = ., /data/rdfportal, /usr/share/proj, /home/vosuser/vos72_latest
ThreadCleanupInterval = 0
ThreadThreshold = 15
ResourcesCleanupInterval = 0
FreeTextBatchSize = 100000
SingleCPU = 0
VADInstallDir = /home/vosuser/vos72_latest/vad/
PrefixResultNames = 0
RdfFreeTextRulesSize = 100
IndexTreeMaps = 256
MaxMemPoolSize = 200000000
PrefixResultNames = 0
MacSpotlight = 0
MaxQueryMem = 2G
VectorSize = 1000
MaxVectorSize = 1000000
AdjustVectorSize = 0
ThreadsPerQuery = 5
AsyncQueueMaxThreads = 15
NumberOfBuffers = 1360000
MaxDirtyBuffers = 1000000
[HTTPServer]
ServerPort = 58888
ServerRoot = /home/vosuser/vos72_latest/vsp
MaxClientConnections = 10
DavRoot = DAV
EnabledDavVSP = 0
HTTPProxyEnabled = 0
TempASPXDir = 0
DefaultMailServer = localhost:25
MaxKeepAlives = 10
KeepAliveTimeout = 10
MaxCachedProxyConnections = 10
ProxyConnectionCacheTimeout = 15
HTTPThreadSize = 280000
HttpPrintWarningsInOutput = 0
Charset = UTF-8
MaintenancePage = atomic.html
EnabledGzipContent = 1
[AutoRepair]
BadParentLinks = 0
[Client]
SQL_PREFETCH_ROWS = 50000
SQL_PREFETCH_BYTES = 64000000
SQL_QUERY_TIMEOUT = 0
SQL_TXN_TIMEOUT = 0
[VDB]
ArrayOptimization = 0
NumArrayParameters = 10
VDBDisconnectTimeout = 1000
KeepConnectionOnFixedThread = 0
[Replication]
ServerName = db-RDFP03
ServerEnable = 1
QueueMax = 50000
[Striping]
Segment1 = 100M, db-seg1-1.db, db-seg1-2.db
Segment2 = 100M, db-seg2-1.db
[Zero Config]
ServerName = virtuoso (RDFP03)
[Mono]
[URIQA]
DynamicLocal = 0
DefaultHost = localhost:8890
[SPARQL]
MaxConstructTriples = 1000000
ResultSetMaxRows = 100000
MaxQueryCostEstimationTime = 4000 ; in seconds
MaxQueryExecutionTime = 3600 ; in seconds
DefaultQuery = select distinct ?Concept where {[] a ?Concept} LIMIT 100
DeferInferenceRulesInit = 0 ; controls inference rules loading
MaxMemInUse = 0 ; limits the amount of memory for construct dict (0=unlimited)
[Plugins]
#LoadPath = /data/rdfportal/virtuoso/stat/lib/virtuoso/hosting
#Load1 = plain, wikiv
#Load2 = plain, mediawiki
#Load3 = plain, creolewiki
#Load8 = plain, shapefileio
#Load9 = plain, graphql
Here is the status();
output.
SQL> status();
REPORT
VARCHAR
_______________________________________________________________________________
OpenLink Virtuoso Server
Version 07.20.3240-pthreads for Linux as of Jun 10 2024 (a1fd8195bf)
Started on: 2025-03-26 08:34 GMT+9 (up 13:07)
CPU: 6.48% RSS: 17022MB VSZ: 18499MB PF: 0
Database Status:
File size 2445279232, 119836160 pages, 39658221 free.
1360000 buffers, 1336557 used, 3 dirty 0 wired down, repl age 47378048 0 w. io 0 w/crsr.
Disk Usage: 415606861 reads avg 0 msec, 3% r 0% w last 43767 s, 89158 writes flush 0 MB/s,
5234179 read ahead, batch = 78. Autocompact 0 in 0 out, 0% saved.
Gate: 19382926 2nd in reads, 0 gate write waits, 0 in while read 0 busy scrap.
Log = /home/vosuser/vdbs/pubchem.trx, 1254 bytes
80175254 pages have been changed since last backup (in checkpoint state)
Current backup timestamp: 0x0000-0x00-0x00
Last backup date: unknown
Clients: 1011577 connects, max 4 concurrent
RPC: 4046226 calls, 62 pending, 64 max until now, 0 queued, 12815 burst reads (0%), 0 second 0M large, 19M max
Checkpoint Remap 0 pages, 0 mapped back. 8 s atomic time.
DB master 119836160 total 39658221 free 0 remap 0 mapped back
temp 256 total 249 free
Lock Status: 0 deadlocks of which 0 2r1w, 0 waits,
Currently 2 threads running 0 threads waiting 0 threads in vdb.
Pending:
Client 51120:1: Account: dba, 562 bytes in, 7185 bytes out, 1 stmts.
PID: 34292, OS: unix, Application: unknown, IP#: 127.0.0.1
Transaction status: PENDING, 1 threads.
Locks:
Client 51120:2:-1011579: Account: dba, 500 bytes in, 505 bytes out, 1 stmts.
PID: 34601, OS: unix, Application: unknown, IP#: 127.0.0.1
Transaction status: PENDING, 1 threads.
Locks:
Running Statements:
Time (msec) Text
33 SPARQL select distinct ?graph ?sclass ?pred ?oclass {values (?graph ?sclass) { (
1196 status()
Hash indexes
44 Rows. -- 1196 msec.
And there is no relevant records in virtuoso.log
. ( pubchem.log
of our case. ).
08:34:35 OpenLink Virtuoso Universal Server
08:34:35 Version 07.20.3240-pthreads for Linux as of Jun 10 2024 (a1fd8195bf)
08:34:35 uses OpenSSL 1.0.2u 20 Dec 2019
08:34:35 uses parts of PCRE, Html Tidy
08:34:36 Database version 3126
08:34:37 SQL Optimizer enabled (max 1000 layouts)
08:34:38 Compiler unit is timed at 0.000123 msec
08:34:45 Roll forward started
08:34:45 63 transactions, 5530 bytes replayed (100 %)
08:34:45 Roll forward complete
08:34:49 Checkpoint started
08:34:49 Checkpoint finished, log reused
08:34:49 HTTP/WebDAV server online at 58888
08:34:49 Server online at 51120 (pid 34098)
09:34:53 Checkpoint started
09:34:53 Checkpoint finished, log reused
10:34:55 Checkpoint started
...
virtodbcu_r.so
is provided with the prebuilt binaries, at lib
directory.