Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #196221

cannot raise the limit of max open files for other users than root

From s7r <s7r@sky-ip.org>
Newsgroups linux.debian.user
Subject cannot raise the limit of max open files for other users than root
Date 2018-05-30 00:40 +0200
Message-ID <vUVrB-V9-33@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hello,

Running Debian Stretch here.

I modified /etc/security/limits.conf with limits for soft/hard nofile to
10000 for * (any user), root and my username. Also added session
requried to /etc/pam.d/common-session* files.

Only for root ulimit -Hn or -Sn shown the correct number. For my
username it did not work until I edited /etc/systemd/user.conf and
/etc/systemd/system.conf with the number of max open files I am willing
to allow for this user.

Is this a bug or expected behavior? Why doesn't it work from editing
/etc/security/limits.conf?

Thank you.

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

cannot raise the limit of max open files for other users than root s7r <s7r@sky-ip.org> - 2018-05-30 00:40 +0200
  Re: cannot raise the limit of max open files for other users than  root davidson <davidson@freevolt.org> - 2018-05-30 13:10 +0200

csiph-web