linuxmongodbulimit

what is nproc and nofile in ulimits?


I would like to know what nofile and nproc in ulimits is for, preferably with examples. Specifically, what is their role in database?


Solution

  • With respect to mongodb the two parameters are as follows:

    nofile: -n: file descriptors

    nproc: -u: processes/threads