I needed to do:
sudo rmmod nvidia_uvm
sudo modprobe nvidia_uvmFrom the nvidia forums.
I also got the following error fixed (docker-nvidia related) with these commands:
I needed to do:
sudo rmmod nvidia_uvm
sudo modprobe nvidia_uvmFrom the nvidia forums.
I also got the following error fixed (docker-nvidia related) with these commands:
| #!/bin bash | |
| function dammit_bundler() { | |
| bundle clean | |
| bundle install | |
| } | |
| function dammit_npm() { | |
| rm -fr ./node_modules/ | |
| npm cache clean -f |
| sysctl -w fs.file-max=12000500 | |
| sysctl -w fs.nr_open=20000500 | |
| ulimit -n 4000000 | |
| sysctl -w net.ipv4.tcp_mem='10000000 10000000 10000000' | |
| sysctl -w net.ipv4.tcp_rmem='1024 4096 16384' | |
| sysctl -w net.ipv4.tcp_wmem='1024 4096 16384' | |
| sysctl -w net.core.rmem_max=16384 | |
| sysctl -w net.core.wmem_max=16384 | |
| wget http://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb | |
| sudo dpkg -i erlang-solutions_1.0_all.deb |
| /* | |
| * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| import scala.util._ | |
| import java.security.SecureRandom | |
| import java.security.MessageDigest | |
| /* | |
| * Generates a Bearer Token with a length of | |
| * 32 characters (MD5) or 64 characters (SHA-256) according to the | |
| * specification RFC6750 (http://tools.ietf.org/html/rfc6750) | |
| * | |
| * Uniqueness obtained by hashing system time combined with a |
| # Using the web automation driver (watir-webdriver) through the tor network | |
| # Automates webpage actions & bypasses the voting limit on polldaddy | |
| # Casts a vote every 3 seconds for a total of 1000 votes | |
| require 'watir-webdriver' | |
| profile = Selenium::WebDriver::Firefox::Profile.new | |
| profile.proxy = Selenium::WebDriver::Proxy.new :http => '127.0.0.1:8118' | |
| b = Watir::Browser.new :firefox, :profile => profile | |
| #b = Watir::Browser.new :firefox | |
| b.goto 'speakimge.wordpress.com/2012/01/25/under-the-covers/' |