Background of Linux's "file-max" and "nr_open" limits on file descriptors (2021)
1–10 of 14 posts
Re: Background of Linux's "file-max" and "nr_open" limits on file descriptors (2021)
#2Somewhere it should be lore that the person that named these syscalls went on to name functions in PHP.
Re: Background of Linux's "file-max" and "nr_open" limits on file descriptors (2021)
#3>Specifically on Linux there are two system-wide sysctls: fs.nr_open and fs.file-max. (Don't ask me why one uses a dash and the other an underscore, or why there are two of them...) Somewhere it should be lore that the person that named these syscalls went on to name functions in PHP.
Re: Background of Linux's "file-max" and "nr_open" limits on file descriptors (2021)
#4>Specifically on Linux there are two system-wide sysctls: fs.nr_open and fs.file-max. (Don't ask me why one uses a dash and the other an underscore, or why there are two of them...) Somewhere it should be lore that the person that named these syscalls went on to name functions in PHP.
The creat(3) tradition lives on.
Re: Background of Linux's "file-max" and "nr_open" limits on file descriptors (2021)
#5Earlier quoted context omitted.
The creat(3) tradition lives on.
That extra "e" would represent a 20% bloat in the functions name, bytes aren't free you know.
Re: Background of Linux's "file-max" and "nr_open" limits on file descriptors (2021)
#6Re: Background of Linux's "file-max" and "nr_open" limits on file descriptors (2021)
#7What doe NR stand for ?
Re: Background of Linux's "file-max" and "nr_open" limits on file descriptors (2021)
#8Earlier quoted context omitted.
That extra "e" would represent a 20% bloat in the functions name, bytes aren't free you know.
And yet people will die on a hill defending using X number of spaces instead of a single tab for indentation (where X is some positive integer, usually 2, 3, 4, or 8), with zero regard for the bytes wasted.
Re: Background of Linux's "file-max" and "nr_open" limits on file descriptors (2021)
#9What doe NR stand for ?
Re: Background of Linux's "file-max" and "nr_open" limits on file descriptors (2021)
#10Earlier quoted context omitted.
That extra "e" would represent a 20% bloat in the functions name, bytes aren't free you know.
And yet people will die on a hill defending using X number of spaces instead of a single tab for indentation (where X is some positive integer, usually 2, 3, 4, or 8), with zero regard for the bytes wasted.
It's not obvious in modern editors or code browsers, but the Linux kernel, much (most?) of the base Linux user land, and the various *BSD projects (kernel and user land) still use hard tabs for indentation.