PurpleI2P / i2pd

🛡 I2P: End-to-End encrypted and anonymous Internet
https://i2pd.website
BSD 3-Clause "New" or "Revised" License
3.26k stars 423 forks source link

CPU 100% After Runtime Error #2078

Closed unarj closed 3 months ago

unarj commented 3 months ago

running docker latest-release (2.53.0)

happened a few times randomly, started monitoring. this happened very soon after closing my i2p bittorrent client (BiglyBT), possibly a coincidence. after this error the container locks, uses 100% CPU until killed / restarted.

Runtime exception: cannot create std::vector larger than max_size()

anikey-from-i2p commented 3 months ago

I have a similar problem, but with qBittorrent. (i should note that there are some i2p torrents seeding on it)

If i open qbittorrent, then wait a bit, then quit it, the log receives messages like: SAM: Stream read error: Operation canceled, SAM: I2P acceptor has been reset, Streaming: Unexpected stream status=5 for sSID=0, and others like Garlic: Incorrect N ephemeral public key.

And then i2pd cpu usage goes to 100% (according to htop, this is the SAM thread).

Vort commented 3 months ago

I have a similar problem, but with qBittorrent.

And then i2pd cpu usage goes to 100%

I confirm this problem with 2.53.0-16-g3a4833aa. It's a regression most likely, because I was actively testing qBittorrent half year ago and no hangs were present.

Vort commented 3 months ago

Regression is from commits d843502832e9eaf9ca969b573ef22b1221a6ecd0 and df787060c31139022a42c815408a21df7c42b37d.