You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If thredds.met.no or the NFS lustre Gateways, are having issues,
The part of the solr_dist (solrindexer) that tries to extract featureType from the netcdf-file using the OPeNDAP url, will hang, and then the gunicorn dmci app will timeout and get SIGKILLED, and the solr document processed will not be indexed.
A solution of this is to tell the netCDF4-python (netcdf c-library) to have a timeout short than gunicorn. (Default gunicorn is 30s).
The solution according to the netCDF4-python mailinglist, is to add a .dodsrcin the home of the dmci app.
So the solution will be to add a .dodsrcfile with the contents: HTTP.TIMEOUT=20 and place it in the root folder of this repository.
Then the opendap request should timeout before the gunicorn process times, out. solr_dist will print a timeout error, but the document will still be indexed with this solution.
The text was updated successfully, but these errors were encountered:
If thredds.met.no or the NFS lustre Gateways, are having issues,
The part of the solr_dist (solrindexer) that tries to extract featureType from the netcdf-file using the OPeNDAP url, will hang, and then the gunicorn dmci app will timeout and get SIGKILLED, and the solr document processed will not be indexed.
A solution of this is to tell the netCDF4-python (netcdf c-library) to have a timeout short than gunicorn. (Default gunicorn is 30s).
The solution according to the netCDF4-python mailinglist, is to add a
.dodsrc
in the home of the dmci app.So the solution will be to add a
.dodsrc
file with the contents:HTTP.TIMEOUT=20
and place it in the root folder of this repository.Then the opendap request should timeout before the gunicorn process times, out.
solr_dist
will print a timeout error, but the document will still be indexed with this solution.The text was updated successfully, but these errors were encountered: