You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Vilnis Termanis (Iotic Labs) (JIRA)" <ji...@apache.org> on 2017/02/24 18:56:44 UTC
[jira] [Updated] (JENA-1296) Fuseki SPARQL endpoints become
unresponsive after read/write load
[ https://issues.apache.org/jira/browse/JENA-1296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vilnis Termanis (Iotic Labs) updated JENA-1296:
-----------------------------------------------
Attachment: fuseki_lockup.tgz
- 1k.tll contains ~77k triples, generated via:
{{python3 full_search_thing_gen.py 1000 > 1k.ttl}}
- config-tdb.ttl - Fuseki configuration
- lockup.py - script which runs 1 SELECT query and 4 DELETE-INSERTs in parallel. Requires Python3, rdflib & SPARQLWrapper (used 4.2.2 & 1.8.0 respectively)
> Fuseki SPARQL endpoints become unresponsive after read/write load
> -----------------------------------------------------------------
>
> Key: JENA-1296
> URL: https://issues.apache.org/jira/browse/JENA-1296
> Project: Apache Jena
> Issue Type: Bug
> Components: Fuseki, TDB
> Affects Versions: Fuseki 2.4.1, Fuseki 2.5.0
> Environment: CentOS 7.3 VM, 2x cores, OpenJDK 1.8.0_121 (64-bit), 1GB JVM heap, Fuseki running as service
> Reporter: Vilnis Termanis (Iotic Labs)
> Priority: Critical
> Attachments: fuseki_lockup.tgz
>
>
> *Steps:*
> # Start with plain Fuseki + given configuration (simple TDB store)
> # Import 1k.ttl
> # Run lockup.py (same host, mix of multiple parallel updates & single select)
> *Result:*
> After some time Fuseki stops accepting any additional SPARQL queries. (they time out at client end and are left in CLOSE_WAIT state on server). During my testing this happened within ~30s of running the script.
> *Notes:*
> - Locks up more quickly if JVM has had cold start (e.g. restart after step 2) but it definitely is *not* only a startup issue.
> - During testing the VM was very rarely I/O limited.
> - Reproducible as detailed above in v2.4.1 & v2.5.0
> - In v2.4.0 and v2.3.1 no lockup seems to occur, but once the script has been running for a while, the SELECT query times out sometimes.
> So for now we're limited to using the (now somewhat old) v2.3.1 - it would be nice to be able to upgrade.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)