Bitcoin Forum
April 27, 2024, 04:02:24 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 [6]  All
  Print  
Author Topic: Experimental pre-0.8 builds for testing  (Read 19807 times)
niko
Hero Member
*****
Offline Offline

Activity: 756
Merit: 501


There is more to Bitcoin than bitcoins.


View Profile
February 03, 2013, 03:35:52 AM
 #101

^^^I've installed and verified pre-0.8 from scratch several times on a 768 MB fossil running WinXP (see earlier posts). Never got close to running out of RAM. IIRC peak usage was 190 MB. Might be a problem specific to Linux?

They're there, in their room.
Your mining rig is on fire, yet you're very calm.
1714233744
Hero Member
*
Offline Offline

Posts: 1714233744

View Profile Personal Message (Offline)

Ignore
1714233744
Reply with quote  #2

1714233744
Report to moderator
1714233744
Hero Member
*
Offline Offline

Posts: 1714233744

View Profile Personal Message (Offline)

Ignore
1714233744
Reply with quote  #2

1714233744
Report to moderator
1714233744
Hero Member
*
Offline Offline

Posts: 1714233744

View Profile Personal Message (Offline)

Ignore
1714233744
Reply with quote  #2

1714233744
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, but full nodes are more resource-heavy, and they must do a lengthy initial syncing process. As a result, lightweight clients with somewhat less security are commonly used.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714233744
Hero Member
*
Offline Offline

Posts: 1714233744

View Profile Personal Message (Offline)

Ignore
1714233744
Reply with quote  #2

1714233744
Report to moderator
dserrano5
Legendary
*
Offline Offline

Activity: 1974
Merit: 1029



View Profile
February 03, 2013, 01:29:20 PM
 #102

Dude, memory is way too cheap to put yourself through the torture of running a machine with 1 GB of ram.
Unless you're paying for a server such as a VPS.
In this case every MB of memory pushes the monthly cost up.

I keep getting crashes on my bitcoind install running an Electrum server.

From the debug log:
Code:
02/03/13 02:35:30 CTxMemPool::accept() : accepted a3fbde782d (poolsz 713)
02/03/13 02:35:31

************************
EXCEPTION: St9bad_alloc      
std::bad_alloc      
bitcoin in ThreadMessageHandler()      

This seems to happen every few days for me right now. Is there a memory leak that is causing eventual depletion?

My "memory" problems in my VPS turned out to be not related to the available RAM, but to the number of running processes/threads (I have a limit of 128 threads). You may be finding the same issue.
notme
Legendary
*
Offline Offline

Activity: 1904
Merit: 1002


View Profile
February 04, 2013, 06:34:31 AM
 #103

Dude, memory is way too cheap to put yourself through the torture of running a machine with 1 GB of ram.
Unless you're paying for a server such as a VPS.
In this case every MB of memory pushes the monthly cost up.

I keep getting crashes on my bitcoind install running an Electrum server.

From the debug log:
Code:
02/03/13 02:35:30 CTxMemPool::accept() : accepted a3fbde782d (poolsz 713)
02/03/13 02:35:31

************************
EXCEPTION: St9bad_alloc      
std::bad_alloc      
bitcoin in ThreadMessageHandler()      

This seems to happen every few days for me right now. Is there a memory leak that is causing eventual depletion?

bad_alloc.... do you have no swap?

https://www.bitcoin.org/bitcoin.pdf
While no idea is perfect, some ideas are useful.
rasputin
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
February 05, 2013, 12:19:44 AM
Last edit: February 05, 2013, 12:40:13 AM by rasputin
 #104

I keep getting crashes on my bitcoind install running an Electrum server.

*snip*

This seems to happen every few days for me right now. Is there a memory leak that is causing eventual depletion?
Absolutely, at least for me (64-bit Linux). The memory leak predates the 0.8 build, just for the record.

I've worked around it by installing monit and creating this config file:
Code:
$ cat /etc/monit/conf.d/bitcoind 
check process bitcoin matching "bitcoind .*daemon"
    start program "/home/bitcoin/bin/bitcoind -datadir=/home/bitcoin/.bitcoin -daemon"
        as uid bitcoin and gid nogroup
    stop program "/home/bitcoin/bin/bitcoind -datadir=/home/bitcoin/.bitcoin stop"
        as uid bitcoin and gid nogroup
    if mem > 420 MB for 3 cycles then restart
    if 3 restarts within 10 cycles then timeout

Monit starts bitcoind whenever it isn't running, and forces a restart once the process is using more than 420MB of physical memory.
BkkCoins
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1009


firstbits:1MinerQ


View Profile WWW
February 05, 2013, 05:56:20 AM
 #105

Thank you for the multiple suggestions. I haven't had time to explore it more fully yet. It is running on a 1GB VPS under OpenVZ. I believe this has no swap or at least is handled differently. At this moment it's using 686 MB / 1024MB available, and this is typical. This includes electrum and bitcoind. About 468 MB of that is bitcoind. I think it does increase over time but haven't kept records.

There probably is a threads/process limit set by the virtual host. I don't know how to check that off hand but I recall there being some vz cmds and beancounter type stuff I could find out and check.

I could probably fix it by just restarting bitcoind and electrum every 24 hours. But for now I'll let it go and check now and then to see if the memory use climbs up.

dserrano5
Legendary
*
Offline Offline

Activity: 1974
Merit: 1029



View Profile
February 05, 2013, 11:57:22 AM
 #106

There probably is a threads/process limit set by the virtual host. I don't know how to check that off hand but I recall there being some vz cmds and beancounter type stuff I could find out and check.

Code:
# grep numproc /proc/user_beancounters
BkkCoins
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1009


firstbits:1MinerQ


View Profile WWW
February 05, 2013, 02:48:01 PM
 #107

There probably is a threads/process limit set by the virtual host. I don't know how to check that off hand but I recall there being some vz cmds and beancounter type stuff I could find out and check.

Code:
# grep numproc /proc/user_beancounters
I get these numbers: 39 66 1000 1020
But it's running fine atm, and steady at 660 MB total.

nexusakachus
Sr. Member
****
Offline Offline

Activity: 336
Merit: 250


Love & Sound Emotroniks


View Profile WWW
February 18, 2013, 12:58:01 AM
 #108

runs smooooooth

Smiley

macbook pro 6.2 osx 10.8.3 build 12D58

notme
Legendary
*
Offline Offline

Activity: 1904
Merit: 1002


View Profile
February 18, 2013, 10:38:04 PM
 #109

Any word on when this will be released?

https://www.bitcoin.org/bitcoin.pdf
While no idea is perfect, some ideas are useful.
Diapolo
Hero Member
*****
Offline Offline

Activity: 769
Merit: 500



View Profile WWW
February 19, 2013, 06:10:49 AM
 #110

Any word on when this will be released?

I'm sure we will see an RC2 and perhaps an RC3 before this version gets released.

Dia

Liked my former work for Bitcoin Core? Drop me a donation via:
1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x
bitcoin:1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x?label=Diapolo
notme
Legendary
*
Offline Offline

Activity: 1904
Merit: 1002


View Profile
February 19, 2013, 06:47:45 AM
 #111

Any word on when this will be released?

I'm sure we will see an RC2 and perhaps an RC3 before this version gets released.

Dia

Actually, this wasn't even RC1.

RC1 is out now though:
https://bitcointalk.org/index.php?topic=142151.0

Not many complaints, solid for me too.  Hopefully we can get enough testing and get this pushed out before too long.  It really is a huge improvement.

https://www.bitcoin.org/bitcoin.pdf
While no idea is perfect, some ideas are useful.
notme
Legendary
*
Offline Offline

Activity: 1904
Merit: 1002


View Profile
February 19, 2013, 10:12:09 PM
 #112

Any word on when this will be released?

I'm sure we will see an RC2 and perhaps an RC3 before this version gets released.

Dia

Actually, this wasn't even RC1.

RC1 is out now though:
https://bitcointalk.org/index.php?topic=142151.0

Not many complaints, solid for me too.  Hopefully we can get enough testing and get this pushed out before too long.  It really is a huge improvement.

0.8.0 is out: https://bitcointalk.org/index.php?topic=145184.msg1540252#msg1540252

https://www.bitcoin.org/bitcoin.pdf
While no idea is perfect, some ideas are useful.
Pieter Wuille (OP)
Legendary
*
qt
Offline Offline

Activity: 1072
Merit: 1174


View Profile WWW
February 25, 2013, 09:06:02 PM
 #113

Since 0.8.0 final is released, I'd like to thank everyone who participated in testing the pre-release versions. Several problems were found after user reports, and others at least showed that many people noticed the improvements. There is certainly still room for improvement, but we're making progress in small (and sometimes bigger) steps.

Thanks!

I do Bitcoin stuff.
Pages: « 1 2 3 4 5 [6]  All
  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!