nproc был проблемой:
[root@localhost ~]# ps -eLf | grep pascal | wc -l
4068
[root@localhost ~]# cat /etc/security/limits.d/20-nproc.conf
# Default limit for number of user's processes to prevent
# accidental fork bombs.
# See rhbz #432903 for reasoning.
* soft nproc 4096
root soft nproc unlimited
[root@localhost ~]#
man limits.conf заявляет:
Also, please note that all limit settings are set per login. They are
not global, nor are they permanent; existing only for the duration of
the session. One exception is the maxlogin option, this one is system
wide. But there is a race, concurrent logins at the same time will not
always be detected as such but only counted as one.
Похоже для меня, что nproc применяется только для каждого входа в систему, но учитывается глобально. Таким образом, вход в систему с потоками nproc 8192 и 5000 не будет иметь проблем, но одновременный вход в систему с одним и тем же UID с потоками nproc 4096 и 50 не сможет создать больше, потому что глобальный счетчик (5050) превышает настройку nproc.
[root@localhost ~]# ps -eLf | grep pascal | grep google/chrome | wc -l
3792