Project:WDQS configuration

From MaRDI portal
Revision as of 14:21, 11 November 2024 by EloiFerrer (talk | contribs) (Created page with "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] These are the variables the we currently define in [https://github.com/MaRDI4NFDI/portal-compose/blob/main/docker-compose.yml docker-compose.yml]: * WIKIBASE_HOST=${WIKIBASE_HOST} * WIKIBASE_SCHEME=${WIKIBASE_SCHEME:-h...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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):

Helpful links: