Project:WDQS configuration
From MaRDI portal
The blazegraph backend for the WDQS runs in the container called docker-wdqs-1
The default values for the variables passed to this container can be found here: WDQS Scripts
These are the variables the we currently define in docker-compose.yml:
- WIKIBASE_HOST=${WIKIBASE_HOST}
- WIKIBASE_SCHEME=${WIKIBASE_SCHEME:-https}
- WDQS_HOST=wdqs.svc
- WDQS_PORT=9999
- BLAZEGRAPH_OPTS='-Dorg.wikidata.query.rdf.tool.rdf.RdfRepository.timeout=3600'
Additionally, HEAP_SIZE is defined to be 16G in the private production repository (srv-mardi02).
Further blazegraph properties could be tweaked by overwriting the RWStore.properties in the /wdqs directory. See wikibase-docker README.
Fix memory issues:
- Memory issues can be often solved by restarting the wdqs container.
- Increase the heap size (defined in the srv-mardi02 repository).
Related technical issues (Blazegraph & Wikidata):
- https://sourceforge.net/p/bigdata/discussion/676946/thread/8ad56b4d45/
- https://sourceforge.net/p/bigdata/mailman/bigdata-developers/thread/3c02174d-7b2b-bf00-ff59-836ee9c36db3%40att.net/#msg35377825