openphacts / GLOBAL

Global project issues [private for now. owner lee harland]
3 stars 0 forks source link

Time-out after 1 min #378

Closed danidi closed 7 years ago

danidi commented 7 years ago

Although it should be 15min, a time-out occurs after 1 min already. Some calls (especially similarity/substructure search) need more than one minute to retrieve results (unless the result is already cached).

randykerber commented 7 years ago

There's a partial diagnosis of this issue...

My memory is a bit fuzzy, but a couple of weeks ago I did discover that in OPS_LinkedDataApi there is a timeout set to 10 minutes, instead of the 15-minute Virtuoso timeout. So it seems that the 1-minute timeout must be getting set somewhere in the nginx or 3scale side of things rather than in Virtuoso or the API.

Brian (@bigballofmud) vaguely recalled seeing some sort of time threshold value set to 60 seconds somewhere in the systems he's been working with, but hasn't been able to re-locate it yet. Presumably, when we find it, we'll be able to reset that option to 10 or 15 minutes and resolve this issue.

randykerber commented 7 years ago

We found the 1 minute timeout. It was somewhere in the bundle of nginx/3scale/openresty.

The timeout should now be 10 minutes.

If I find where the 10 minute timeout is, I will change it to 15 minutes.

randykerber commented 7 years ago

I believe this is fixed for v2.2. If there's an example that doesn't work add it here.