Searched refs:pid_max (Results 1 – 4 of 4) sorted by relevance
14 uint64_t v, pid_max, threads_max, limit; in main() local29 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()
44 uint64_t pid_max; in procfs_tasks_set_limit() local58 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()
16 kernel.pid_max = 4194304
4380 * On 64 bit systems, the "kernel.pid_max" sysctl is now bumped to4391 by both "kernel.pid_max" and "kernel.threads-max" and now effectively7916 4915 for service units, given the kernel's default pid_max setting.)