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

Cate Desktop hangs when restarted after quit while running a task #578

Closed
forman opened this issue Mar 21, 2018 · 0 comments
Closed

Cate Desktop hangs when restarted after quit while running a task #578

forman opened this issue Mar 21, 2018 · 0 comments
Assignees

Comments

@forman
Copy link
Member

forman commented Mar 21, 2018

Expected behavior

When Cate Desktop quits all child process must unconditionally quit too. Cate WebAPI web-service shall always terminate when Cate Desktop terminates.

Actual behavior

Cate Desktop hangs when restarted after quit while running a task. Under some circumstances, the Cate web-service process stays alive after Cate Desktop quits. The Cate web-service may become unresponsive (e.g. due to high CPU loads while processing data or swapping large RAM amounts or downloading data) thus wont recieve a stop request form Cate Desktop when it quits. In this case, a child process remains alive while Cate Desktop has already terminated.

Starting Cate Desktop a second time will cause it to hang, waiting for the existing web-service to connect infinitely.

Steps to reproduce the problem

  1. Start Cate Desktop
  2. Perform long-running task (e.g. ODP download, or animate_map op on large dataset)
  3. Quit Cate Desktop
  4. Start Cate Desktop

--> Will wait forever connecting to Cate service

Specifications

Cate Desktop up to 2.0.0.dev7

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

1 participant