Pages:
Author

Topic: Blockexplorer is either Down or Running Extremely Slow & Stuck at 166899 Blocks (Read 3880 times)

legendary
Activity: 1386
Merit: 1097
SSD is really solid solution, I'm running a lot of instances on SSD disk without any issue...
administrator
Activity: 5166
Merit: 12850
It'll be fixed in a few minutes.

Putting the bitcoind block database in memory makes things much faster, but I think the data somehow gets easily corrupted in a way which causes bitcoind to reject all additional blocks. I'll try putting the database on the SSD instead.
legendary
Activity: 1386
Merit: 1097
I reported it to theymos few minutes ago...
full member
Activity: 373
Merit: 100
The blockcount is stuck on blockexplorer (at 169217) - is that known and/or is there a reason for this?
legendary
Activity: 1386
Merit: 1097
Then there must be something seriously broken (if you're right and average load is ~6 requests/second).
administrator
Activity: 5166
Merit: 12850
Maybe you should cache requests and avoid database lookup entirely? For example /block/, /rawblock/ will be the same forever, no need to ask database at all (don't forget to drop cache on blockchain reorg.

There's already a lot of caching.
legendary
Activity: 1386
Merit: 1097
Maybe you should cache requests and avoid database lookup entirely? For example /block/, /rawblock/ will be the same forever, no need to ask database at all (don't forget to drop cache on blockchain reorg.
administrator
Activity: 5166
Merit: 12850
theymos, any update? BE is still overloaded ("Database connection timeout (likely due to overload). Try again later."). Is that regular traffic or it is some kind of attack? I don't believe that traffic increased so suddenly in last few days...

Something does seem to have changed to make things slower, but I'm not sure what. I'm getting 6.6 hits per second right now, but I don't normally keep logs, so I don't know if this is much higher than normal. It's also possible the disk is broken somehow.

Anyway, I've made lots of changes to improve efficiency and I'll continue to do so. I introduced that error recently so that slow database connections wouldn't stop /q/getblockcount and other non-database pages from working.
legendary
Activity: 2126
Merit: 1001
Everyone already has a copy of the blockchain.  All we need is a GUI or CGI to read it.

I would donate to that cause.
For me (as a programming novice) it sounds like not-too-complicated to program a blockexplorer/blockchaininfo clone which works with the local blockchain copy?
Someone make a bounty thread?

Tried Abe?  https://bitcointalksearch.org/topic/announce-abe-07-open-source-block-explorer-knockoff-22785


I love it! :-)

Ente
legendary
Activity: 1386
Merit: 1097
theymos, any update? BE is still overloaded ("Database connection timeout (likely due to overload). Try again later."). Is that regular traffic or it is some kind of attack? I don't believe that traffic increased so suddenly in last few days...
hero member
Activity: 481
Merit: 529
Everyone already has a copy of the blockchain.  All we need is a GUI or CGI to read it.

I would donate to that cause.
For me (as a programming novice) it sounds like not-too-complicated to program a blockexplorer/blockchaininfo clone which works with the local blockchain copy?
Someone make a bounty thread?

Tried Abe?  https://bitcointalksearch.org/topic/announce-abe-07-open-source-block-explorer-knockoff-22785
legendary
Activity: 2126
Merit: 1001
Time to come up some ideas for a decentralized block data tool?

Everyone already has a copy of the blockchain.  All we need is a GUI or CGI to read it.

I would donate to that cause.
For me (as a programming novice) it sounds like not-too-complicated to program a blockexplorer/blockchaininfo clone which works with the local blockchain copy?
Someone make a bounty thread?

Ente
hero member
Activity: 726
Merit: 500
The difficulty is updated every 2016 blocks, here are the most recent blocks where the difficulty changed/will change

163296 - 2012-01-22 03:55:08 - 1,307,728.36
165312 - 2012-02-04 10:28:28 - 1,379,647.44
167328 - 2012-02-18 11:24:53 - 1,376,302.27
169344
171360
173376

I just put the block number into this URL for info: http://blockchain.info/block-height/167532

Great, thanks!
legendary
Activity: 1512
Merit: 1028
Blockexplorer is still down for me.  Does anyone know where I can find the exact time of the latest difficulty change?
The difficulty is updated every 2016 blocks, here are the most recent blocks where the difficulty changed/will change

163296 - 2012-01-22 03:55:08 - 1,307,728.36
165312 - 2012-02-04 10:28:28 - 1,379,647.44
167328 - 2012-02-18 11:24:53 - 1,376,302.27
169344
171360
173376

I just put the block number into this URL for info: http://blockchain.info/block-height/167532
hero member
Activity: 726
Merit: 500
Blockexplorer is still down for me.  Does anyone know where I can find the exact time of the latest difficulty change?
administrator
Activity: 5166
Merit: 12850
OK, I think I was finally able to improve BBE's efficiency enough to make it work well despite the increased traffic. Most interestingly, I now have Bitcoin's block database stored entirely in memory.
legendary
Activity: 2086
Merit: 1031
Looks like blockexplorer is down again?

I like the idea of the gui for reading the blockchain.

That sounds awesome, but unfortunately, we'd have to rely on donations to fund the project.  I'm no programmer, but if the price is right, I could try to get my buddy to start developing for bitcoins.

Unless of course, someone else is already working on it or willing to do it.
administrator
Activity: 5166
Merit: 12850
Yep, bit wonky at the mo.   Diff is currently shown as 623.38695987...

http://blockexplorer.com/q/getdifficulty

My bitcoind is downloading the chain. You can see the progress at /q/getblockcount.
hero member
Activity: 812
Merit: 1000
Quote from: Revalin
Everyone already has a copy of the blockchain.  All we need is a GUI or CGI to read it.

bitcoin has lots of commands that can be issued to a running bitcoin instance:

Code:
backupwallet
getaccount
getaccountaddress
getaddressesbyaccount
getbalance [account] [minconf=1]
getblockcount
getconnectioncount
getdifficulty
getgenerate
gethashespersec
getinfo
getmemorypool [data]
getnewaddress [account]
getreceivedbyaccount [minconf=1]
getreceivedbyaddress [minconf=1]
gettransaction
getwork [data]
help [command]
keypoolrefill
listaccounts [minconf=1]
listreceivedbyaccount [minconf=1] [includeempty=false]
listreceivedbyaddress [minconf=1] [includeempty=false]
listsinceblock [blockid] [target-confirmations]
listtransactions [account] [count=10] [from=0]
move [minconf=1] [comment]
sendfrom [minconf=1] [comment] [comment-to]
sendmany {address:amount,...} [minconf=1] [comment]
sendtoaddress [comment] [comment-to]
setaccount
setgenerate [genproclimit]
settxfee
signmessage
stop
validateaddress
verifymessage
walletlock
walletpassphrase
walletpassphrasechange

What other info do pools need access to?

how is the next difficulty estimated/calculated?
sr. member
Activity: 350
Merit: 250
Yep, bit wonky at the mo.   Diff is currently shown as 623.38695987...

http://blockexplorer.com/q/getdifficulty
Pages:
Jump to: