Bitcoin Forum
May 03, 2024, 09:30:41 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: 0.8.1 Bitcoind Server performance?  (Read 742 times)
SlickTheNick (OP)
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
March 27, 2013, 01:15:21 AM
 #1

Currently running Bitcoind server on a VPS, running the latest version of Ubuntu (64-bt). It doesnt have very much ram, only 1.5 gigs, but its been holding up pretty decent. It receives anywhere from 3000-5000 + RPC requests a day. Can be a bit slugish at times, and every now and then it just crashes due to not enough memory. I have it set up to auto-restart on crashes, so not a big deal.

Anyways, Iv noticed that since upgrading from 0.7 to 0.8.1, its been a bit slower and crashing way more often. Instead of running out of RAM and dieing maybe a couple times a day, its happening regularly, like once every 30-60 minutes or so.

Anyone have any tips on how to improve performance, besides just upgrading the memory?

Looking for a way to get some bitcoins for free? Check out http://earnfreebitcoins.com !
Get easy bitcoins at  https://coincontroller.com?r=eaef398b5 !
1714771841
Hero Member
*
Offline Offline

Posts: 1714771841

View Profile Personal Message (Offline)

Ignore
1714771841
Reply with quote  #2

1714771841
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714771841
Hero Member
*
Offline Offline

Posts: 1714771841

View Profile Personal Message (Offline)

Ignore
1714771841
Reply with quote  #2

1714771841
Report to moderator
zvs
Legendary
*
Offline Offline

Activity: 1680
Merit: 1000


https://web.archive.org/web/*/nogleg.com


View Profile WWW
March 27, 2013, 12:36:31 PM
 #2

Currently running Bitcoind server on a VPS, running the latest version of Ubuntu (64-bt). It doesnt have very much ram, only 1.5 gigs, but its been holding up pretty decent. It receives anywhere from 3000-5000 + RPC requests a day. Can be a bit slugish at times, and every now and then it just crashes due to not enough memory. I have it set up to auto-restart on crashes, so not a big deal.

Anyways, Iv noticed that since upgrading from 0.7 to 0.8.1, its been a bit slower and crashing way more often. Instead of running out of RAM and dieing maybe a couple times a day, its happening regularly, like once every 30-60 minutes or so.

Anyone have any tips on how to improve performance, besides just upgrading the memory?

in main.h

change

static const unsigned int MAX_ORPHAN_TRANSACTIONS = MAX_BLOCK_SIZE/xxxxxx;

i don't remember what it defaults at, mine is set to 1 since i have lots of memory.  so it has tens of thousands of orphan transactions.  raise the # and you'll use less memory
SlickTheNick (OP)
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
March 27, 2013, 03:31:07 PM
 #3

Hmm. Looks like by default its set to 100. I increased it to 10000, will see how it works over the next bit.

Looking for a way to get some bitcoins for free? Check out http://earnfreebitcoins.com !
Get easy bitcoins at  https://coincontroller.com?r=eaef398b5 !
Kumala
Hero Member
*****
Offline Offline

Activity: 525
Merit: 500



View Profile
March 27, 2013, 04:11:30 PM
 #4

what are the consequences from an application point of view if this parameter is changed? Any risks or sideeffects one should be aware of?

Hacked Account! Don't send any money.
SlickTheNick (OP)
Full Member
***
Offline Offline

Activity: 220
Merit: 100


View Profile
March 28, 2013, 01:39:09 AM
 #5

Well, its been running with that value changed all day. No noticeable side effects or unexpected bugs, and it seems to have a noticeable improvement in stability. Doesnt seem to crash quite as frequently, but still pretty sluggish. Im sure there is more that can be done still

Looking for a way to get some bitcoins for free? Check out http://earnfreebitcoins.com !
Get easy bitcoins at  https://coincontroller.com?r=eaef398b5 !
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!