Home
last modified time | relevance | path

Searched refs:pid_max (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/test/
Dtest-procfs-util.c14 uint64_t v, pid_max, threads_max, limit; in main() local
29 pid_max = TASKS_MAX; in main()
30 r = procfs_get_pid_max(&pid_max); in main()
34 log_info("kernel.pid_max: %"PRIu64, pid_max); in main()
43 limit = MIN(pid_max - (pid_max > 0), threads_max); in main()
62 assert_se(v == pid_max); in main()
70 assert_se(v == pid_max); in main()
/systemd-251/src/basic/
Dprocfs-util.c44 uint64_t pid_max; in procfs_tasks_set_limit() local
58 r = procfs_get_pid_max(&pid_max); in procfs_tasks_set_limit()
64 if (limit > pid_max-1) { in procfs_tasks_set_limit()
82 if (MIN(pid_max - 1, threads_max) != limit) in procfs_tasks_set_limit()
/systemd-251/sysctl.d/
D50-pid-max.conf16 kernel.pid_max = 4194304
/systemd-251/
DNEWS4380 * On 64 bit systems, the "kernel.pid_max" sysctl is now bumped to
4391 by both "kernel.pid_max" and "kernel.threads-max" and now effectively
7916 4915 for service units, given the kernel's default pid_max setting.)