Project:WDQS configuration: Difference between revisions
From MaRDI portal
EloiFerrer (talk | contribs) No edit summary |
EloiFerrer (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
The blazegraph backend for the WDQS runs in the container called '''docker-wdqs-1''' | 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: [https://www.mediawiki.org/wiki/Wikidata_Query_Service/User_Manual#Scripts WDQS Scripts] | The default values for the variables passed to this container can be found here: [https://www.mediawiki.org/wiki/Wikidata_Query_Service/User_Manual#Scripts WDQS Scripts]. | ||
These are the variables the we currently define in [https://github.com/MaRDI4NFDI/portal-compose/blob/main/docker-compose.yml docker-compose.yml]: | These are the variables the we currently define in [https://github.com/MaRDI4NFDI/portal-compose/blob/main/docker-compose.yml docker-compose.yml]: |
Latest revision as of 14:23, 11 November 2024
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 docker-compose.override.yml 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