Manage Process Limits

You can use terminal or shell commands to check and increase the number of processes you can use—process limit—in your CSE Labs login session.

Process limits are per login session and independent of each other. Each login (including via ssh) and each terminal window, has its own limit.

  • Default Process Limit: When you login to a computer you start with a default limit of 1,000 processes.
  • Maximum Process Limit: You can increase your process limit up to 5,000 processes.

Checking Process Limits

  • Run the following command in your terminal:
    • For bash (default terminal)
    • For csh or tcsh
  • The terminal output is the current process limit.
  • Example:
    ulimit -u
    1000

Increasing Process Limits

  • Run the following command in your terminal:
    • For bash (default terminal)
    • For csh or tcsh
    • Where <new-limit> is the new process limit you want.
  • Example:
    ulimit -u 1050
  • Note: if you decrease your process limit, it cannot be increased in that terminal. Use a new terminal session to increase process limits.