Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[0.14.0-shared-db] What format should --shared-file-size have? Weird error #537

Closed
xeroc opened this issue Oct 29, 2016 · 1 comment
Closed

Comments

@xeroc
Copy link

xeroc commented Oct 29, 2016

I am on boost 1.61

witness-node steem --shared-file-size 33554432
~/Steemit/steem ~/Steemit/steem/witness_node_data_dir
------------------------------------------------------

            STARTING STEEM NETWORK

------------------------------------------------------
initminer public key: STM8GC13uCZbP44HzMLV6zPZGwVQ8Nt4Kji8PapsPiNq1BK153XTX
chain id: 0000000000000000000000000000000000000000000000000000000000000000
------------------------------------------------------
599670ms th_a       witness.cpp:102               plugin_initialize    ] _witnesses: [] 
599670ms th_a       database.cpp:124              open                 ] 13 N5boost12interprocess22interprocess_exceptionE: boost::interprocess_exception::library_error
rethrow boost::interprocess_exception::library_error: 
    {"data_dir":"/home/xeroc/Steemit/steem/witness_node_data_dir/blockchain","what":"boost::interprocess_exception::library_error"}
    th_a  database.cpp:124 open
599670ms th_a       database.cpp:124              open                 ] data_dir: /home/xeroc/Steemit/steem/witness_node_data_dir/blockchain 
599670ms th_a       application.cpp:373           startup              ] 13 N5boost12interprocess22interprocess_exceptionE: boost::interprocess_exception::library_error
rethrow boost::interprocess_exception::library_error: 
    {"data_dir":"/home/xeroc/Steemit/steem/witness_node_data_dir/blockchain","what":"boost::interprocess_exception::library_error"}
    th_a  database.cpp:124 open

    {"data_dir":"/home/xeroc/Steemit/steem/witness_node_data_dir/blockchain"}
    th_a  database.cpp:173 reindex
599670ms th_a       application.cpp:923           startup              ] 13 N5boost12interprocess22interprocess_exceptionE: boost::interprocess_exception::library_error
rethrow boost::interprocess_exception::library_error: 
    {"data_dir":"/home/xeroc/Steemit/steem/witness_node_data_dir/blockchain","what":"boost::interprocess_exception::library_error"}
    th_a  database.cpp:124 open

    {"data_dir":"/home/xeroc/Steemit/steem/witness_node_data_dir/blockchain"}
    th_a  database.cpp:173 reindex
rethrow
    {}
    th_a  application.cpp:373 startup
599670ms th_a       main.cpp:194                  main                 ] Exiting with error:
13 N5boost12interprocess22interprocess_exceptionE: boost::interprocess_exception::library_error
rethrow boost::interprocess_exception::library_error: 
    {"data_dir":"/home/xeroc/Steemit/steem/witness_node_data_dir/blockchain","what":"boost::interprocess_exception::library_error"}
    th_a  database.cpp:124 open

    {"data_dir":"/home/xeroc/Steemit/steem/witness_node_data_dir/blockchain"}
    th_a  database.cpp:173 reindex
rethrow
    {}
    th_a  application.cpp:373 startup```
@mvandeberg
Copy link
Contributor

mvandeberg commented Oct 31, 2016

Boost 1.61 is not a supported version of boost. There are some changes to boost thread management in 1.61 that breaks the cooperative multitasking in FC. Updating FC to work with Boost > 1.60 will take some time.

The format is uint64_t bytes. For seed/witness I would recommend 8 Gb. For a full node, 20 Gb. The default is set to 20 Gb.

@xeroc xeroc closed this as completed Nov 2, 2016
On1x pushed a commit to VIZ-Blockchain/viz-cpp-node that referenced this issue May 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants