ulimit is a shell built-in for the soft limits.

Typically, if a script/program needs a specific ulimit setting, I'd have the script that starts the program set it at the top. These values would...