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

[Bug] Should wait for plugins to gracefully shutdown #7697

Open
Impa10r opened this issue Sep 24, 2024 · 1 comment
Open

[Bug] Should wait for plugins to gracefully shutdown #7697

Impa10r opened this issue Sep 24, 2024 · 1 comment

Comments

@Impa10r
Copy link

Impa10r commented Sep 24, 2024

Issue and Steps to Reproduce

Hi, peerswap plugin subscribes to shutdown event to shut down gracefully, but it appears that lightningd does not wait 30 seconds:

sep 24 12:43:56 vlad-VirtualBox systemd[1]: Started Core Lightning daemon.
sep 24 12:44:53 vlad-VirtualBox systemd[1]: Stopping Core Lightning daemon...
sep 24 12:44:53 vlad-VirtualBox lightningd[584546]: Lost connection to the RPC socket.
sep 24 12:44:53 vlad-VirtualBox lightningd[584550]: Lost connection to the RPC socket.
sep 24 12:44:53 vlad-VirtualBox lightningd[584549]: Lost connection to the RPC socket.
sep 24 12:44:53 vlad-VirtualBox lightningd[584548]: Lost connection to the RPC socket.
sep 24 12:44:53 vlad-VirtualBox lightningd[584539]: Lost connection to the RPC socket.
sep 24 12:44:53 vlad-VirtualBox systemd[1]: lightningd.service: Deactivated successfully.
sep 24 12:44:53 vlad-VirtualBox lightningd[584538]: Lost connection to the RPC socket.
sep 24 12:44:53 vlad-VirtualBox systemd[1]: lightningd.service: Unit process 584536 (chanbackup) remains running after unit stopped.
sep 24 12:44:53 vlad-VirtualBox lightningd[584547]: Lost connection to the RPC socket.
sep 24 12:44:53 vlad-VirtualBox systemd[1]: lightningd.service: Unit process 584540 (topology) remains running after unit stopped.
sep 24 12:44:53 vlad-VirtualBox lightningd[584543]: Lost connection to the RPC socket.
sep 24 12:44:53 vlad-VirtualBox systemd[1]: lightningd.service: Unit process 584542 (offers) remains running after unit stopped.
sep 24 12:44:53 vlad-VirtualBox lightningd[584535]: Lost connection to the RPC socket.
sep 24 12:44:53 vlad-VirtualBox systemd[1]: lightningd.service: Unit process 584544 (recklessrpc) remains running after unit stopped.
sep 24 12:44:53 vlad-VirtualBox lightningd[584541]: Lost connection to the RPC socket.
sep 24 12:44:53 vlad-VirtualBox systemd[1]: lightningd.service: Unit process 584545 (recover) remains running after unit stopped.
sep 24 12:44:53 vlad-VirtualBox systemd[1]: lightningd.service: Unit process 584547 (cln-renepay) remains running after unit stopped.
sep 24 12:44:53 vlad-VirtualBox systemd[1]: lightningd.service: Unit process 584552 (bookkeeper) remains running after unit stopped.
sep 24 12:44:53 vlad-VirtualBox systemd[1]: lightningd.service: Unit process 584556 (peerswap) remains running after unit stopped.
sep 24 12:44:53 vlad-VirtualBox systemd[1]: lightningd.service: Unit process 584557 (psweb) remains running after unit stopped.
sep 24 12:44:53 vlad-VirtualBox systemd[1]: lightningd.service: Unit process 584808 (lightning_conne) remains running after unit stopped.
sep 24 12:44:53 vlad-VirtualBox systemd[1]: lightningd.service: Unit process 584928 (lightning_gossi) remains running after unit stopped.
sep 24 12:44:53 vlad-VirtualBox systemd[1]: Stopped Core Lightning daemon.
sep 24 12:44:53 vlad-VirtualBox systemd[1]: lightningd.service: Consumed 29.391s CPU time.
sep 24 12:44:53 vlad-VirtualBox lightningd[584536]: Lost connection to the RPC socket.

getinfo output

v24.08.1

@wtogami
Copy link
Contributor

wtogami commented Sep 24, 2024

Thanks for finding this!

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