Project:WDQS configuration: Difference between revisions
From MaRDI portal
EloiFerrer (talk | contribs) No edit summary |
EloiFerrer (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
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]: | ||
Line 16: | Line 16: | ||
=== Fix memory issues: === | === Fix memory issues: === | ||
* Memory issues can be often solved by restarting the wdqs container. | * Memory issues can be often solved by restarting the wdqs container. | ||
* Increase the heap size (defined in [https://github.com/MaRDI4NFDI/srv-mardi02/blob/main/portal-compose-override/docker-compose.override.yml docker-compose.override.yml] the [https://github.com/MaRDI4NFDI/srv-mardi02 srv-mardi02] repository). | * Increase the heap size (defined in [https://github.com/MaRDI4NFDI/srv-mardi02/blob/main/portal-compose-override/docker-compose.override.yml docker-compose.override.yml] in the [https://github.com/MaRDI4NFDI/srv-mardi02 srv-mardi02] repository). | ||
=== Related technical issues (Blazegraph & Wikidata): === | === Related technical issues (Blazegraph & Wikidata): === |
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