Re: Ulimit problem - CentOS 5.10

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



On Apr 25, 2014, at 4:46 AM, Leon Fauster <leonfauster@xxxxxxxxxxxxxx> wrote:

> Am 24.04.2014 um 19:44 schrieb James Pearson <james-p@xxxxxxxxxxxxxxxxxx>:
>> Nathan Duehr wrote:
>>> 
>>> Attempting to force the ulimit up inside the RC script has no effect, since the package is running
>>> as a non-root user.  It fails to raise the limit.
>> 
>> init.d scripts run as root so you should be able to set a hard/soft limit in the init.d script before the package is started
> 
> 
> to survive updates, the init script should include one config 
> file under /etc/sysconfig/ - there should such a entry be safe. 


This is definitely true. The init script came from the Asterisk folks (we're not using a package modified to behave specifically with RHEL/CentOS) and would get over-written on upgrade.

Seems like the brokenness is the behavior of init ignoring /etc/security/limits.conf, to my way of thinking anyway.

--
Nate Duehr
denverpilot@xxxxxx



_______________________________________________
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