Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Term counts by language continue to load indefinitely #759

Open
aturbati opened this issue Apr 20, 2018 · 3 comments
Open

Term counts by language continue to load indefinitely #759

aturbati opened this issue Apr 20, 2018 · 3 comments

Comments

@aturbati
Copy link
Contributor

At which URL did you encounter the problem?

What steps will reproduce the problem?

  1. import a large thesauri (e.g. AGROVOC)
  2. open the first page of skosmos, the one containing the "Term counts by language"

What is the expected output? What do you see instead?

The "Term counts by language" continue to load and never show what it should show (the number of terms pref and alt per language).
I'm using Varnish, I do not know if this is an important information or not

What browser did you use? (eg. Firefox, Chrome, Safari, Internet explorer)

Chrome, Firefox

@aturbati
Copy link
Contributor Author

I think that the problem is the call labelStatistics?lang=en that goes in timeout, but I do not know how to extend such timeout (if inside skosmos or in fuseki)

@osma
Copy link
Member

osma commented May 3, 2018

There are timeouts on many levels:

  • Fuseki datasets may have a query timeout, specified using arq:queryTimeout
  • Varnish has per-backend timeouts (connect_timeout, first_byte_timeout, between_bytes_timeout)
  • Apache has a timeout (often defaults to 120 seconds) adjustable using the TimeOut directive

You could try increasing these to see if it helps. Alternatively, you could use the skosmos:showStatistics setting to disable statistics display on the vocabulary home page.

@osma osma added this to the Next Tasks milestone May 3, 2018
@osma
Copy link
Member

osma commented May 3, 2018

The problem with Skosmos is that it doesn't detect when the AJAX-ish request to ask for statistics fails, and instead will just show "loading" indefinitely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants