Ondřej Surý
e2262c2112
Remove isc_resource API and set limits directly in named_os unit
...
The only function left in the isc_resource API was setting the file
limit. Replace the whole unit with a simple getrlimit to check the
maximum value of RLIMIT_NOFILE and set the maximum back to rlimit_cur.
This is more compatible than trying to set RLIMIT_UNLIMITED on the
RLIMIT_NOFILE as it doesn't work on Linux (see man 5 proc on
/proc/sys/fs/nr_open), neither it does on Darwin kernel (see man 2
getrlimit).
The only place where the maximum value could be raised under privileged
user would be BSDs, but the `named_os_adjustnofile()` were not called
there before. We would apply the increased limits only on Linux and Sun
platforms.
2022-12-07 19:40:00 +01:00
..
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-10-04 10:32:40 +02:00
2022-03-25 08:33:43 +01:00
2022-01-11 09:05:02 +01:00
2022-08-25 12:24:29 +02:00
2022-07-05 12:22:55 -07:00
2022-03-25 08:33:43 +01:00
2022-01-11 09:05:02 +01:00
2022-07-13 13:19:32 +02:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-09-26 23:49:27 -07:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-11-02 10:34:10 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-06-16 17:21:11 +02:00
2022-01-11 09:05:02 +01:00
2022-09-26 15:13:11 +02:00
2022-01-11 09:05:02 +01:00
2022-10-17 13:43:59 +01:00
2022-08-25 12:24:25 +02:00
2022-08-26 09:09:25 +02:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-06-16 17:21:11 +02:00
2022-04-01 23:04:24 +02:00
2022-11-10 15:07:19 +01:00
2022-03-08 11:19:34 +01:00
2022-09-12 12:18:57 +01:00
2022-01-11 09:05:02 +01:00
2022-03-28 15:02:18 -07:00
2022-10-14 11:26:54 +02:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-10-31 05:43:45 -07:00
2022-01-11 09:05:02 +01:00
2022-10-26 12:55:06 +02:00
2022-10-18 11:36:15 +02:00
2022-06-16 17:21:11 +02:00
2022-09-21 14:25:33 -07:00
2022-01-11 09:05:02 +01:00
2022-08-26 09:09:24 +02:00
2022-01-11 09:05:02 +01:00
2022-10-05 16:44:05 +02:00
2022-01-11 09:05:02 +01:00
2022-11-02 10:34:10 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-27 15:48:50 -08:00
2022-01-11 09:05:02 +01:00
2022-09-22 14:51:15 +02:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-10-14 16:39:21 +02:00
2022-01-27 13:02:23 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-06-16 17:21:11 +02:00
2022-06-16 17:21:11 +02:00
2022-04-22 16:40:37 +01:00
2022-09-30 10:36:30 +02:00
2022-11-30 10:03:24 +01:00
2022-01-11 09:05:02 +01:00
2022-06-16 17:21:11 +02:00
2022-10-29 00:22:54 +11:00
2022-11-02 10:34:10 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-08-25 12:24:29 +02:00
2022-10-04 10:32:40 +02:00
2022-01-27 15:48:50 -08:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-03-08 23:55:10 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-10-04 14:21:41 +11:00
2022-06-16 17:21:11 +02:00
2022-01-11 09:05:02 +01:00
2022-08-26 09:09:24 +02:00
2022-06-16 17:21:11 +02:00
2022-08-25 12:24:29 +02:00
2022-11-25 13:23:36 +00:00
2022-09-21 14:25:33 -07:00
2022-09-27 17:10:42 +02:00
2022-01-11 09:05:02 +01:00
2022-12-07 19:40:00 +01:00
2022-10-14 11:26:54 +02:00
2022-01-11 09:05:02 +01:00
2022-10-17 13:43:59 +01:00
2022-10-17 11:58:26 +01:00
2022-08-25 12:24:29 +02:00
2022-09-27 17:10:42 +02:00