Title: [SOLVED] electrum server stuck and running at 100% CPU Post by: torusJKL on December 30, 2015, 01:52:19 PM I have installed electrum server according to the guide at https://github.com/spesmilo/electrum-server/blob/master/HOWTO.md (https://github.com/spesmilo/electrum-server/blob/master/HOWTO.md)
I downloaded electrum-fulltree-10000-2015-12-29.tar.gz and checked the md5sum. bitcoind is running. When I start electrum server I get the following Code: [30/12/2015-15:06:38] Starting Electrum server on localhost If I execute any ohter electrum-server command (e.g. stop, status, getinfo) then electrum will use 100% CPU but will be stuck. The only way to stop it is to kill the process. If I start it again I see the following in the log Code: [30/12/2015-15:40:11] Starting Electrum server on localhost Any ideas? Thanks. Title: Re: electrum server stuck and running at 100% CPU Post by: dan91 on December 30, 2015, 02:57:03 PM I noticed your transactions / second looks quite slow. How long did you leave it at 100% to make sure it was not calculating the next block.
Mine looked like this (same blocks as you) Code: 30/12/2015-04:33:39] Starting Electrum server on localhost Title: Re: electrum server stuck and running at 100% CPU Post by: torusJKL on December 30, 2015, 03:22:36 PM If I only start electrum-server and don't do any other command then it actually runs with around 0.3%-0.7% CPU
Code: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Only if I execute the electrum-server command a second time than it goes up to 100%. I think I waited around 30minutes before I killed the process. Title: Re: electrum server stuck and running at 100% CPU Post by: dan91 on December 30, 2015, 03:25:36 PM If you open the log with it running (without running a new process) does it just say the same thing?
By killing the process you might have corrupted it? Id head over to the electrum IRC someone more knowledgeable might help you :) is freenode server #electrum Title: Re: electrum server stuck and running at 100% CPU Post by: torusJKL on December 31, 2015, 01:10:13 PM I run the electrum-server under a different user than bitcoind.
Thus when I set the ulimit for bitcoin (as described in the howto) it had no impact and I had to set it for the user that runs electrum. |