Skip to content
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

Flood crashes on startup (FreeBSD 13.1) #636

Open
kipukun opened this issue Feb 22, 2023 · 5 comments
Open

Flood crashes on startup (FreeBSD 13.1) #636

kipukun opened this issue Feb 22, 2023 · 5 comments

Comments

@kipukun
Copy link

kipukun commented Feb 22, 2023

Type: Bug Report

  • [] Try to follow the update procedure described in the README and try again before opening this issue.

Your Environment

  • Version used:
    • Version 4.7.0
  • Environment name and version:
    • Node.js version node --version: v18.13.0
    • npm version npm --version: 9.4.2
  • Operating system and version: FreeBSD 13.1-RELEASE
  • Torrent client and version: rtorrent 0.9.8

Summary

Flood exits on startup

Expected Behavior

Flood starts

Current Behavior

Flood returns this error:

Flood server 4.7.0 starting on http://127.0.0.1:3000

(node:19248) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)
FATAL internal error. Please open an issue.
Uncaught exception: RangeError: File size (2171966202) is greater than 2 GiB

Possible Solution

Steps to Reproduce

  1. npx flood

Context

I updated from FreeBSD 13.0-RELEASE to 13.1-RELEASE, and it was working on 13.0. I have some files in rtorrent already. It's hard to determine what node/npm combination I was on at the time, since I am using the ports collection (so whatever the version was when I installed the port)

@ChristopherTheBoss
Copy link

ChristopherTheBoss commented Feb 25, 2023

Nevermind, different error. It's got nothing to do with the process bind on http_parser being depcrecated.

FATAL internal error. Please open an issue. Unhandled rejection: undefined

@paulchartres
Copy link

Same error here, directly on startup.
FATAL internal error. Please open an issue. Unhandled rejection: undefined

@NeelChotai
Copy link

NeelChotai commented Nov 22, 2023

I couldn't be bothered to investigate the root cause of this, upgrading to @jesec/flood fixes this for me.

@trim21
Copy link
Collaborator

trim21 commented Dec 11, 2023

Please try latest flood again and paste stack trace

@Canardil
Copy link

Canardil commented Mar 5, 2024

Hello, I found out it is the db causing the crash, the file fiveMinSnapshot.db was indeed larger than 2 gb located in ~/.local/share/flood/db/[db_id]/history, deleted the .db file and crash was gone at startup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants