[Bug 293606] databases/rocksdb: Fails/aborts on large databases with more than 32,767 files
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 05 Mar 2026 18:45:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293606
Bug ID: 293606
Summary: databases/rocksdb: Fails/aborts on large databases
with more than 32,767 files
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: sunpoet@FreeBSD.org
Reporter: kris@tranception.com
Assignee: sunpoet@FreeBSD.org
Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
RocksDB both maintains large numbers of open file descriptors and relies on
libc stdio for some I/O which can result in sudden failures when over 32,767
files are open.
This issue was reported quite some time ago to the upstream RocksDB team here:
https://github.com/facebook/rocksdb/issues/8184
I have rewritten the portion of RocksDB that relied on stdio I/O to use system
I/O calls which addresses this issue and have opened a pull request with the
upstream RocksDB team here:
https://github.com/facebook/rocksdb/pull/14229
I would kindly ask the maintainer of the databases/rocksdb port to ask the
upstream rocksdb team to review and merge the pull request and in the meantime
consider incorporating the aforementioned pull request as a patch in the
rocksdb port.
--
You are receiving this mail because:
You are the assignee for the bug.