1
On Fedora FC20. /etc/security/limits.conf has:
* soft nofile 60000
* hard nofile 60000
* soft nproc 30000
* hard nproc 30000
After logging in through GDM, and opening a shell, the limits are 60000
for files (right), and 1024
for number of processes.
I'm trying to understand how does GDM (or what else in the process of starting up X session) set the ulimits, specifically restricting the nproc
. I tried inserting ulimit -u 30000
into /etc/X11/xinit/Xsession
, and that didn't help either.
There are no ulimit statements anywhere in profile files, neither in /etc/
nor in ~/
(the reason I care is because I have X apps that start running out of fork due to this ulimit, and I don't feel like running them from a terminal).