So here's my problem. I've got bitcoind running as a daemon and it syncs fine for a while, and then slows down and stops syncing, and then I have to restart it to get it going again.
A couple of questions.
I see this sometimes in my debug.log before it stops:
2014-05-09 11:23:39 ERROR: AcceptToMemoryPool : nonstandard transaction: scriptsig-non-canonical-push
2014-05-09 11:23:50 ERROR: AcceptToMemoryPool : nonstandard transaction: dust
Are these potential culprits?
Second,
I found a script that modifies tc rules to restrict bandwidth. I ran them, but then later ran
so it should be cleared, right?
Third,
My distro came with berkeley db 5.3, and won't install 4.8, so I had to compile with --with-incompatible-db flag. Would this make a difference?
Fourth,
This is a new install because my previous install got messed up (don't chown -R on /usr/bin!). I had my .bitcoin folder backed up, including the blockchain. It looks like the new compile of bitcoind didn't like the old blocks, and so is replacing them with new blocks from sync. Is there something that could have happened here to cause my problem?
Finally, I discovered that my swap partition hadn't been mounted and had no swap space. I've re-enabled it and restarted bitcoind but I'm still having problems.
What else can I check? I'm on Ubuntu 14.04 server
Edit:
Also, why do I sometimes see long strings of
ORPHAN BLOCK 112, prev=000000000000000033cac1b48e35a41c3834b7678269a5a5e8d3e61b618a6dca
in my debug.log?
Are there really that many orphaned blocks?
Edit2:
Here's some more errors I get a bunch:
2014-05-09 12:08:22 ProcessBlock: ACCEPTED
2014-05-09 12:08:24 ERROR: CheckTransaction() : vin empty
2014-05-09 12:08:24 ERROR: AcceptToMemoryPool: : CheckTransaction failed
2014-05-09 12:08:24 Misbehaving: 93.77.226.90:8333 (0 -> 10)
2014-05-09 12:09:13 ResendWalletTransactions()
2014-05-09 12:09:13 Relaying wtx 3e1a26f1814be4146b6574924231d4c0f7fd285660a5d6c001c8d64cff58dc9d
2014-05-09 12:10:12 socket recv error 104