Cap the number of user processes for the current shell.
Section: Priority, Scheduling, and CPU Affinity
Set shell resource limit
bash
bash
ulimit -u 4096Explanation
Cap the number of user processes for the current shell.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Priority, Scheduling, and CPU Affinity
Show real-time scheduler
Inspect real-time scheduling policy and priority.
Show or change affinity for PID
Inspect or update CPU affinity for an existing process.