Live data from Hacker News

Background of Linux's "file-max" and "nr_open" limits on file descriptors (2021)

utcc.utoronto.ca

11–14 of 14 posts

Re: Background of Linux's "file-max" and "nr_open" limits on file descriptors (2021)

#12

What doe NR stand for ?

Seems to be “normal resources”, where normal probably meant file descriptor based.

Where did you find that info ?

I am asking because I tried to write to basic nasm programs in order to learn and I used the c preprocessor (cpp) over my nasm files to take advantage of the libc macros from and they were all of the form __NR_syscall

Then the other responses' assumption, "NumbeR", seems correct

Re: Background of Linux's "file-max" and "nr_open" limits on file descriptors (2021)

#13

Earlier quoted context omitted.

Seems to be “normal resources”, where normal probably meant file descriptor based.

Where did you find that info ? I am asking because I tried to write to basic nasm programs in order to learn and I used the c preprocessor (cpp) over my nasm files to take advantage of the libc macros from and they were all of the form __NR_syscall Then the other responses' assumption, "NumbeR", seems correct

It's NumbeR. I don't have an authoritative source other than e.g. [0], but I was around (IRC, mailing lists) when some of these were created.

[0]: https://github.com/torvalds/linux/blob/master/Documentation/...

Re: Background of Linux's "file-max" and "nr_open" limits on file descriptors (2021)

#14

Earlier quoted context omitted.

Seems to be “normal resources”, where normal probably meant file descriptor based.

Where did you find that info ? I am asking because I tried to write to basic nasm programs in order to learn and I used the c preprocessor (cpp) over my nasm files to take advantage of the libc macros from and they were all of the form __NR_syscall Then the other responses' assumption, "NumbeR", seems correct

I’m wrong. Fourth paragraph from the bottom, last sentence they say “normal resource limits.” I thought that meant “the limit of something called normal resources” not the normal amount of the resource’s limit. Probably because I was trying to find out the exact same question as OP and thought that was it when I read it. I wish articles explained names more specifically sometimes…
Post reply on HN