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

Hangs on /api/execution #71

Closed
kba opened this issue Nov 27, 2015 · 4 comments
Closed

Hangs on /api/execution #71

kba opened this issue Nov 27, 2015 · 4 comments
Labels

Comments

@kba
Copy link
Contributor

kba commented Nov 27, 2015

/api/execution hangs.

@kba
Copy link
Contributor Author

kba commented Nov 27, 2015

We currently have 30,000 executions, returning all of them on the collection REST GET call is unscalable. For now I've set a hard limit to 500 so it won't hang anymore but need to investigate a good strategy here.

@zuphilip
Copy link
Member

I see also there is one executation under started: http://infolis.gesis.org/infolink/api/monitor#executions-STARTED and actually it was started 3 days ago. Is there maybe a connection to these down times?

@kba
Copy link
Contributor Author

kba commented Nov 27, 2015

All the executions serialized as JSON amount to about 60 MB of raw data per request, which isn't necessarily streamed. That is what caused the hangs. If the frontend is unavailable, the backend can't update an execution, hence the started execution.

@kba
Copy link
Contributor Author

kba commented Nov 30, 2015

Closing this and track progress on a proper fix in #74.

@kba kba closed this as completed Nov 30, 2015
stweil pushed a commit to stweil/infolis-web that referenced this issue Jan 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants