HOWTO: Describe self-signed SSL cert creation and use
[electrum-server.git] / README.leveldb
index a06d5a8..036f63c 100644 (file)
@@ -20,8 +20,19 @@ __________________________________________________________
 
 2. Install python-leveldb: 
 
+Starting at Ubuntu 12.10 you can use apt to install leveldb. If you 
+rather stay on 12.04 LTS you can use the backport and add 
+"deb http://archive.ubuntu.com/ubuntu precise-backports main restricted universe"
+to your sources file. Install the package with: 
+
 sudo apt-get install python-leveldb
 
+alternatively build yourself, see
+http://code.google.com/p/py-leveldb/ 
+and
+http://peter-hoffmann.com/2011/installation-leveldb-ubuntu-python.html
+make sure you have libtool, automake and pkg-config
+
 __________________________________________________________
 
 3. edit /etc/electrum.conf : 
@@ -31,6 +42,7 @@ backend = leveldb
 
 [leveldb]
 path = /path/to/your/database
+pruning_limit = 10
 
 ______________________________________________________________
 
@@ -60,4 +72,13 @@ Other commands are available:
 ./server load   : view the size of the queue
 
 
+______________________
+Troubleshooting:
+
+* if your server or bitcoind is killed because is uses too much
+memory, configure bitcoind to limit the number of connections
+
+* if you see "Too many open files" errors, you may need to increase
+your user's File Descriptors limit. For this, see
+http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/