Comments (2)
Fixed this it seems.
Edited src/daemon/rpc.h and changed:
void run()
{
LOG_PRINT_L0("Starting core rpc server...");
if (!m_server.run(2, false))
{
throw std::runtime_error("Failed to start core rpc server.");
}
LOG_PRINT_L0("Core rpc server started ok");
}
to
void run()
{
LOG_PRINT_L0("Starting core rpc server...");
if (!m_server.run(10, false))
{
throw std::runtime_error("Failed to start core rpc server.");
}
LOG_PRINT_L0("Core rpc server started ok");
}
This should be safe/stable?
EDIT: nopes, happens much less frequently with if (!m_server.run(10, false)) + 10 pool threads, but still happens.
Instead of every ~15mins with if (!m_server.run(2, false)) + 32 pool threads, Im down to once per hour.
2018-01-18 20:14:52 (Thread 2) Error polling getblockcount {"code":"ECONNRESET","errno":"ECONNRESET","syscall":"read"}
2018-01-18 20:14:53 (Thread 1) Error polling getblockcount {"code":"ETIMEDOUT","errno":"ETIMEDOUT","syscall":"connect","address":"127.0.0.1","port":19734}
.
.
2018-01-18 21:12:52 (Thread 2) Error polling getblockcount {"code":"ETIMEDOUT","errno":"ETIMEDOUT","syscall":"connect","address":"127.0.0.1","port":19734}
2018-01-18 21:12:52 (Thread 4) Error polling getblockcount {"code":"ETIMEDOUT","errno":"ETIMEDOUT","syscall":"connect","address":"127.0.0.1","port":19734}
2018-01-18 21:12:52 (Thread 4) Error polling getblockcount {"code":"ECONNRESET","errno":"ECONNRESET","syscall":"read"}
.
.
2018-01-18 22:07:39 (Thread 4) Error polling getblockcount {"code":"ECONNRESET","errno":"ECONNRESET","syscall":"read"}
2018-01-18 22:07:37 (Thread 5) Error polling getblockcount {"code":"ECONNRESET","errno":"ECONNRESET","syscall":"read"}
2018-01-18 22:07:38 (Thread 5) Error polling getblockcount {"code":"ECONNRESET","errno":"ECONNRESET","syscall":"read"}
2018-01-18 22:07:36 (Thread 7) Error polling getblockcount {"code":"ECONNRESET","errno":"ECONNRESET","syscall":"read"}
2018-01-18 22:07:39 (Thread 10) Error polling getblockcount {"code":"ETIMEDOUT","errno":"ETIMEDOUT","syscall":"connect","address":"127.0.0.1","port":19734}
Anyone with any insight? Sure seems to be something with sumokoind since changing rpc.h and threads has a big effect.
from sumokoin.
Doesn't seem like more threads are needed. Just limit pool threads to max 4 regardless of the number of cpu cores. Had no performance issues what so ever even when testing with 10MH/s from nicehash.
from sumokoin.
Related Issues (20)
- Change Save Dir data.mdb HOT 2
- Add blockchain.raw import / sync blockchain offline. HOT 1
- Unable to compile the latest code HOT 2
- SumoKoin stuck sync at 117178 HOT 1
- linux wallet binary big size
- ERROR: Resource temporarily unavailable HOT 1
- issue with subaddresses
- Failed to parse transaction from blob HOT 2
- Blockchain Error: Failed to parse transaction from blob HOT 2
- clarify license/copyright please? HOT 3
- potential vulnerability? HOT 1
- Difficulty of block 165000 is calculated incorrectly by the daemon and in the official bootstrap HOT 2
- can't insert more than +-20 transactions into 1 block HOT 2
- please update root-zone trust-anchors in dns_utils.cpp HOT 2
- Sumokoin Fails to build on Ubuntu 18.04 HOT 3
- stuck sync at 199856 HOT 5
- Error: Electrum-style word list failed verification HOT 1
- systemctl issue HOT 2
- Wallet rpc failed to start on 0.6.0.0 HOT 2
- Can't access an old wallet on the new CLI HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sumokoin.