ouisync icon indicating copy to clipboard operation
ouisync copied to clipboard

Unable to kill ouisync-cli

Open Juul opened this issue 1 year ago • 4 comments

Had a ouisync instance running using ouisync-cli, not in docker and as a regular user, for a few hours. Synced a few repos to other devices. Now ctrl-c doesn't do anything. Using kill to send a TERM signal does nothing. Sending the -9 KILL signal worked.

Juul avatar Jul 11 '24 02:07 Juul

Restarted and now ctrl-c works. Must be a state it can get into after running for a while.

Juul avatar Jul 11 '24 02:07 Juul

Perhaps related: when one navigates to a mounted repository in one terminal and then tries to ouisync unmount -n <THAT_REPO> in another terminal, the operation hangs until one cds out of the repo from the first terminal.

When the app catches the TERM it tries to unmount all repositories, and it might be that it hangs on the unmounting operation due the the above.

inetic avatar Aug 22 '24 09:08 inetic

Related: https://github.com/equalitie/ouisync/issues/169 (possibly same cause)

madadam avatar May 07 '25 08:05 madadam

https://redmine.equalit.ie/issues/31643

IvanaBlzvc avatar May 08 '25 10:05 IvanaBlzvc