nodejs-pool icon indicating copy to clipboard operation
nodejs-pool copied to clipboard

Socket Error from undefined Error: Error: write EPIPE

Open mrLann opened this issue 7 years ago • 9 comments

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?

mrLann avatar Jul 19 '18 03:07 mrLann

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

bobbieltd avatar Jul 19 '18 03:07 bobbieltd

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

mrLann avatar Jul 19 '18 03:07 mrLann

run a sudo netstat -tuplen and post the results

shigutso avatar Jul 19 '18 11:07 shigutso

@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

mrLann avatar Jul 19 '18 12:07 mrLann

mining ports are not opened, it seems

are you sure all the modules are running fine?

shigutso avatar Jul 19 '18 15:07 shigutso

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

mrLann avatar Jul 20 '18 06:07 mrLann

@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

mrLann avatar Jul 20 '18 06:07 mrLann

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

shigutso avatar Jul 20 '18 11:07 shigutso

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

mrLann avatar Jul 20 '18 12:07 mrLann