Author: eevans
Date: Sat Feb 19 22:53:35 2011
New Revision: 1072455

URL: http://svn.apache.org/viewvc?rev=1072455&view=rev
Log:
increase memlock at daemon startup

Patch by Jeremy Hanna; reviewed by eevans for CASSANDRA-2169

Modified:
    cassandra/branches/cassandra-0.7/debian/init

Modified: cassandra/branches/cassandra-0.7/debian/init
URL: 
http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.7/debian/init?rev=1072455&r1=1072454&r2=1072455&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.7/debian/init (original)
+++ cassandra/branches/cassandra-0.7/debian/init Sat Feb 19 22:53:35 2011
@@ -119,6 +119,8 @@ do_start()
     #   2 if daemon could not be started
     is_running && return 1
 
+    ulimit -l unlimited
+
     cassandra_home=`getent passwd cassandra | awk -F ':' '{ print $6; }'`
     cd /    # jsvc doesn't chdir() for us
 


Reply via email to