Re: Processes launched from rc*.d and ulimit -n

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, May 09, 2014 at 12:06:15AM +0000, Mitch Patenaude wrote:
> I figured out part of this: limits.conf is read by pam_limits.so, so
> until you log in, it isn't effective.  I don't have an elegant solution,
> but my hackish solution so far is just to put a "ulimit -n 65536" into
> the init script.  Does anybody have a better (more elegant) solution?

You can either do that or, maybe, use "su" or "runuser" to cause PAM
to be called.

-- 

rgds
Stephen
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux