gauteh / dars

𓃢 A fast and light OPeNDAP server
MIT License
20 stars 4 forks source link

wrong dataset count #30

Open alexander-buerger-met-no opened 1 year ago

alexander-buerger-met-no commented 1 year ago

The server on dars.met.no sometimes says

We are currently serving 0 datasets.

while it actually has 1 dataset. This message usually appears after reloading the page a few times.

gauteh commented 1 year ago

I think there might be something up with the kubernetes setup? It seems that every second request 404's.

magnusuMET commented 1 year ago

Seems you are right @gauteh, pod/dars-1 shows zero datasets. Going through the logs we have driver lock failures on opening the file. Maybe we should set HDF5_USE_FILE_LOCKING=FALSE?

gauteh commented 1 year ago

Ah, yes. HDF5 uses file locking in addition to the internal Mutex? I use the hdf5 lib while indexing and while pre-computing the DAS and DDS responses.