Skip to content

回复:Db::open/Db::close“文件描述符无效”异常 ​

首次公开证据

打开首次公开证据
查看 1 个交叉存档
来源说明

Published on GitHub in February 2024 as part of Martti Malmi's testimony in the COPA v. Wright trial

谢谢。db::open/close 错误证实了这个模式。

更有意思的是接近末尾时僵尸套接字的活动,而且套接字线程监视器触发了,却没能让它重新运行。机器当时与网络断开了吗?test5 中的 MSG_DONTWAIT 解决了 Liberty 遇到的僵尸问题。你运行的是哪个测试版本?(我应该把测试版本打印在日志中。)

这是日志,以防它们仍然有用。

我想到了一个变通办法,但它取决于错误发生在哪些文件上。如果你的 db.log 中已经积累了几个错误,可以把它发给我吗?(即使它相当简单乏味也没关系。)列出的文件总是 blkindex.dat,还是也包括 addr.dat 或 wallet.dat?

英文原文 ​

展开英文原文

Thanks. The db::open/close errors confirm the pattern.

More interesting is the zombie sockets activity towards the end, and the socket thread monitor tripped but didn't get it going again. Was the machine disconnected from the net? MSG_DONTWAIT in test5 solved the zombie problem for Liberty. What test version were you running? (I should print the test version in the log)

Here's the logs in case they're still useful.

I have an idea for a workaround, but it depends on what files the errors are on. If you've accumulated several errors in db.log, could you send it to me? (even if it's rather simple and boring) Is the file listed always blkindex.dat, or does it include addr.dat or wallet.dat too?

为历史保存,为中文读者整理。每篇档案均附来源与英文原文。