[master] e70a252 Revert "Adjust ulimit on RPM platforms"

Tollef Fog Heen tfheen at varnish-cache.org
Wed Jul 31 14:05:52 CEST 2013


commit e70a2527a96ea823590f599e8820fa3b1a414a1e
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date:   Wed Jul 31 14:05:21 2013 +0200

    Revert "Adjust ulimit on RPM platforms"
    
    Duplicate commit, already done by daghf in ebb667015cc531c2cdc11c709b67c09e75467275
    
    This reverts commit bca2da56c94c0b472b667f0d1bcf2444d4ae6ff8.

diff --git a/redhat/varnish.initrc b/redhat/varnish.initrc
index 323024b..c2faa25 100755
--- a/redhat/varnish.initrc
+++ b/redhat/varnish.initrc
@@ -53,9 +53,6 @@ start() {
 	# Open files (usually 1024, which is way too small for varnish)
 	ulimit -n ${NFILES:-131072}
 
-	# Open processes/threads (usually 1024 on rhel6, which is too little for varnish)
-	ulimit -u ${NPROC:-10000}
-
 	# Varnish wants to lock shared memory log in memory. 
 	ulimit -l ${MEMLOCK:-82000}
 
diff --git a/redhat/varnish.sysconfig b/redhat/varnish.sysconfig
index b1b640c..f5846c9 100644
--- a/redhat/varnish.sysconfig
+++ b/redhat/varnish.sysconfig
@@ -7,9 +7,6 @@
 # Maximum number of open files (for ulimit -n)
 NFILES=131072
 
-# Maximum number of processes/threads (for ulimit -u)
-NPROC=10000
-
 # Locked shared memory (for ulimit -l)
 # Default log size is 82MB + header
 MEMLOCK=82000



More information about the varnish-commit mailing list