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

Socket Error from undefined Error: Error: write EPIPE #442

Open
mrLann opened this issue Jul 19, 2018 · 9 comments
Open

Socket Error from undefined Error: Error: write EPIPE #442

mrLann opened this issue Jul 19, 2018 · 9 comments

Comments

@mrLann
Copy link

mrLann commented Jul 19, 2018

OS: Ubuntu 16.04 LTS
Node.js version: 8.9.3

My first deployment at 4 month ago, only mining XMR, and the pool running stable.
yesterday i run a 'apt upgrade' command at my pool server and restart it, now my pool show me a lot of error like my title, and longRunner memory always 1.5 GB+.
so anybody know how to fix it?

@bobbieltd
Copy link
Contributor

Socket Error Time Out seems normal (I got everyday)
longRunner 1.5Gb+ seems abnormal (stuck some how). Database size = ?

@mrLann
Copy link
Author

mrLann commented Jul 19, 2018

@bobbieltd LMDB 1.5GB now, MySQL 471MB.
But before me upgrade my server, there no error show on my console.
see this pic:
epipe1

@shigutso
Copy link

run a sudo netstat -tuplen and post the results

@mrLann
Copy link
Author

mrLann commented Jul 19, 2018

@shigutso Here:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 0 2450450857 503/master
tcp 0 0 0.0.0.0:18080 0.0.0.0:* LISTEN 0 1132059261 19069/monerod
tcp 0 0 0.0.0.0:18081 0.0.0.0:* LISTEN 0 1132065575 19069/monerod
tcp 0 0 127.0.0.1:18082 0.0.0.0:* LISTEN 0 1132066912 19069/monerod
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 2450448628 228/rpcbind
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 2740521348 312/sshd
tcp6 0 0 :::25 :::* LISTEN 0 2450450858 503/master
tcp6 0 0 :::111 :::* LISTEN 0 2450448643 228/rpcbind
tcp6 0 0 :::22 :::* LISTEN 0 2740521350 312/sshd
udp 0 0 0.0.0.0:111 0.0.0.0:* 0 2450448625 228/rpcbind
udp 0 0 0.0.0.0:828 0.0.0.0:* 0 2450448627 228/rpcbind
udp6 0 0 :::111 :::* 0 2450448629 228/rpcbind
udp6 0 0 :::828 :::* 0 2450448640 228/rpcbind

@shigutso
Copy link

mining ports are not opened, it seems

are you sure all the modules are running fine?

@mrLann
Copy link
Author

mrLann commented Jul 20, 2018

@shigutso what port u say? Pool or Monero daemon?
i visited my pool port at browser, it seems Mining Pool Online.

@mrLann
Copy link
Author

mrLann commented Jul 20, 2018

@shigutso now:
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 21008 1405/sshd
tcp 0 0 x.x.x.x:10008 0.0.0.0:* LISTEN 1000 12961921 28313/init.js
tcp 0 0 127.0.0.1:6010 0.0.0.0:* LISTEN 1000 20681013 19597/0
tcp 0 0 127.0.0.1:6011 0.0.0.0:* LISTEN 0 20695684 20571/1
tcp 0 0 x.x.x.x:10016 0.0.0.0:* LISTEN 1000 12961922 28313/init.js
tcp 0 0 0.0.0.0:18080 0.0.0.0:* LISTEN 1001 12958759 28059/monerod
tcp 0 0 127.0.0.1:18081 0.0.0.0:* LISTEN 1001 12958808 28059/monerod
tcp 0 0 127.0.0.1:18082 0.0.0.0:* LISTEN 1001 12958814 28059/monerod
tcp 0 0 127.0.0.1:18083 0.0.0.0:* LISTEN 1000 12960874 28315/monero-wallet
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 111 22337 1457/mysqld
tcp 0 0 x.x.x.x:20016 0.0.0.0:* LISTEN 1000 12961923 28313/init.js
tcp 0 0 x.x.x.x:10001 0.0.0.0:* LISTEN 1000 12961920 28313/init.js
tcp6 0 0 :::22 :::* LISTEN 0 21010 1405/sshd
tcp6 0 0 ::1:6010 :::* LISTEN 1000 20681012 19597/0
tcp6 0 0 ::1:6011 :::* LISTEN 0 20695683 20571/1
tcp6 0 0 :::443 :::* LISTEN 33 23625 1447/caddy
tcp6 0 0 :::8000 :::* LISTEN 1000 12962302 28270/init.js
tcp6 0 0 :::8001 :::* LISTEN 1000 12961015 28218/init.js
tcp6 0 0 :::80 :::* LISTEN 33 23624 1447/caddy
udp 0 0 x.x.x.x:123 0.0.0.0:* 0 23343 2285/ntpd
udp 0 0 x.x.x.x:123 0.0.0.0:* 0 23341 2285/ntpd
udp 0 0 127.0.0.1:123 0.0.0.0:* 0 23339 2285/ntpd
udp 0 0 0.0.0.0:123 0.0.0.0:* 0 23335 2285/ntpd
udp6 0 0 xxxx::xxxx:xxxx:123 :::* 0 23347 2285/ntpd
udp6 0 0 ::1:123 :::* 0 23345 2285/ntpd
udp6 0 0 :::123 :::* 0 23332 2285/ntpd

@shigutso
Copy link

ports 3333, 5555, 7777 and 9000, you don't have these, the defaults ports for mining

@mrLann
Copy link
Author

mrLann commented Jul 20, 2018

@shigutso i was changed them to 10001, 10008, 10016, and 20016

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

3 participants