Bitcoin Forum
May 06, 2024, 09:44:47 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoind json rpc getting stuck sometimes  (Read 1124 times)
btc_enigma (OP)
Hero Member
*****
Offline Offline

Activity: 688
Merit: 565


View Profile
December 25, 2014, 01:27:27 PM
 #1

Hi,

Sometimes bitcoind json rpc just gets stuck and don't respond to bitcoind getinfo calls.
When I see .bitcoin/debug I can see that bitcoind is still running and processing blocks correctly
Quote
2014-12-25 13:25:20 UpdateTip: new best=00000000000000002f83c6701e80513909ca76e56d0cece11574d0ec1dbe4750  height=301076  log2_work=78.627149  tx=38896050  date=2014-05-16 18:36:59 progress=0.519573
2014-12-25 13:25:21 UpdateTip: new best=0000000000000000633634f6829720785451ee93ece1610f0df0d4baba7a052a  height=301077  log2_work=78.627267  tx=38896879  date=2014-05-16 18:41:10 progress=0.519591
2014-12-25 13:25:22 Pre-allocating up to position 0xd00000 in rev00140.dat
2014-12-25 13:25:22 UpdateTip: new best=00000000000000006a55f80015b6f96fd80e79672ed842b8f722d1ec1b0545c7  height=301078  log2_work=78.627384  tx=38897472  date=2014-05-16 18:48:36 progress=0.519607

I am using bitcoind 90100. What is the best way to fix this, instead to kill and restarting bitcoind ? I am facing this every few days

1715031887
Hero Member
*
Offline Offline

Posts: 1715031887

View Profile Personal Message (Offline)

Ignore
1715031887
Reply with quote  #2

1715031887
Report to moderator
1715031887
Hero Member
*
Offline Offline

Posts: 1715031887

View Profile Personal Message (Offline)

Ignore
1715031887
Reply with quote  #2

1715031887
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715031887
Hero Member
*
Offline Offline

Posts: 1715031887

View Profile Personal Message (Offline)

Ignore
1715031887
Reply with quote  #2

1715031887
Report to moderator
bitsta
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500


r00t-dev


View Profile
January 01, 2015, 11:43:55 PM
 #2

Hi,

Sometimes bitcoind json rpc just gets stuck and don't respond to bitcoind getinfo calls.
When I see .bitcoin/debug I can see that bitcoind is still running and processing blocks correctly
Quote
2014-12-25 13:25:20 UpdateTip: new best=00000000000000002f83c6701e80513909ca76e56d0cece11574d0ec1dbe4750  height=301076  log2_work=78.627149  tx=38896050  date=2014-05-16 18:36:59 progress=0.519573
2014-12-25 13:25:21 UpdateTip: new best=0000000000000000633634f6829720785451ee93ece1610f0df0d4baba7a052a  height=301077  log2_work=78.627267  tx=38896879  date=2014-05-16 18:41:10 progress=0.519591
2014-12-25 13:25:22 Pre-allocating up to position 0xd00000 in rev00140.dat
2014-12-25 13:25:22 UpdateTip: new best=00000000000000006a55f80015b6f96fd80e79672ed842b8f722d1ec1b0545c7  height=301078  log2_work=78.627384  tx=38897472  date=2014-05-16 18:48:36 progress=0.519607

I am using bitcoind 90100. What is the best way to fix this, instead to kill and restarting bitcoind ? I am facing this every few days


are you running the daemon on a vps?
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1499


No I dont escrow anymore.


View Profile WWW
January 02, 2015, 11:56:17 AM
 #3

-snip-
are you running the daemon on a vps?

I have similar issues and I suspect its because I run it on a VPS.

Im not really here, its just your imagination.
bitsta
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500


r00t-dev


View Profile
January 02, 2015, 04:10:26 PM
 #4

-snip-
are you running the daemon on a vps?

I have similar issues and I suspect its because I run it on a VPS.

yes correctly, thats why i was asking him.

@shorena: can you post something about the config you were using @VPS (OS, RAM, CPU, HDD).
just out of curiosity: did you have this issue on ubuntu?
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1499


No I dont escrow anymore.


View Profile WWW
January 03, 2015, 11:19:08 AM
 #5

-snip-
are you running the daemon on a vps?

I have similar issues and I suspect its because I run it on a VPS.

yes correctly, thats why i was asking him.

@shorena: can you post something about the config you were using @VPS (OS, RAM, CPU, HDD).
just out of curiosity: did you have this issue on ubuntu?

Yes its Ubuntu 14.04.1 LTS, with 2GB Ram, single core CPU and 50 GiB SSD. I have no idea which SSD/CPU they use and the ISP changed the offer by now. Its a deal I only got because I study IT/SC at my university. We theyd charge me the regular amount Id be well known to their support by now.

The picture below shows nicely how sometimes the shellscript gethering data from bitcoin core does not finish within 30 seconds. The white spots are unknown values / no data which occure when the script can not finish to feed the database. I thought about giving it more time as it runs every minute, but I dont think it should run that long. I never had this issue on any other machine, but every other machine is also a bare metal one and is not running 24/7 (yet), thus I suspect its because I have a cheap VPS any my priority on the machine is very low.




Im not really here, its just your imagination.
btc_enigma (OP)
Hero Member
*****
Offline Offline

Activity: 688
Merit: 565


View Profile
January 03, 2015, 11:22:23 AM
 #6

-snip-
are you running the daemon on a vps?

I have similar issues and I suspect its because I run it on a VPS.

Yes, I am running on VPS
Ubuntu 13.10, 2G RAM

Update, now I have upgraded to bitcond 90300 , this seems to have fixed the issue. Didn't see any hangs for last three days. CPU usage also low

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!