Soft Limit vs Hard Limit


Soft Limit


  1. Soft limit can be changed by user.
  2. Check hard limit using command: ulimit -S
  3. Soft limit cannot exeeds hard limit.

Hard Limit


  • Hard limit can only be changed by root user.
  • Check hard limit using command: ulimit -H
  • Hard limit is the upper bound for soft limit.