Bitcoin Forum
December 02, 2016, 08:28:21 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: bitcoind crash  (Read 1473 times)
genjix
Legendary
*
expert
Offline Offline

Activity: 1232


View Profile
April 02, 2011, 04:28:38 PM
 #1

Today bitcoind locked up on my server and wasn't responding to errors.

Apart from saying 'bitcoin shouldn't crash', what kind of backup systems could exist to gracefully recover when Bitcoin locks up?

Not sure what can be done except calling an safety check hook which kills/restarts bitcoind. Ideally it'd be nice to run multiple nodes and switch between them freely (sharing the same wallets or having 'backup' nodes with a BTC store).
1480710501
Hero Member
*
Offline Offline

Posts: 1480710501

View Profile Personal Message (Offline)

Ignore
1480710501
Reply with quote  #2

1480710501
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Stephen Gornick
Legendary
*
Offline Offline

Activity: 1988



View Profile
April 02, 2011, 06:41:06 PM
 #2

Today bitcoind locked up on my server and wasn't responding to errors.

That is likely because of a deadlock issue, see:
  - http://bitcointalk.org/index.php?topic=4904.0

gracefully recover when Bitcoin locks up?

You didn't mention your operating system.

genjix
Legendary
*
expert
Offline Offline

Activity: 1232


View Profile
April 02, 2011, 07:06:20 PM
 #3

Ubuntu. Even if there's a patch for this problem, it's good to have a backup for if Bitcoin does crash.
Stephen Gornick
Legendary
*
Offline Offline

Activity: 1988



View Profile
April 03, 2011, 03:33:59 PM
 #4

Ubuntu.

I've not used it, but perhaps Monit might be useful.  i.e., configure it to check the bitcoind process' health and then restart it if there's no response:
  http://mmonit.com/monit

gigabytecoin
Sr. Member
****
Offline Offline

Activity: 280


View Profile
April 05, 2011, 05:58:14 AM
 #5

Today bitcoind locked up on my server and wasn't responding to errors.

Apart from saying 'bitcoin shouldn't crash', what kind of backup systems could exist to gracefully recover when Bitcoin locks up?

Not sure what can be done except calling an safety check hook which kills/restarts bitcoind. Ideally it'd be nice to run multiple nodes and switch between them freely (sharing the same wallets or having 'backup' nodes with a BTC store).

Are you OCing your CPU and/or GPU? If so, by what percentage? And what CPU/GPU?
Stephen Gornick
Legendary
*
Offline Offline

Activity: 1988



View Profile
April 16, 2011, 06:17:05 AM
 #6

Ubuntu.

I've not used it, but perhaps Monit might be useful.  i.e., configure it to check the bitcoind process' health and then restart it if there's no response:
  http://mmonit.com/monit

  gjs278 shared a monit script to restart:

  Restart bitcoind automatically if it crashes or dies using Monit:
    http://bitcointalk.org/index.php?topic=5911.0

bitcoinex
Sr. Member
****
Offline Offline

Activity: 350


probiwon.com


View Profile WWW
April 16, 2011, 09:27:50 AM
 #7

Today bitcoind locked up on my server and wasn't responding to errors.

Apart from saying 'bitcoin shouldn't crash', what kind of backup systems could exist to gracefully recover when Bitcoin locks up?

Not sure what can be done except calling an safety check hook which kills/restarts bitcoind. Ideally it'd be nice to run multiple nodes and switch between them freely (sharing the same wallets or having 'backup' nodes with a BTC store).

Also, plz enable core dumps. It is useful for know of the reasons of crash.
It can be done by creating this files:

Code:
$ cat /etc/sysctl.d/coredump_pattern.conf
kernel.core_pattern = /tmp/core.%e.%t.%u.%g.%p

$ cat /etc/security/limits.d/coredump.conf
* - core unlimited

New bitcoin lottery: probiwon.com
- Может, ты ещё и в Невидимую Руку Рынка веруешь? - Зачем же веровать в то, что можно наблюдать непосредственно?
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!