[root@rhel8server1 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.0 (Ootpa)
[root@rhel8server1 ~]#
[root@rhel8server1 ~]# systemctl show --property DefaultTasksMax
DefaultTasksMax=11365
[root@rhel8server1 ~]# man 5 systemd-system.conf
DefaultTasksMax=
Configure the default value for the per-unit TasksMax= setting.
See systemd.resource-control(5) for details.
This setting applies to all unit types that support resource control settings, with the exception of slice units.
Defaults to 80%, which equals 26214 with the kernel's defaults on the host, but might be smaller in OS containers.
man的结果( Defaults to 80%, which equals 26214 with the kernel's defaults on the host, but might be smaller in OS containers.)与 systemctl show --property DefaultTasksMax 的结果不一样,暂时不知道为啥?
本文探讨了Red Hat Enterprise Linux 8.0 (Ootpa)中DefaultTasksMax参数的配置与实际显示值的差异,该参数用于限制单位任务的最大数量,文中展示了通过systemctl与man命令获取的不同结果。
2934

被折叠的 条评论
为什么被折叠?



