Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pscli can't stop peerswapd when LND is down #165

Open
grubles opened this issue Jan 12, 2023 · 2 comments
Open

pscli can't stop peerswapd when LND is down #165

grubles opened this issue Jan 12, 2023 · 2 comments

Comments

@grubles
Copy link
Collaborator

grubles commented Jan 12, 2023

If LND is shut down while peerswapd is running, pscli seems to be unable to stop peerswapd:

$ ps aux | grep peerswapd
user     2605252  0.2  0.0 1843616 22016 pts/6   Sl   15:11   0:00 ./builds/peerswap/out/peerswapd
user     2605296  0.0  0.0   6024  2008 pts/6    S+   15:11   0:00 grep --color=auto peerswapd

$ ./builds/peerswap/out/pscli stop
2023/01/12 15:12:01 rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp 127.0.0.1:42069: connect: connection refused"

This might be related to the bug where many (zombie?) peerswap processes are running simultaneously somehow?

@nepet
Copy link
Contributor

nepet commented Jan 12, 2023

Have the zombie processes not been peerswap plugin (cln) related?

@grubles
Copy link
Collaborator Author

grubles commented Jan 12, 2023

There was one report from statespacedev on Discord about zombie peerswap-plugin processes. I experienced zombie plugin processes locally a month or so ago too. In this instance, there was only one running peerswapd but it was unresponsive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants