Linux

ulimit

SafeResource limits

ulimit -n

Shows/sets per-process limits. 'Too many open files' means check -n. Persist via limits.conf or systemd.

Examples

  • ulimit -aList all limits

Syntax

ulimit -a / ulimit -n <num>

Before you run it

Session-scoped; don't set too low.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store