prlimit

Get or set process resource soft and hard limits.
Given a process ID and one or more resources, prlimit tries to retrieve and/or modify the limits.
More information.
prlimit
prlimit --pid {pid number}
prlimit --nofile={10} {command}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
CC-BY