Skip to content

Changed systemctl TasksMax Parameter#2609

Merged
stevenengler merged 1 commit intoshadow:mainfrom
Ti-ger:main
Dec 14, 2022
Merged

Changed systemctl TasksMax Parameter#2609
stevenengler merged 1 commit intoshadow:mainfrom
Ti-ger:main

Conversation

@Ti-ger
Copy link
Copy Markdown

@Ti-ger Ti-ger commented Dec 14, 2022

The parameter "-1" is no longer supported, instead "infinity" should be used.

From SYSTEMD.RESOURCE-CONTROL(5)

TasksMax=N
Specify the maximum number of tasks that may be created in the unit. This ensures that the number of tasks accounted for the unit (see above) stays below a specific limit. This either takes an
absolute number of tasks or a percentage value that is taken relative to the configured maximum number of tasks on the system. If assigned the special value "infinity", no tasks limit is
applied. This controls the "pids.max" control group attribute. For details about this control group attribute, see Process Number Controller[7].

       The system default for this setting may be controlled with DefaultTasksMax= in systemd-system.conf(5).

The parameter "-1" is no longer supported, instead "infinity" should be used
@github-actions github-actions bot added the Component: Documentation In-repository documentation, under docs/ label Dec 14, 2022
@stevenengler stevenengler merged commit 7f3d166 into shadow:main Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: Documentation In-repository documentation, under docs/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants