我看到了正在运行的进程的三个副本,其中一个副本似乎是内存问题。每个人各自占据大约3-4 GB的memory..would,一个杀死其中一人的限制帐户?如果是这种情况,谁会被杀?
发布于 2014-02-26 15:59:09
它们是每个进程,但可以是用户依赖的,实际上配置调用它是特定的域。
例如,我设置了以下限制,以便能够以更好的延迟处理音频,并且我是音频组的成员。所以它只会影响我的过程。
@audio - rtprio 100
@audio - nice -10这也取决于正在设定的限制。maxlogins,nprocs显然是每个用户。另一方面,核心是每个过程的限制。
<domain> can be:
# - an user name
# - a group name, with @group syntax
# - the wildcard *, for default entry
# - the wildcard %, can be also used with %group syntax,
# for maxlogin limit
# - NOTE: group and wildcard limits are not applied to root.
# To apply a limit to the root user, <domain> must be
# the literal username root.
#发布于 2014-02-26 15:59:16
参考man 5 limits.conf
The pam_limits.so module applies ulimit limits, nice priority
and number of simultaneous login sessions limit to user login sessions.
The syntax of the lines is as follows:
<domain><type><item><value>
<domain> = a username, a groupname, the wildcard *, the wildcard %,
an uid range, a gid range, a gid specified as %:<gid>
applicable to maxlogins limit onlyhttps://unix.stackexchange.com/questions/117076
复制相似问题