equalitie / ouisync

A secure peer-to-peer file synchronization app.
https://ouisync.net
Mozilla Public License 2.0
36 stars 9 forks source link

Unable to kill ouisync-cli #171

Open Juul opened 3 months ago

Juul commented 3 months ago

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 commented 3 months ago

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

inetic commented 1 month ago

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.