Bitcoin Forum
June 30, 2024, 10:13:19 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Please help solve the problem with BTC Daemon.  (Read 302 times)
IMBA-Exchange (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
May 16, 2019, 07:04:22 AM
 #1

Hello, everyone!

If someone can help, I will be very grateful!

Here's the problem: BTC daemon doesn't run stable.

------------------------------------------------------------------------------------------------------------------------------
We have a bitcoind installation into a VPS (60GB RAM, CPU:10cores, 1600 GB SSD) running on Ubuntu 16.04.6 with this configuration

server=1
rpcport=11111
rpcallowip=1.1.1.1
rpcuser=user
rpcpassword=pwd
walletnotify=/btctxs.sh %s
enableaccounts=1
txindex=1
minconf=1
dbcache=600

#onlynet=ipv4/ipv6
#prune=<N>

We are using jsonRpcClient-PHP to connect with the daemon and sending commands to it for transaction and others.
But after some time when the daemon is running, it is not responding to the RPC and not even no response from the CLI

The time is uncertain, sometimes it hangs after 5 minutes and sometimes it is after 2hrs.
Also, the log shows nothing unusual I think.
We have to kill the process and restart the daemon again, and when the daemon is killed and restarted, the balance is down to 0.00 and then after sometimes it is showing balance again, not the full balance but each transactions' amount showed up one after another, as the list transactions is showing confirmation:0 for all latest txs, but those will sum up in total after sometimes if we are lucky enough and the daemon is still running not hanged.

So anyone please advise us, what might be the problem? and how to solve that?

Some of the log entries when the daemon hanged already

[default wallet] keypool reserve 2290
[default wallet] keypool keep 2290
socket send error Broken pipe (32)
[default wallet] keypool added 1 keys (0 internal), size=2000 (1000 internal)
socket recv error Connection reset by peer (104)
------------------------------------------------------------------------------------------------------------------------------

Thanks in advance to all who will respond!
djhomeschool
Full Member
***
Offline Offline

Activity: 340
Merit: 164


View Profile
May 16, 2019, 07:10:24 AM
 #2

Just a quick guess but could you disable the firewall for a few minutes and try again?

to disable the firewall

Quote
sudo ufw disable

to enable it again

Quote
sudo ufw enable
IMBA-Exchange (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
May 16, 2019, 07:15:39 AM
 #3

Just a quick guess but could you disable the firewall for a few minutes and try again?

to disable the firewall

Quote
sudo ufw disable

to enable it again

Quote
sudo ufw enable
Hello, dear djhomeschool!
Thank you for your answer.
We will try to do it now and I will tell you the answer.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
May 16, 2019, 07:45:57 AM
 #4

Also, the log shows nothing unusual I think.
Rather than picking and choosing selected output from your log file, you'd be better served just copy/pasting the last few hundred lines after it has stopped responding to pastebin.com and then posting a link to the URL that pastebin generates.

That way folks will be able to better help diagnose the error.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
djhomeschool
Full Member
***
Offline Offline

Activity: 340
Merit: 164


View Profile
May 16, 2019, 11:16:52 AM
 #5

Since OP is not answering anymore i'm guessing the firewall blocked the open ports causing the deamon to become unresponsive
BigDealCompany
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
May 16, 2019, 11:26:49 AM
 #6

Not it was not the firewall

here is the log >> https://pastebin.com/J32B8wdA

All long line breaks are those point where the daemon is hanged and we restarted
Eg >> Line :169
djhomeschool
Full Member
***
Offline Offline

Activity: 340
Merit: 164


View Profile
May 16, 2019, 11:34:33 AM
 #7

Not it was not the firewall

here is the log >> https://pastebin.com/J32B8wdA

All long line breaks are those point where the daemon is hanged and we restarted
Eg >> Line :169



hhmmmm.... some I/O error then?
BigDealCompany
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
May 16, 2019, 12:20:37 PM
 #8

we have installed the daemon in two different server(both ubuntu 16.04), all are having the same issue
And I/O error, what might that be ?
djhomeschool
Full Member
***
Offline Offline

Activity: 340
Merit: 164


View Profile
May 16, 2019, 12:31:15 PM
 #9

we have installed the daemon in two different server(both ubuntu 16.04), all are having the same issue
And I/O error, what might that be ?

I/O error can come from HD problems but since you installed it in 2 different servers that is not the case here.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
May 16, 2019, 08:56:39 PM
 #10

We have a bitcoind installation into a VPS (60GB RAM, CPU:10cores, 1600 GB SSD) running on Ubuntu 16.04.6 with this configuration
Possibly some weird VPS configuration causing your issues...

The first couple of hangs in your log appear somewhat random, the last few all seem to occur right after a "broken pipe" error. As you're running this on a VPS and not your own hardware, it might be tricky to try and track this problem down.

Have you contacted the tech support for your VPS provider? Perhaps they will be able to shed some light on why your VPS is having this issue with bitcoind...

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
turndealer
Newbie
*
Offline Offline

Activity: 16
Merit: 3


View Profile
May 26, 2019, 01:30:31 PM
 #11

Not it was not the firewall

here is the log >> https://pastebin.com/J32B8wdA

All long line breaks are those point where the daemon is hanged and we restarted
Eg >> Line :169


Mate here you are exposing your node details, IP, Port are clearly visible and shows its open for 0.0.0.0.

I suggest you remove the last link.

Thanks
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
May 27, 2019, 07:52:26 AM
 #12

Mate here you are exposing your node details, IP, Port are clearly visible and shows its open for 0.0.0.0.

I suggest you remove the last link.

So what ?

An IP address is public information. If anyone wants to communicate with you, he needs your IP address.
This includes all other nodes you are connected to, all websites you visit, your email provider/server and all other online services you are using.

Giving out an IP is not a problem at all.. at least not if you aren't doing shady business.


And the port is the standard port for the bitcoin protocol. It is set in the specification. Every BTC node listens on port 8333. That's part of the protocol specification.

Pages: [1]
  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!