Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: delegate 自动重启钱包 [BitSuperLab 出品]  (Read 958 times)

0 Members and 1 Guest are viewing this topic.

Offline alt

delegate 自动重启钱包 [BitSuperLab 出品]
« on: July 29, 2014, 01:26:47 AM »

for now, delegate will miss blocks after long time running.
BM suggest to restart client every day.
here is a method for automatic restart.
1. run wallet with this expect script, you should change "wallet_name" and "command line"
this script will start client automatic while it's quit.
......

目前delegate长时间运行会大量丢块,BM建议每天重启一次钱包,所以我们提供了这个自动重启的方案。
接下去我们会把漏块检测和自动重启工具结合起来,提供更强大的自修复能力。
« Last Edit: July 30, 2014, 05:36:13 AM by alt »

Offline crazybit

  • Sr. Member
  • ****
  • Posts: 403
    • View Profile
Re: delegate 自动重启钱包 [DPOS Super lab 出品]
« Reply #1 on: July 29, 2014, 01:33:37 AM »
+5%
Delegate IDs: dpos.crazybit | titan.crazybit | anchor.crazybit |crazybit

Offline taoljj

  • Full Member
  • ***
  • Posts: 171
    • View Profile
Re: delegate 自动重启钱包 [DPOS Super lab 出品]
« Reply #2 on: July 29, 2014, 01:33:56 AM »
顶,好东东。
BTS      Witness: delegate.taolje
MUSE  Witness: tao

Offline HackFisher

  • Hero Member
  • *****
  • Posts: 883
    • View Profile
Re: delegate 自动重启钱包 [DPOS Super lab 出品]
« Reply #3 on: July 29, 2014, 01:47:58 AM »
 +5%
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline abit

Re: delegate 自动重启钱包 [DPOS Super lab 出品]
« Reply #4 on: July 29, 2014, 01:57:31 AM »
DPOS Super Lab 是什么?
BTS account: abit
BTS committee member: abit
BTS witness: in.abit

Offline sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile
Re: delegate 自动重启钱包 [DPOS Super lab 出品]
« Reply #5 on: July 29, 2014, 01:59:16 AM »
小建议。要做"wallet_next_block_production_time": 检查。必须是大于5分钟才可以重启否则会在重启时丢块
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

Offline dcchong

  • Sr. Member
  • ****
  • Posts: 203
    • View Profile
Re: delegate 自动重启钱包 [DPOS Super lab 出品]
« Reply #6 on: July 29, 2014, 02:13:59 AM »
我的还好,运行几天没怎么丢块,就第一天连接数不稳定丢了一些块。 后来设置了--min-delegate-connection-count 3参数启动客户端,并启动后设置network_set_advanced_node_parameters {"desired_number_of_connections": 30}。 就一直没怎么丢块。
wallet_approve_delegate dc-delegate true
wallet_approve_delegate bitsharesx-delegate true

Offline alt

Re: delegate 自动重启钱包 [DPOS Super lab 出品]
« Reply #7 on: July 29, 2014, 03:16:50 AM »
小建议。要做"wallet_next_block_production_time": 检查。必须是大于5分钟才可以重启否则会在重启时丢块
原帖已更新,重启前增加了检查

Offline Musewhale

  • Hero Member
  • *****
  • Posts: 2746
  • 丑,实在是太丑了 !
    • View Profile
Re: delegate 自动重启钱包 [DPOS Super lab 出品]
« Reply #8 on: July 29, 2014, 03:54:40 AM »
alt 哥好样的  :P :P :P
当初你说炒币不烧钱,现在我全家都怀疑我吸毒

Offline newtree

Re: delegate 自动重启钱包 [DPOS Super lab 出品]
« Reply #9 on: July 29, 2014, 08:51:50 AM »
alt真是不遗余力啊,好想法,赞一个~
BTS ID:newtree/baicai 
微信公众号:hellobts
网站:www.hellobts.com

Offline crazybit

  • Sr. Member
  • ****
  • Posts: 403
    • View Profile
Re: delegate 自动重启钱包 [DPOS Super lab 出品]
« Reply #10 on: July 29, 2014, 01:24:41 PM »
我已经在自己的服务器实时监控连接数,CPU使用率,内存使用率,硬盘使用率,网络流量使用等超限短信/邮件通知,再加上Supper Lab的丢块提醒,再也不用三更半夜跑起来检查delegate的运行情况了。
Delegate IDs: dpos.crazybit | titan.crazybit | anchor.crazybit |crazybit

Offline gyhy

  • Hero Member
  • *****
  • Posts: 848
    • View Profile
Re: delegate 自动重启钱包 [DPOS Super lab 出品]
« Reply #11 on: July 29, 2014, 01:29:37 PM »
我已经在自己的服务器实时监控连接数,CPU使用率,内存使用率,硬盘使用率,网络流量使用等超限短信/邮件通知,再加上Supper Lab的丢块提醒,再也不用三更半夜跑起来检查delegate的运行情况了。
跟我们公司的服务器实时监控一样了

Offline alt

Re: delegate 自动重启钱包 [DPOS Super lab 出品]
« Reply #12 on: July 29, 2014, 02:23:28 PM »
双机热备差不多做好了,代码写的很差不好意思拿出来
而且目前应该还没太大需求,我先自己用着试试  :)

Offline ripplexiaoshan

  • Moderator
  • Hero Member
  • *****
  • Posts: 1982
    • View Profile
  • BTS: xiaoshan
Re: delegate 自动重启钱包 [DPOS Super lab 出品]
« Reply #13 on: July 29, 2014, 03:59:42 PM »
好样的 +5%
BTS ID:xiaoshan                   www.yoyow.org      www.btsabc.org      www.openledger.info

Offline HackFisher

  • Hero Member
  • *****
  • Posts: 883
    • View Profile
Re: delegate 自动重启钱包 [DPOS Super lab 出品]
« Reply #14 on: July 29, 2014, 04:03:18 PM »
我已经在自己的服务器实时监控连接数,CPU使用率,内存使用率,硬盘使用率,网络流量使用等超限短信/邮件通知,再加上Supper Lab的丢块提醒,再也不用三更半夜跑起来检查delegate的运行情况了。
+5%
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

 

Google+