limits.conf: noproc or nproc?

1

I'm using centos 5.x, and editing /etc/security/limits.conf now.

I found in the comments, it's:

- nofile - max number of open files
- nproc - max number of processes

One is nofile, another is nproc. And when I search internet, I found some examples are using noproc.

So, which is correct? Or both?

Freewind

Posted 2011-07-20T02:25:18.490

Reputation: 1 547

Answers

3

The comments tell you the story: Number of Open FILEs vs. Number of PROCesses. See also the man page, which shows nproc and nofile and nowhere is noproc to be seen.

geekosaur

Posted 2011-07-20T02:25:18.490

Reputation: 10 195

Hooray man pages! – new123456 – 2011-07-20T02:41:54.083