-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught exception: Error: Cannot create a string longer than 0x1fffffe8 characters #399
Comments
Hmm, 0x1fffffe8 is 512MB. May I ask how many torrents are there? |
and are you using the vanilla rTorrent or the JSON-RPC version? |
There are currently 20 torrents active in rTorrent. I use vanilla rTorrent and have not updated rTorrent or changed the rTorrent configuration for a long time. |
Encountering the same issue after an upgrade to latest. Using docker-compose of jesec/flood and jesesc/rtorrent with 2144 torrents. Reverting to flood 4.5.3 did not resolve the issue. |
Could you please run the debugging version ( It should have more meaningful logs. |
Seeing the same issue. Using
|
I'm experiencing same issues right now. Same for I tried downgrading, up to v4.0. Most versions on the way showed me something like this: What you can see here is that there's a minifed code being printed out for some reason. It might be possible that the same happens for newer versions, but the buffer with code is somehow so big that it can't fit there. The screenshot shows the end and the beginning of that output. I've tested on two separate machines: Arch and Ubuntu Server installs, both running Docker (via compose like in the wiki). |
Ok, seems that I have found the root cause: loading history. I've previously stated that I had problems on two separate machines... but the new one had config rsynced from the old one. Clean setup worked. Digging deeper has shown me this:
After I've deleted the 896 MB(!) snapshot, Flood started working as before. |
Same for me. Deleted |
For me it was in the path:
|
Same for me. My journalctl said
I deleted
|
Thanks for everyone involved in the debugging, I'm facing the same issue too, even on version 4.7.0. |
Thanks for the help everyone. With Flood v4.7.0 this bug still persists as of June 6th, 2022. At least one can manually delete |
Found this issue as well today. Deleting the file that was almost a gig resolved it.
|
Had this aswell, deleting the file instantly fixes it. |
Hit this myself just now. For anyone finding this, the |
I'm facing the same problem, however I don't have any snapshot file, only a |
Next to the users.db file will be a directory with a string of characters that look like an ID(mine was 16 characters long), navigate into that directory and look for another directory called 'history'. It will be in there. |
Clearly, there is something wrong with the
|
Same issue for me too. Just dropping this comment here to keep this alive. In my case fiveMinSnapshot.db was almost a gig in size. |
I had the same issue, but didn't find the fiveMinSnapshot anywhere in the /config folder. But I did find a 4+GB transmission.log file, and I think that might have done the trick, since /config is the only folder persisted outside my container (the same path is mounted as transmission's config dir) and recreating the container didn't work. |
For those unfortunate souls stumbling on this issue: #834 enabled compaction for other data stores. This should solve issues caused by other data stores. |
Type: Bug Report
Your Environment
v16.7.0
7.21.1
Summary
Starting flood by calling
npm run start -- --host 0.0.0.0 --port 3000
fails with the following exception:Uncaught exception: Error: Cannot create a string longer than 0x1fffffe8 characters
.Full output is:
Expected Behavior
flood starts succesfully
Steps to Reproduce
npm install
npm run build
npm run start -- --host 0.0.0.0 --port 3000
Context
I was running flood successfully before. After upgrading to v4.6.1 flood fails to start. Trying to build and use a previously working version again fails with the same exception.
The text was updated successfully, but these errors were encountered: