1 2017-03-18 08:34:41 0|wumpus|to follow up on the meeting I've opened an issue about the slow unit tests, see https://github.com/bitcoin/bitcoin/issues/10026
2 2017-03-18 08:35:13 0|wumpus|test_CheckQueue_Correct_Random takes 36s, that's absurd
3 2017-03-18 09:11:06 0|bitcoin-git|13bitcoin/06master 148dc957a 15practicalswift: Remove unused code
4 2017-03-18 09:11:06 0|bitcoin-git|[13bitcoin] 15laanwj pushed 2 new commits to 06master: 02https://github.com/bitcoin/bitcoin/compare/3d857f307be8...aab1e55860de
5 2017-03-18 09:11:07 0|bitcoin-git|13bitcoin/06master 14aab1e55 15Wladimir J. van der Laan: Merge #9987: Remove unused code...
6 2017-03-18 09:11:21 0|bitcoin-git|[13bitcoin] 15laanwj closed pull request #9987: Remove unused code (06master...06remove-unused-code) 02https://github.com/bitcoin/bitcoin/pull/9987
7 2017-03-18 09:58:45 0|bitcoin-git|13bitcoin/06master 14cfce581 15NicolasDorier: [LevelDB] Plug leveldb logs to bitcoin logs
8 2017-03-18 09:58:45 0|bitcoin-git|[13bitcoin] 15laanwj pushed 2 new commits to 06master: 02https://github.com/bitcoin/bitcoin/compare/aab1e55860de...a32890448068
9 2017-03-18 09:58:46 0|bitcoin-git|13bitcoin/06master 14a328904 15Wladimir J. van der Laan: Merge #9999: [LevelDB] Plug leveldb logs to bitcoin logs...
10 2017-03-18 09:59:03 0|bitcoin-git|[13bitcoin] 15laanwj closed pull request #9999: [LevelDB] Plug leveldb logs to bitcoin logs (06master...06leveldblog) 02https://github.com/bitcoin/bitcoin/pull/9999
11 2017-03-18 10:00:38 0|bitcoin-git|[13bitcoin] 15laanwj pushed 5 new commits to 06master: 02https://github.com/bitcoin/bitcoin/compare/a32890448068...baae3149d639
12 2017-03-18 10:00:39 0|bitcoin-git|13bitcoin/06master 14bb2aaee 15Pavel JanÃÂk: Prevent -Wshadow warnings with gcc versions 4.8.5, 5.3.1 and 6.2.1.
13 2017-03-18 10:00:39 0|bitcoin-git|13bitcoin/06master 14c4b60b3 15Pavel JanÃÂk: Make some global variables less-global (static)
14 2017-03-18 10:00:40 0|bitcoin-git|13bitcoin/06master 14b42ff60 15Pavel JanÃÂk: Fix shadowing of local variables.
15 2017-03-18 10:00:53 0|bitcoin-git|[13bitcoin] 15laanwj closed pull request #9911: Wshadow: various gcc fixes (06master...0620170303_Wshadow_streams) 02https://github.com/bitcoin/bitcoin/pull/9911
16 2017-03-18 10:38:14 0|bitcoin-git|[13bitcoin] 15laanwj pushed 3 new commits to 060.14: 02https://github.com/bitcoin/bitcoin/compare/43a987c1cbcd...fa8c6ddbef5e
17 2017-03-18 10:38:15 0|bitcoin-git|13bitcoin/060.14 144e2502b 15Matt Corallo: Add missing braces in semaphore posts in net...
18 2017-03-18 10:38:15 0|bitcoin-git|13bitcoin/060.14 14d2548a4 15Matt Corallo: Fix shutdown hang with >= 8 -addnodes set...
19 2017-03-18 10:38:16 0|bitcoin-git|13bitcoin/060.14 14fa8c6dd 15Wladimir J. van der Laan: Merge #10013: Fix shutdown hang with >= 8 -addnodes set (0.14 backport)...
20 2017-03-18 10:39:25 0|bitcoin-git|[13bitcoin] 15laanwj pushed 3 new commits to 060.14: 02https://github.com/bitcoin/bitcoin/compare/fa8c6ddbef5e...ccb47bf83036
21 2017-03-18 10:39:26 0|bitcoin-git|13bitcoin/060.14 142cd2cd5 15Suhas Daftuar: Test transaction selection when gbt called without segwit support...
22 2017-03-18 10:39:26 0|bitcoin-git|13bitcoin/060.14 14569596c 15Suhas Daftuar: Don't require segwit in getblocktemplate for segwit signalling or mining...
23 2017-03-18 10:39:27 0|bitcoin-git|13bitcoin/060.14 14ccb47bf 15Wladimir J. van der Laan: Merge #10006: [0.14 backport] Don't require segwit in getblocktemplate for segwit signalling or mining...
24 2017-03-18 11:42:49 0|bitcoin-git|[13bitcoin] 15practicalswift opened pull request #10027: Set to nullptr after delete (06master...06set-to-nullptr-after-delete) 02https://github.com/bitcoin/bitcoin/pull/10027
25 2017-03-18 20:27:41 0|bitcoin-git|[13bitcoin] 15practicalswift opened pull request #10029: Fix parameter naming inconsistencies between .h and .cpp files (06master...06fix-header-parameter-naming-inconsistencies) 02https://github.com/bitcoin/bitcoin/pull/10029
26 2017-03-18 20:39:52 0|adiabat|OK I don't feel like as much of an idiot; the 0.14.0 bitcoind crashed again
27 2017-03-18 20:40:01 0|sipa|?
28 2017-03-18 20:40:01 0|sipa|OOM>
29 2017-03-18 20:40:10 0|adiabat|this is with dbcache=64 and mempool=32
30 2017-03-18 20:40:29 0|sipa|ouch
31 2017-03-18 20:40:36 0|sipa|how much ram?
32 2017-03-18 20:40:49 0|adiabat|I don't think it's OOM; I don't get any St9bad_alloc or anything like that
33 2017-03-18 20:40:56 0|adiabat|this is 1GB, a raspberry pi 2
34 2017-03-18 20:41:19 0|sipa|0.14 will just exit in the case of an OOM
35 2017-03-18 20:41:30 0|adiabat|ok, could still be OOM
36 2017-03-18 20:41:45 0|adiabat|what debug logging should I enable to see this better?
37 2017-03-18 20:42:01 0|sipa|look at dmesg?
38 2017-03-18 20:42:07 0|sipa|ah, no
39 2017-03-18 20:42:09 0|sipa|nvm
40 2017-03-18 20:42:18 0|adiabat|ah
41 2017-03-18 20:42:21 0|adiabat|actually, yes!
42 2017-03-18 20:42:26 0|sipa|0.14 will try to write to debug.log that it ran out of memory
43 2017-03-18 20:42:31 0|adiabat|Out of memory: Kill process 13720 (bitcoind) score 333 or sacrifice child
44 2017-03-18 20:42:35 0|sipa|ah
45 2017-03-18 20:42:39 0|sipa|1 GB is very little
46 2017-03-18 20:42:52 0|adiabat|whole bunch of stuff in dmesg
47 2017-03-18 20:43:06 0|sipa|plus RPi loses some memory for the GPU
48 2017-03-18 20:43:20 0|adiabat|yeah, could set up swap I guess? This is testnet though... although I guess there's no difference :)
49 2017-03-18 20:43:51 0|sipa|swap would move it from crashing to unusably slow :)
50 2017-03-18 20:44:16 0|adiabat|well, perhaps, but it seems to last a day or two without swap
51 2017-03-18 20:44:28 0|adiabat|so maybe it would only use swap occasionally
52 2017-03-18 20:44:38 0|adiabat|I haven't actually used swap in linux for a long time though
53 2017-03-18 20:45:38 0|adiabat|super hack-y but I might just make a watchdog script that restarts it if it's dead
54 2017-03-18 20:46:54 0|btcdrak|the 2GB pine64 needs swap to run bitcoind remotely well.
55 2017-03-18 20:47:46 0|sipa|i'm trying to fix the memory peak during flush, but it seems nontrivial
56 2017-03-18 20:48:02 0|sipa|it's been worsened in 0.14 due to the borrowing of mempool
57 2017-03-18 20:48:38 0|gmaxwell|adiabat: that may just be another issue.
58 2017-03-18 20:49:22 0|gmaxwell|adiabat: can you run bitcoind inside gdb to see if you can learn more of the crash? gdb ./bitcoind <enter> then run -daemon=0 <enter>
59 2017-03-18 20:49:59 0|adiabat|gmaxwell: will run that and leave it; might take a while to crash
60 2017-03-18 20:51:03 0|gmaxwell|if it crashes, type "thread apply all bt" and save the couple screenfulls of output.
61 2017-03-18 20:51:42 0|adiabat|will do
62 2017-03-18 20:52:23 0|adiabat|also wondering if it may be arm-specific; I think there are a decent number of testnet nodes on little VMs like digital ocean w/ 1GB