Author: apurtell Date: Wed May 12 00:45:31 2010 New Revision: 943348 URL: http://svn.apache.org/viewvc?rev=943348&view=rev Log: [EC2] increase file limit to 64K and xceivers to 10K
Modified: hadoop/hbase/trunk/contrib/ec2/bin/hbase-ec2-init-remote.sh Modified: hadoop/hbase/trunk/contrib/ec2/bin/hbase-ec2-init-remote.sh URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/contrib/ec2/bin/hbase-ec2-init-remote.sh?rev=943348&r1=943347&r2=943348&view=diff ============================================================================== --- hadoop/hbase/trunk/contrib/ec2/bin/hbase-ec2-init-remote.sh (original) +++ hadoop/hbase/trunk/contrib/ec2/bin/hbase-ec2-init-remote.sh Wed May 12 00:45:31 2010 @@ -45,6 +45,7 @@ sysctl -w fs.file-max=65535 # up ulimits echo "root soft nofile 65535" >> /etc/security/limits.conf echo "root hard nofile 65535" >> /etc/security/limits.conf +uname -n 65535 # up epoll limits; ok if this fails, only valid for kernels 2.6.27+ sysctl -w fs.epoll.max_user_instances=65535 > /dev/null 2>&1 @@ -154,7 +155,7 @@ cat > $HADOOP_HOME/conf/hdfs-site.xml << </property> <property> <name>dfs.datanode.max.xcievers</name> - <value>4096</value> + <value>10000</value> </property> </configuration> EOF