Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Operations hanging and can't cancel #549

Closed
kjpearson opened this issue Mar 8, 2018 · 8 comments
Closed

Operations hanging and can't cancel #549

kjpearson opened this issue Mar 8, 2018 · 8 comments

Comments

@kjpearson
Copy link

This may be difficult to reproduce but it's serious enough to warrant an issue as I've had a number of occasions where the operation seems to be running but must have become stuck somehow.

I have had a several situations where the GUI indicated that an operation is running but after a while it becomes clear that it's taken much longer than usual to complete. On those occasions I've tried to hit the cancel button but it has no effect. The data display on the globe still rotates and zooms and I can initiate new operations but the processing doesn't finish. The only solution is to restart Cate.

A similar thing seems to happen if I open a local data source on a remote mounted disk and then the link to the disk goes down. Cate still displays activity for the loading of the dataset but even if the connection the remote disk is established the process doesn't complete. There is no "cancel" button for the open local data source operation.

Specifications

Cate v2.0.0 dev1 iMac

@forman
Copy link
Member

forman commented Mar 8, 2018

Happened to me some moments ago, but I cannot reproduce it in a new session.
In the previous session I opened a CCI dataset subset remotely from ODP (cloud coverage).
In the new session I only used local data.
Just a suspicion.

@forman forman self-assigned this Mar 9, 2018
mzuehlke added a commit to CCI-Tools/cate-desktop that referenced this issue Mar 15, 2018
@forman
Copy link
Member

forman commented Apr 17, 2018

May be related to and fixed by #606

@forman
Copy link
Member

forman commented May 14, 2018

@kjpearson do you still encounter this behaviour in dev10?

@kjpearson
Copy link
Author

So far I've not had the processing hang on me in dev10. However, there are some operations that don't have a cancel button and that can take some time like "open_dataset" and, I think, "write_netcdf4". The last command took a surprising 5 hours to write out a 2.5 GB file (a single 12x3600x7200 array) although I may have been short on memory at this point in the processing.

@forman
Copy link
Member

forman commented May 22, 2018

However, there are some operations that don't have a cancel button and that can take some time like "open_dataset"

open_dataset now has a progress monitor and is cancelable, however for multiple files only.

The last command took a surprising 5 hours to write out a 2.5 GB file...

Holy cow! That's not intended. Note, it may not be the writing itself, but the processing that provides the data to be written (Cate uses "pull processing" through xarray/dask)

@forman
Copy link
Member

forman commented Sep 27, 2018

@kjpearson can you still reproduce this?

@kjpearson
Copy link
Author

I can now successfully cancel opening datasets. There can be a delay of some minutes before it seems to take effect but it does succesfully cancel.

@forman
Copy link
Member

forman commented Oct 1, 2018

Ok, closing it, thanks!

@forman forman closed this as completed Oct 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants