Linux
for each user, the system can limit the maximum number of processes used, this command is ulimit
.
Syntax format: ulimit [parameter]
Common parameters:
Example
# 显示当前系统的设置ulimit -a
# 设置每个进程可以打开的文件句柄数ulimit -n 4096
This article is reprinted from https://xugaoxiang.com/2022/06/23/linux-cmds-75-ulimit/
This site is for inclusion only, and the copyright belongs to the original author.