Hide Idle (>14 d.) Chans


← 2020-07-15 | 2020-07-26 →
whaack: bitcoind died last night, it seems to be dying every night, last few debug lines didn't seem to reveal anything http://paste.deedbot.org/?id=jod9
asciilifeform: whaack: that looks like a clean manual kill (or gave 'stop' command). are you running the thing from inside a script ?
asciilifeform: whaack: dollars to doughnuts you ran the demon from inside a shell, and then hung up
asciilifeform: put it in a @reboot cron .
asciilifeform: ( alternatively, run from a 'start_trb.sh' where 'nohup ./bin/bitcoind .......' etc )
whaack: it was run with "LC_ALL=C nohup ./bitcoind -myip=205.134.172.28 -addnode=205.134.172.27 -verifyall 2>&1 &" from inside my shell
BingoBoingo: Ah, you didn't use the -daemon flag
whaack: ah ok, why is that necessary ?
asciilifeform: whaack: so it doesn't get a SIGHUP when yer shell hangs up
asciilifeform: whaack: from yer log you can see that it aint crashing, but rather quit as if by hand.
whaack: yeah I noticed that
whaack: I guess I'm surprised because I quit my shell and reconnected to see if that were a problem, but perhaps the difference was the "crash" came from my shell disconnecting rather than being closed from the "exit" command
asciilifeform: aha, it will look exactly same in the log
asciilifeform: 'unix philosophy'(tm)(r), proggy that gets SIGHUP will politely die.
whaack: well I'm saying that the bitcoind process was still running when I closed my shell and reconnected
asciilifeform: whaack: for how long ?
asciilifeform: thing takes ~10min to actually exit after gets sighup
whaack: I reconnected ~immediately
whaack: so that would explain it
asciilifeform: there you go.
asciilifeform: jurov: this prolly oughta be included in the noob docs.
whaack: alright, i'm running now with: LC_ALL=C nohup ./bitcoind -daemon -myip=205.134.172.28 -connect=205.134.172.27 -verifyall &
asciilifeform: whaack: after you get yer noad goin', lemme know if you want it included in 'watchglass' roster.
asciilifeform: ( this'll only work after you set it up to run normally, rather than w/ '-connect', w/ the latter you have a non-public noad that doesn't accept connections itself )
asciilifeform: btw until/unless it's public, won't get advertised as peer either, see e.g. :
asciilifeform: !w peers 205.134.172.27
watchglass: 205.134.172.27:8333 :
asciilifeform: !w peers 205.134.172.27
watchglass: 205.134.172.27:8333 : reported peers: 46.142.88.191 73.248.234.184 75.83.53.31 84.148.214.155 90.199.100.75 91.244.50.197 94.233.89.148 103.36.92.112 103.121.252.133 108.31.170.3
watchglass: 205.134.172.27:8333 : reported peers: 143.202.160.10 162.156.221.80 176.122.101.230 208.94.240.42 223.114.32.239
asciilifeform: (i.e. this aint a bug)
← 2020-07-15 | 2020-07-26 →