[packages/memcached] sample for setting ulimits

glen glen at pld-linux.org
Mon Sep 30 16:28:09 CEST 2013


commit 8d353aef7db09c43c1abffd090addb33287df2e8
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Sep 30 17:27:47 2013 +0300

    sample for setting ulimits

 memcached.init      | 0
 memcached.spec      | 2 +-
 memcached.sysconfig | 3 +++
 3 files changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/memcached.spec b/memcached.spec
index 6eb5881..f3356d7 100644
--- a/memcached.spec
+++ b/memcached.spec
@@ -6,7 +6,7 @@ Summary:	A high-performance, distributed memory object caching system
 Summary(pl.UTF-8):	Rozproszony, wysokiej wydajności system cache'owania obiektów
 Name:		memcached
 Version:	1.4.13
-Release:	1
+Release:	2
 License:	BSD
 Group:		Networking/Daemons
 Source0:	http://memcached.googlecode.com/files/%{name}-%{version}.tar.gz
diff --git a/memcached.init b/memcached.init
old mode 100644
new mode 100755
diff --git a/memcached.sysconfig b/memcached.sysconfig
index ecb92ec..4157db1 100644
--- a/memcached.sysconfig
+++ b/memcached.sysconfig
@@ -20,3 +20,6 @@ LISTEN="127.0.0.1:11211"
 
 # other options not defined earlier
 #MEMCACHED_OPTS=""
+
+# Set ulimit at least as high as MAXCONN
+#SERVICE_LIMITS="-n $MAXCONN"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/memcached.git/commitdiff/8d353aef7db09c43c1abffd090addb33287df2e8



More information about the pld-cvs-commit mailing list