
tfheen at varnish-cache
Jul 31, 2013, 5:05 AM
Post #1 of 1
(22 views)
Permalink
|
|
[master] e70a252 Revert "Adjust ulimit on RPM platforms"
|
|
commit e70a2527a96ea823590f599e8820fa3b1a414a1e Author: Tollef Fog Heen <tfheen [at] varnish-software> 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 _______________________________________________ varnish-commit mailing list varnish-commit [at] varnish-cache https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit
|