-
Notifications
You must be signed in to change notification settings - Fork 5
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
Downloading data: child process has died #323
Comments
I get exactly the same error, at the same stage. I suspect the failure is actually at:
I'm getting HTTP 502 request failed returns on the above call, this might be fixed with paging in https://github.com/inbo/etn/tree/paging: Lines 99 to 159 in 8012306
Paging comes at a significant cost, not only the IO operations, but having to either rely on the parsing of readr, or having to store the mapping somewhere and reapplying it. It would like to avoid having to I'm thinking about it. In any case, this might have to be fixed on the etnservice side.
|
Because it's a gateway error, I've contacted Stijn to see what he can see on his side. I don't think the object is too big to pass over the API, especially compressed. I don't think server side paging will fix this, but client side paging might, altough with a very significant overhead (because we'd need to implement sorting, or maybe use R sessions to fetch from OpenCPU..) |
If this is the case, why does the query work when using a local database connection? |
That's a question on how OpenCPU works. Their might be a solution in a async worker doing the query and writing it to file and than returning that. |
I'm not sure if OpenCPU supports async requests. I agree that async requests would be the best solution for big datasets.
|
I got the following error when trying to download the largest dataset I know:
This type of time-outs is expected when using the API. Is there an option to catch they and suggestion something more helpful?
The text was updated successfully, but these errors were encountered: