You could do that. Although if it's just java you need, debian ships multiple versions. Openjdk 17, 21 and 25 are all available in Debian 13.I should probably just reinstall my system and replace it with a distro that has newer versions of stuff.
i2psnark losing progress after being unable to write to disk
Re: i2psnark losing progress after being unable to write to disk
-xHarr
Re: i2psnark losing progress after being unable to write to disk
I'm not actually using Debian, I'm using a distro based on Debian, and since I haven't upgraded/replaced it in a while I'm a bit behind.
The newest version of OpenJDK available to me is 17 at the moment. This should be enough according to what I've found, but perhaps it isn't.
There could also be an issue with something else being out of date on the system, causing weird issues.
(By the way, I've noticed the memory usage of the java process for i2psnark sometimes being above 2GB, so increasing the available memory was likely helpful.)
Re: i2psnark losing progress after being unable to write to disk
"badblocks -svw /dev/sdz" showed no errors. (Note : this command will delete data, don't just copy paste it if you want to check your own stuff.)
Switched to another distro with more up to date packages.
Redownloaded i2p+ i2psnark standalone (using the link directly to the zip file). Apparently it was some dev version? Seemed promising until it happened again. (I ran into some other issues with that version, so I'm currently trying the torrent file version.)
I noticed that xorg was extremely slow after locking the screen and leaving it for a while. This is probably why it happened again. This issue seems to have been resolved by switching from nouveau to nvidia drivers. Another workaround seems to be ctrl+alt+f2 before turning off the monitor.
Looks promising so far. Will probably post more info about how it's going in a few days.
Switched to another distro with more up to date packages.
Code: Select all
$ java -version
openjdk version "21.0.7" 2025-04-15
OpenJDK Runtime Environment (build 21.0.7+2-void-r2)
OpenJDK 64-Bit Server VM (build 21.0.7+2-void-r2, mixed mode, sharing)
I noticed that xorg was extremely slow after locking the screen and leaving it for a while. This is probably why it happened again. This issue seems to have been resolved by switching from nouveau to nvidia drivers. Another workaround seems to be ctrl+alt+f2 before turning off the monitor.
Looks promising so far. Will probably post more info about how it's going in a few days.
Re: i2psnark losing progress after being unable to write to disk
I've given up on i2psnark for now and been doing some testing with XD instead for the past few days.
I've come to the conclusion that access to/from the drive where the torrents are stored is sometimes becoming extremely slow, which is likely why i2psnark bugs out. What's weird is that it bugs out in a way that somehow causes even completed files to be completely or almost completely overwritten with what seems to be zeroes.
XD is not without issues, but it handles this much better. I'll make another post about how to handle some of its quirks in a while.
I've come to the conclusion that access to/from the drive where the torrents are stored is sometimes becoming extremely slow, which is likely why i2psnark bugs out. What's weird is that it bugs out in a way that somehow causes even completed files to be completely or almost completely overwritten with what seems to be zeroes.
XD is not without issues, but it handles this much better. I'll make another post about how to handle some of its quirks in a while.