--- Log opened Wed Mar 13 00:00:14 2019 00:26 -!- EagleTM [~EagleTM@unaffiliated/eagletm] has quit [Ping timeout: 252 seconds] 02:12 < t0mix> Alterego123, has Pierre any better option than closing the channel? 02:14 < t0mix> I would try in myself if you can wait a week (or so). my new server should arrive soon (maybe even today). then I can play a bit and will try to follow the tutorial you gave me. 02:20 -!- bitonic-cjp [~bitonic-c@92-111-70-106.static.v4.ziggozakelijk.nl] has joined #c-lightning 02:30 -!- booyah [~bb@193.25.1.157] has joined #c-lightning 02:34 < bitonic-cjp> What is a normal memory consumption of lightningd and lightning-gossipd on mainnet Bitcoin? 02:45 < bitonic-cjp> A colleague of me has 2425M for gossipd and 931M for lightningd, but my own node only uses 113M for gossipd and 71M for lightningd, so I can't reproduce his memory consumption. 02:48 < bitonic-cjp> A possible difference is that he has a publicly accessible open port 9735 and I don't. I do think I receive gossip data though, since I manually created an outgoing connection to another node, and I receive node_announcement and channel_update messages. 02:52 < t0mix> 133M for lightningd, 117M for gossipd. I do have publicly open port 9735. 02:53 < t0mix> how many channels has he opened? and you? 02:54 < bitonic-cjp> I have one open channel; he has more. 02:54 < t0mix> I have 17 02:56 < bitonic-cjp> It seems he has 2 active and 2 closed channels. 02:56 < bitonic-cjp> Which lightingd version do you run? 02:57 < t0mix> then I would say something is wrong with his node. how does he measure memory consumption? I used "pmap -x " :) version v0.7.0 02:58 < bitonic-cjp> We both have 0.7.0. 02:59 < bitonic-cjp> We both used the RES column in htop; for me, the result is about the same as in your pmap command. 03:00 < bitonic-cjp> I'll ask him to run pmap; it seems to give more verbose info, so we can compare. 03:04 < bitonic-cjp> BTW do you know if any gossip data is stored on disk? Since gossipd is the worst offender, I'd like to compare his data with mine. 03:09 < t0mix> yes, there is gossip_store file in .lightning directory. but I have no idea how that works internally. 03:10 < t0mix> btw, what HW are you two using? 03:10 < bitonic-cjp> We both use x86_64 virtual machines. 03:12 < bitonic-cjp> He used to have crashes on 4G RAM and stopped having crashes after upgrading to 8G; I have 4G RAM in an attempt to replicate his crashes. 03:13 < t0mix> hm, I have 1GB RAM. ARMv7 (rpi). 03:13 < t0mix> I do run bitcoind on that same HW. 03:15 < t0mix> maybe you could use "valgrind" to debug memory problems. but I'm supernoob with that tool. 03:15 < bitonic-cjp> We both run bitcoind on the same computer as well. My own bitcoind takes about 700M; his bitcoind about 580M. 03:19 -!- Alterego123 [Alterego12@gateway/vpn/protonvpn/alterego123] has joined #c-lightning 03:21 < bitonic-cjp> Hmm, as expected, most of his memory in the pmap output is in [ anon ] mappings. I guess this is typically heap data? 03:23 < bitonic-cjp> Interestingly, one element has 15T mapped, but only 280M RSS. 03:24 < bitonic-cjp> The bulk of RSS is in [ anon ] mappings of 100..200M each. 03:27 -!- Alterego123 [Alterego12@gateway/vpn/protonvpn/alterego123] has quit [Remote host closed the connection] 03:28 -!- Alterego123 [Alterego12@gateway/vpn/protonvpn/alterego123] has joined #c-lightning 03:47 -!- spinza [~spin@155.93.246.187] has quit [Quit: Coyote finally caught up with me...] 03:55 < Alterego123> Ok so i was unable to restore the lightning database file 03:55 < Alterego123> Should i ask for others to close channels to me or not? 03:56 < Alterego123> i've read if they do so i lose funds in channels 04:02 -!- spinza [~spin@155.93.246.187] has joined #c-lightning 04:10 -!- Alterego123 [Alterego12@gateway/vpn/protonvpn/alterego123] has quit [Read error: Connection reset by peer] 04:10 -!- Alterego_ [Alterego12@gateway/vpn/protonvpn/alterego123] has joined #c-lightning 04:13 < t0mix> yeah, do it. #reckless =) (yet you can try to contact @coinmonks and check their tutorial with them) 04:18 < Alterego_> @t0mix you're talking to me? 04:20 < bitonic-cjp> Apparenly my colleague unknowingly had AddressSanitizer installed: https://github.com/google/sanitizers/wiki/AddressSanitizer 04:21 < bitonic-cjp> After cleaning up his system and recompiling lightningd, his memory consumption is normal. 04:22 < t0mix> Alterego, yes. 04:23 < t0mix> gz bitonic-cjp :) 04:23 < Alterego_> Bitonic <3 04:26 < Alterego_> @t0mix i've tried to do that, but port 0 setting does not work 04:26 < Alterego_> i'm starting to think funds are lost 04:40 -!- bitdex [~bitdex@gateway/tor-sasl/bitdex] has quit [Ping timeout: 256 seconds] 04:41 -!- Alterego_ [Alterego12@gateway/vpn/protonvpn/alterego123] has quit [Remote host closed the connection] 04:44 < t0mix> Alterego_ I think you should really get in touch with coinmonks and ask them. or, as I mentioned earlier today, I'm willing to test it. but it will take more time. don't give up, yet :) 04:50 < t0mix> I think you can just use any port. why they mentioned it tutorial.. no idea. https://www.lifewire.com/port-0-in-tcp-and-udp-818145 05:18 -!- spaced0ut [~spaced0ut@unaffiliated/spaced0ut] has joined #c-lightning 06:12 <@cdecker> Yes, ASAN tends to map a lot more memory in, but very little of it is actually used, so that'd explain the huge apparent memory consumption 06:30 -!- Alterego123 [Alterego12@gateway/vpn/protonvpn/alterego123] has joined #c-lightning 06:30 -!- Alterego123 [Alterego12@gateway/vpn/protonvpn/alterego123] has quit [Remote host closed the connection] 06:59 -!- Alterego123 [Alterego12@gateway/vpn/protonvpn/alterego123] has joined #c-lightning 07:18 -!- Alterego123 [Alterego12@gateway/vpn/protonvpn/alterego123] has quit [Read error: Connection reset by peer] 07:18 -!- Alterego_ [Alterego12@gateway/vpn/protonvpn/alterego123] has joined #c-lightning 07:19 -!- Alterego_ [Alterego12@gateway/vpn/protonvpn/alterego123] has quit [Read error: Connection reset by peer] 07:19 -!- Alterego123 [Alterego12@gateway/vpn/protonvpn/alterego123] has joined #c-lightning 07:22 < Alterego123> So i'm still stuck, hsm_secret 07:23 < Alterego123> can anyone confirm asking other parties to close channels is a bad idea? 07:32 -!- justan0theruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 246 seconds] 07:53 -!- justan0theruser [~justanoth@unaffiliated/justanotheruser] has joined #c-lightning 07:57 -!- Alterego123 [Alterego12@gateway/vpn/protonvpn/alterego123] has quit [Read error: Connection reset by peer] 07:57 -!- Alterego_ [Alterego12@gateway/vpn/protonvpn/alterego123] has joined #c-lightning 09:10 -!- Alterego_ [Alterego12@gateway/vpn/protonvpn/alterego123] has quit [Read error: Connection reset by peer] 09:10 -!- Alterego123 [Alterego12@gateway/vpn/protonvpn/alterego123] has joined #c-lightning 09:25 -!- Alterego123 [Alterego12@gateway/vpn/protonvpn/alterego123] has quit [Remote host closed the connection] 09:41 -!- spinza [~spin@155.93.246.187] has quit [Quit: Coyote finally caught up with me...] 09:47 -!- Alterego123 [Alterego12@gateway/vpn/protonvpn/alterego123] has joined #c-lightning 09:49 < m-schmoock> can someone tell me how i can locally check if the code compiles with COMPILER=clang ? The travis complains about my changes, but when I export COMPILER=clang make simply refuse to do anything and returns 0 09:49 < m-schmoock> > make -j12 09:49 < m-schmoock> > echo $? 09:49 < m-schmoock> > 0 10:10 -!- bitonic-cjp [~bitonic-c@92-111-70-106.static.v4.ziggozakelijk.nl] has quit [Quit: Leaving] 10:13 -!- Alterego123 [Alterego12@gateway/vpn/protonvpn/alterego123] has quit [Ping timeout: 252 seconds] 10:21 -!- Alterego123 [Alterego12@gateway/vpn/protonvpn/alterego123] has joined #c-lightning 10:30 < m-schmoock> ( https://travis-ci.org/ElementsProject/lightning/jobs/505854586 ) 10:31 < m-schmoock> I have glang installed, advice highly appreciated :D 10:36 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Remote host closed the connection] 10:36 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined #c-lightning 10:38 -!- Alterego123 [Alterego12@gateway/vpn/protonvpn/alterego123] has quit [Remote host closed the connection] 10:39 -!- spinza [~spin@155.93.246.187] has joined #c-lightning 10:41 -!- Alterego123 [Alterego12@gateway/vpn/protonvpn/alterego123] has joined #c-lightning 11:03 -!- Alterego123 [Alterego12@gateway/vpn/protonvpn/alterego123] has quit [Remote host closed the connection] 11:05 -!- cidero [5c74485c@gateway/web/freenode/ip.92.116.72.92] has joined #c-lightning 11:08 < cidero> Hi! AFAIK c-lightning still doesn't support two channels to the same peer (e.g. outgoing and incoming with the node LightningPowerUsers). Is this still the case? Is there an Github issue where I can track the progress of implementing this? 11:38 -!- Victor_sueca is now known as Victorsueca 11:40 <@cdecker> m-schmoock: `./configure CC=clang` will change the compiler to `clang`, alternatively you can also edit `config.vars` :-) 11:43 -!- CubicEarth [~CubicEart@c-67-168-1-172.hsd1.wa.comcast.net] has quit [Ping timeout: 250 seconds] 11:46 -!- CubicEarth [~CubicEart@c-67-168-1-172.hsd1.wa.comcast.net] has joined #c-lightning 11:54 < grubles> oh does that mean we can use clang to build on openbsd? 11:54 < grubles> last i tried the build failed using gmake and such 12:12 < m-schmoock> cdecker: thanl you 12:12 < m-schmoock> *thank 12:16 <@cdecker> grubles: maybe :-) 12:16 <@cdecker> I have absolutely no clue on what the differences between Linux and the BSDs are 12:16 <@cdecker> But laanwj has compiled c-lightning on a BSD a while ago 12:27 -!- justan0theruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 246 seconds] 12:30 -!- spaced0ut [~spaced0ut@unaffiliated/spaced0ut] has quit [Ping timeout: 245 seconds] 12:31 < grubles> well it builds on freebsd 12:34 <@cdecker> Excellent ^^ 12:35 <@cdecker> World domination here we come 12:35 < grubles> :p 13:24 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has joined #c-lightning 13:30 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Ping timeout: 256 seconds] 13:31 -!- ghost43 [~daer@gateway/tor-sasl/daer] has joined #c-lightning 13:47 -!- CubicEarth [~CubicEart@c-67-168-1-172.hsd1.wa.comcast.net] has quit [Ping timeout: 246 seconds] 13:49 -!- CubicEarth [~CubicEart@c-67-168-1-172.hsd1.wa.comcast.net] has joined #c-lightning 14:03 -!- Alterego123 [Alterego12@gateway/vpn/protonvpn/alterego123] has joined #c-lightning 14:38 -!- Alterego123 [Alterego12@gateway/vpn/protonvpn/alterego123] has quit [Remote host closed the connection] 14:49 <@niftynei> cidero, this is in fact the case. c-lightning has no current plans to include multiple channels between two nodes. the dual funding proposal is currently being worked on tho 14:52 < cidero> niftynei: thanks! 14:53 -!- cubancorona [cubancoron@gateway/vpn/privateinternetaccess/cubancorona] has quit [Remote host closed the connection] 14:53 -!- cubancorona [cubancoron@gateway/vpn/privateinternetaccess/cubancorona] has joined #c-lightning 15:05 -!- cidero [5c74485c@gateway/web/freenode/ip.92.116.72.92] has quit [Quit: Page closed] 15:10 -!- spinza [~spin@155.93.246.187] has quit [Quit: Coyote finally caught up with me...] 15:45 -!- spinza [~spin@155.93.246.187] has joined #c-lightning 16:00 -!- cubancorona [cubancoron@gateway/vpn/privateinternetaccess/cubancorona] has quit [Remote host closed the connection] 16:32 -!- justanotheruser is now known as biden 16:33 -!- biden is now known as justanotheruser 18:41 -!- booyah_ [~bb@193.25.1.157] has joined #c-lightning 18:41 -!- booyah [~bb@193.25.1.157] has quit [Read error: Connection reset by peer] 19:01 -!- spinza [~spin@155.93.246.187] has quit [Quit: Coyote finally caught up with me...] 19:08 -!- spinza [~spin@155.93.246.187] has joined #c-lightning 20:21 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has quit [Ping timeout: 246 seconds] 20:39 -!- justanotheruser [~justanoth@unaffiliated/justanotheruser] has joined #c-lightning 21:04 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-tlvopxkqlkhsjzbj] has left #c-lightning [] 21:05 -!- blockstream_bot [blockstrea@gateway/shell/sameroom/x-tlvopxkqlkhsjzbj] has joined #c-lightning --- Log closed Thu Mar 14 00:00:15 2019