You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by sh...@apache.org on 2018/09/24 13:37:39 UTC

[trafficserver] branch master updated: Ensure NOFILES ulimit is set high

This is an automated email from the ASF dual-hosted git repository.

shinrich pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 8e4bc13  Ensure NOFILES ulimit is set high
8e4bc13 is described below

commit 8e4bc13eea030ffad100fa29f4527807bbbae954
Author: Susan Hinrichs <sh...@apache.org>
AuthorDate: Thu Sep 20 11:45:23 2018 -0500

    Ensure NOFILES ulimit is set high
    
    If script is not started from a pam process, the system limits
    are not set.
---
 rc/trafficserver.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/rc/trafficserver.in b/rc/trafficserver.in
index 49a04f9..e126c5f 100644
--- a/rc/trafficserver.in
+++ b/rc/trafficserver.in
@@ -292,6 +292,10 @@ rc_start_hook()
     return $?
 }
 
+# Make sure the NOFILES limit is set high in case this process is not 
+# started from a logged in prompt
+ulimit -n 5000000
+
 # main
 case "$1" in
     start)