Browse Source

increase file limit, change nancy id numbers

Patrick Falls 12 years ago
parent
commit
8b6021354b
2 changed files with 3 additions and 3 deletions
  1. 2 2
      installer.py
  2. 1 1
      nancy/benchmark_config

+ 2 - 2
installer.py

@@ -32,7 +32,7 @@ class Installer:
     self.__run_command("sudo apt-get install gcc-4.8 g++-4.8", True)
 
     self.__run_command("cp ../config/benchmark_profile ../../.bash_profile")
-    self.__run_command("sudo sh -c \"echo '*               -    nofile          8192' >> /etc/security/limits.conf\"")
+    self.__run_command("sudo sh -c \"echo '*               -    nofile          16384' >> /etc/security/limits.conf\"")
 
     #######################################
     # Languages
@@ -350,7 +350,7 @@ class Installer:
     ##############################
     yes | sudo apt-get update
     yes | sudo apt-get install build-essential git libev-dev libpq-dev libreadline6-dev postgresql
-    sudo sh -c "echo '*               -    nofile          8192' >> /etc/security/limits.conf"
+    sudo sh -c "echo '*               -    nofile          16384' >> /etc/security/limits.conf"
 
     sudo mkdir -p /ssd
     sudo mkdir -p /ssd/log

+ 1 - 1
nancy/benchmark_config

@@ -8,7 +8,7 @@
       "db_url": "/db",
       "query_url": "/db/",
       "port": 8080,
-      "sort": 136
+      "sort": 141
     },
     "mono": {
       "setup_file": "setup_nginx",