原始文献 / 论坛帖 / Re: Memory leak

Re: Memory leak

Bitcointalk · 2010-10-03 22:07:00 UTC

AuthorSatoshi Nakamoto
TitleRe: Memory leak
Date2010-10-03 22:07:00 UTC
ForumBitcointalk · 原文

你在连接自己。全部 21 次连接尝试都连到了一个版本为 31300(0.3.13)的节点。并不是所有人都已经升级到 0.3.13 了。

IRC 看起来是正常的。它应该有其他节点可以尝试。

断开连接后、需要确保它不会马上又尝试连接自己,这方面可能还有些事要做。不过我看不出它是怎么发生的:它应该会重置 nLastTry,把自己放到队列尾部,但日志里没体现。

你可以试试把 addr.dat 移到一边。也许它里面有问题。

你用 -addnode 了吗?

英文原文

You're connecting to yourself.  All 21 connection attempts were to a node with version 31300 (0.3.13).  Not everyone has 0.3.13 yet.

IRC seems to be working.  It ought to have other nodes to try.

There may be something I need to do to make sure it doesn't try to connect to itself again right away after disconnecting.  I can't see how it's happening though, it should be resetting nLastTry which would put it to the back of the queue, but the log doesn't show it.

You can try moving addr.dat aside.  Maybe there's something wrong in it.

Are you using -addnode?