Giter Club home page Giter Club logo

Comments (3)

daywalker90 avatar daywalker90 commented on June 11, 2024

Can you post the ~30 lines of logs before

**BROKEN** plugin-autoclean: Plugin marked as important, shutting down lightningd!

There may be more info there that would help someone fix this.

from lightning.

marimes avatar marimes commented on June 11, 2024

The first block shows the INFO lines from start to crash. The second block contains the last 40 lines, including DEBUG (there are 1M lines from start to crash).

INFO:

2024-04-23T06:50:58.251Z INFO    lightningd: Server started with public key 02d695b01c7a6909e716c863fb39bc5fb7bbdc3824b7fdce53adc593e5be080e73, alias MindlinerTre (color #fec89a) and lightningd v24.02
2024-04-23T06:50:59.673Z INFO    plugin-sling: Getting all channels in gossip...
2024-04-23T06:50:59.728Z INFO    02ddb472c8edf0624dec5544507b705aae67d42a6cc2db133ba7e843fd5ce90135-chan#894: State changed from FUNDING_SPEND_SEEN to ONCHAIN
2024-04-23T06:50:59.761Z INFO    02dd4a9cf224e290851f6af83072e2496479bdf4b65e1733e92e24d42a0ba89a75-chan#980: State changed from FUNDING_SPEND_SEEN to ONCHAIN
2024-04-23T06:50:59.774Z INFO    030b04c5d37b8cb3acd324edefed38e170d355c8f0953718307b894321d576615f-chan#929: State changed from FUNDING_SPEND_SEEN to ONCHAIN
2024-04-23T06:50:59.797Z INFO    02b6dabd436275044399002241195b82b7fed517b226d0a109b1d07a39d7b4a91a-chan#667: State changed from FUNDING_SPEND_SEEN to ONCHAIN
2024-04-23T06:50:59.835Z INFO    02e12fea95f576a680ec1938b7ed98ef0855eadeced493566877d404e404bfbf52-chan#792: State changed from FUNDING_SPEND_SEEN to ONCHAIN
2024-04-23T06:50:59.958Z INFO    035736692722a47389d6be965d73a50b1ba63233a1b975aa55db7f90446f5708cb-chan#922: State changed from FUNDING_SPEND_SEEN to ONCHAIN
2024-04-23T06:50:59.979Z INFO    0309bf5fe006bd2b14d61126723481c6c685bda44efe093800908527dfe9cd8db7-chan#989: State changed from FUNDING_SPEND_SEEN to ONCHAIN
2024-04-23T06:51:00.086Z INFO    03f3c108ccd536b8526841f0a5c58212bb9e6584a1eb493080e7c1cc34f82dad71-chan#719: State changed from FUNDING_SPEND_SEEN to ONCHAIN
2024-04-23T06:51:00.156Z INFO    02da610818b08d34fd50b2f3ec02e00803437630291d72f1515ffbc6e5a5ee8542-chan#1163: State changed from FUNDING_SPEND_SEEN to ONCHAIN
2024-04-23T06:51:02.025Z INFO    02d48867c2fe222849df868a2db71ea676c46bef6ece535cc1d34a058595e6c1d6-channeld-chan#1180: Peer connection lost
2024-04-23T06:51:02.025Z INFO    02d48867c2fe222849df868a2db71ea676c46bef6ece535cc1d34a058595e6c1d6-chan#1180: Peer transient failure in CHANNELD_NORMAL: channeld: Owning subdaemon channeld died (62208)
2024-04-23T06:51:10.574Z INFO    02f1246b8fe904a5c5193504d8069532b1fb8692b84fb3eb64318b201238f60ff1-connectd: Received WIRE_WARNING: WARNING: channel_announcement: no unspent txout 811379x1035x2
2024-04-23T06:51:10.721Z INFO    030ed412981860150762a3ec93d9e571442cbc0f2f7d3be1b3d047d7695e94c0c4-chan#657: Peer transient failure in CHANNELD_NORMAL: channeld sent update_fee 253 outside range 1990-2881170 (currently 57729)
2024-04-23T06:53:16.101Z INFO    030ed412981860150762a3ec93d9e571442cbc0f2f7d3be1b3d047d7695e94c0c4-chan#657: Peer transient failure in CHANNELD_NORMAL: channeld sent update_fee 253 outside range 1990-2881170 (currently 57729)
2024-04-23T06:55:10.109Z INFO    03e86afe389d298f8f53a2f09fcc4d50cdd34e2fbd8f32cbd55583c596413705c2-channeld-chan#1110: Peer connection lost
2024-04-23T06:55:10.109Z INFO    03e86afe389d298f8f53a2f09fcc4d50cdd34e2fbd8f32cbd55583c596413705c2-chan#1110: Peer transient failure in CHANNELD_NORMAL: channeld: Owning subdaemon channeld died (62208)
2024-04-23T06:55:10.110Z INFO    02fe448117fa0f370d578d0dcc40c06476c3948a664ea24ce1d132d331aab125f0-channeld-chan#183: Peer connection lost
2024-04-23T06:55:10.110Z INFO    02fe448117fa0f370d578d0dcc40c06476c3948a664ea24ce1d132d331aab125f0-chan#183: Peer transient failure in CHANNELD_NORMAL: channeld: Owning subdaemon channeld died (62208)
2024-04-23T06:55:44.528Z INFO    plugin-autoclean: Killing plugin: exited during normal operation

DEBUG:

marius@mlbb2:~/tmp$ tail -40 cl.log 
2024-04-23T06:55:44.475Z DEBUG   027100442c3b79f606f80f322d98d499eefcb060599efc5d4ecb00209c2cb54190-connectd: peer_out WIRE_WARNING
2024-04-23T06:55:44.475Z DEBUG   gossipd: channel_announcement: got reply for 593222x589x1...
2024-04-23T06:55:44.475Z DEBUG   027100442c3b79f606f80f322d98d499eefcb060599efc5d4ecb00209c2cb54190-connectd: peer_out WIRE_WARNING
2024-04-23T06:55:44.475Z DEBUG   027100442c3b79f606f80f322d98d499eefcb060599efc5d4ecb00209c2cb54190-gossipd: Bad gossip order: channel_announcement: no unspent txout 593222x589x1
2024-04-23T06:55:44.475Z DEBUG   027100442c3b79f606f80f322d98d499eefcb060599efc5d4ecb00209c2cb54190-connectd: peer_out WIRE_WARNING
2024-04-23T06:55:44.475Z DEBUG   gossipd: channel_announcement: got reply for 593222x1781x1...
2024-04-23T06:55:44.475Z DEBUG   027100442c3b79f606f80f322d98d499eefcb060599efc5d4ecb00209c2cb54190-connectd: peer_out WIRE_WARNING
2024-04-23T06:55:44.475Z DEBUG   027100442c3b79f606f80f322d98d499eefcb060599efc5d4ecb00209c2cb54190-gossipd: Bad gossip order: channel_announcement: no unspent txout 593222x1781x1
2024-04-23T06:55:44.475Z DEBUG   027100442c3b79f606f80f322d98d499eefcb060599efc5d4ecb00209c2cb54190-connectd: peer_out WIRE_WARNING
2024-04-23T06:55:44.476Z DEBUG   gossipd: channel_announcement: got reply for 593223x1237x0...
2024-04-23T06:55:44.476Z DEBUG   027100442c3b79f606f80f322d98d499eefcb060599efc5d4ecb00209c2cb54190-connectd: peer_out WIRE_WARNING
2024-04-23T06:55:44.476Z DEBUG   027100442c3b79f606f80f322d98d499eefcb060599efc5d4ecb00209c2cb54190-gossipd: Bad gossip order: channel_announcement: no unspent txout 593223x1237x0
2024-04-23T06:55:44.476Z DEBUG   027100442c3b79f606f80f322d98d499eefcb060599efc5d4ecb00209c2cb54190-connectd: peer_out WIRE_WARNING
2024-04-23T06:55:44.476Z DEBUG   gossipd: channel_announcement: got reply for 593223x1676x1...
2024-04-23T06:55:44.476Z DEBUG   027100442c3b79f606f80f322d98d499eefcb060599efc5d4ecb00209c2cb54190-connectd: peer_out WIRE_WARNING
2024-04-23T06:55:44.476Z DEBUG   027100442c3b79f606f80f322d98d499eefcb060599efc5d4ecb00209c2cb54190-gossipd: Bad gossip order: channel_announcement: no unspent txout 593223x1676x1
2024-04-23T06:55:44.476Z DEBUG   027100442c3b79f606f80f322d98d499eefcb060599efc5d4ecb00209c2cb54190-connectd: peer_out WIRE_WARNING
2024-04-23T06:55:44.476Z DEBUG   gossipd: channel_announcement: got reply for 593223x1677x0...
2024-04-23T06:55:44.476Z DEBUG   027100442c3b79f606f80f322d98d499eefcb060599efc5d4ecb00209c2cb54190-gossipd: Bad gossip order: channel_announcement: no unspent txout 593223x1677x0
2024-04-23T06:55:44.476Z DEBUG   gossipd: channel_announcement: got reply for 593223x1678x0...
2024-04-23T06:55:44.476Z DEBUG   027100442c3b79f606f80f322d98d499eefcb060599efc5d4ecb00209c2cb54190-gossipd: Bad gossip order: channel_announcement: no unspent txout 593223x1678x0
2024-04-23T06:55:44.476Z DEBUG   gossipd: channel_announcement: got reply for 593223x1679x0...
2024-04-23T06:55:44.476Z DEBUG   027100442c3b79f606f80f322d98d499eefcb060599efc5d4ecb00209c2cb54190-gossipd: Bad gossip order: channel_announcement: no unspent txout 593223x1679x0
2024-04-23T06:55:44.476Z DEBUG   gossipd: channel_announcement: got reply for 593223x1680x0...
2024-04-23T06:55:44.476Z DEBUG   027100442c3b79f606f80f322d98d499eefcb060599efc5d4ecb00209c2cb54190-gossipd: Bad gossip order: channel_announcement: no unspent txout 593223x1680x0
2024-04-23T06:55:44.476Z DEBUG   gossipd: channel_announcement: got reply for 593223x1681x0...
2024-04-23T06:55:44.476Z DEBUG   027100442c3b79f606f80f322d98d499eefcb060599efc5d4ecb00209c2cb54190-gossipd: Bad gossip order: channel_announcement: no unspent txout 593223x1681x0
2024-04-23T06:55:44.476Z DEBUG   gossipd: channel_announcement: got reply for 593223x1682x0...
2024-04-23T06:55:44.476Z DEBUG   027100442c3b79f606f80f322d98d499eefcb060599efc5d4ecb00209c2cb54190-gossipd: Bad gossip order: channel_announcement: no unspent txout 593223x1682x0
2024-04-23T06:55:44.476Z DEBUG   gossipd: channel_announcement: got reply for 593224x1060x0...
2024-04-23T06:55:44.477Z DEBUG   027100442c3b79f606f80f322d98d499eefcb060599efc5d4ecb00209c2cb54190-gossipd: Bad gossip order: channel_announcement: no unspent txout 593224x1060x0
2024-04-23T06:55:44.477Z DEBUG   gossipd: channel_announcement: got reply for 593225x2281x1...
2024-04-23T06:55:44.526Z DEBUG   plugin-recover: Listpeerchannels called
2024-04-23T06:55:44.528Z INFO    plugin-autoclean: Killing plugin: exited during normal operation
2024-04-23T06:55:44.528Z **BROKEN** plugin-autoclean: Plugin marked as important, shutting down lightningd!
2024-04-23T06:55:44.528Z DEBUG   lightningd: io_break: lightningd_exit
2024-04-23T06:55:44.528Z DEBUG   lightningd: io_loop_with_timers: main
2024-04-23T06:55:44.528Z DEBUG   plugin-clnrest.py: Notification: {'warning': {'level': 'error', 'time': '1713855344.528043086', 'timestamp': '2024-04-23T06:55:44.528Z', 'source': 'plugin-autoclean', 'log': 'Plugin marked as important, shutting down lightningd!'}}
2024-04-23T06:55:44.528Z DEBUG   connectd: REPLY WIRE_CONNECTD_START_SHUTDOWN_REPLY with 0 fds
2024-04-23T06:55:44.528Z DEBUG   lightningd: io_break: connectd_start_shutdown_reply

from lightning.

whitslack avatar whitslack commented on June 11, 2024

I can't use autoclean on my node either. The problem is that autoclean tries to load the entire table into memory before proceeding to delete individual rows from it. That will get the plugin killed due to OOM if you have a fairly large table. Why the plugin does not just DELETE FROM … WHERE …, I do not know, as that would consume almost no memory and would be many orders of magnitude faster.

from lightning.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.