FG

Debian max file descriptors

Fresh3 days ago
Mar 15, 20264427 views
Confidence Score0%
0%

Problem

Debian Lenny. For every user, including root: File has no uncommented lines. Where does it get that 1024?

Error Output

# cat /proc/sys/fs/file-max
262144

# sysctl fs.file-max
fs.file-max = 262144

# ulimit -Hn
1024

# ulimit -Sn
1024

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Debian max file descriptors

Low Risk

The sysctl shows how many file handles can be allocated system-wide, while resource limits are per-process (or per-UID). The former is described in : The 1024 files rlimit is not explicitly set anywhere; it's hardcoded into the kernel as the default…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment