Portál AbcLinuxu, 27. dubna 2024 04:37
Linux žádný per-UID limit na otevřené soubory nemá. pam_limits prostě nastavuje run-time limity, jak je specifikuje setrlimit(2), a tam se lze dočíst:
- RLIMIT_NOFILE
- Specifies a value one greater than the maximum file descriptor number that can be opened by this process. Attempts (open(2), pipe(2), dup(2), etc.) to exceed this limit yield the error EMFILE. (Historically, this limit was named RLIMIT_OFILE on BSD.)
Ostatně pam_limits.conf(5) také hovoří o nofile a odkazuje na getrlimit(2).
Tiskni Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.