[omd-commits] OMD Git: omd: gearmand: reduce max open files

git version control git at mathias-kettner.de
Sat Sep 14 21:42:21 CEST 2013


Module:   omd
Branch:   master
Commit:   1575db9be34b21de371a3fe9480677855ac1e6e4
URL:      http://omdistro.org/projects/omd/repository/revisions/1575db9be34b21de371a3fe9480677855ac1e6e4

Author:   Sven Nierlein <Sven.Nierlein at consol.de>
Date:     Sat Sep 14 21:41:48 2013 +0200
Commiter: Sven Nierlein <sven at consol.de>
Date:     Sat Sep 14 21:41:48 2013 +0200

gearmand: reduce max open files

---

 packages/gearmand/skel/etc/init.d/gearmand |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/gearmand/skel/etc/init.d/gearmand b/packages/gearmand/skel/etc/init.d/gearmand
index 44fef46..3728f21 100644
--- a/packages/gearmand/skel/etc/init.d/gearmand
+++ b/packages/gearmand/skel/etc/init.d/gearmand
@@ -91,7 +91,7 @@ case "$1" in
         fi
 
         # gearman opens lot of connections, so increase default ulimit
-        ulimit -n 8192
+        ulimit -n 4096
 
         CMD="$DAEMON --port=$PORT --pid-file=$PIDFILE $OPTIONS --log-file=$LOGFILE --verbose=$LOGLEVEL --listen=$LISTEN"
         if [ "$WHO" = "root" ]; then



More information about the omd-commits mailing list