xmr-node-proxy icon indicating copy to clipboard operation
xmr-node-proxy copied to clipboard

Weird issue

Open Aprrentice opened this issue 4 years ago • 17 comments

Hi,

As always a great proxy, been running it for a while on EC2 but few hours ago miners were not connecting. checked and found the proxy giving attached error. ran update (though it was updated), restarted, had a green install. .. but still the same error. please advise. thanks.

Capture

Aprrentice avatar Oct 06 '20 15:10 Aprrentice

What's the size of your EC2 instance? For small ones (e.g. t2.micro) you need a swap cause they have not enough RAM for compiler stage... So binding are not compiled thus missing...

djfinch avatar Oct 06 '20 15:10 djfinch

um... well I don't know. me zero in those stuff, I just follow the online tutorials. manage so far to have it running for like 6 month, but now got this. how can check this? I use the free tier. thanks.

Aprrentice avatar Oct 06 '20 15:10 Aprrentice

this?

Size 8 GiB

Aprrentice avatar Oct 06 '20 15:10 Aprrentice

In case it's in free tier i'm pretty sure it's T2.micro. You have to follow THIS guide. It's almost at the end...

djfinch avatar Oct 06 '20 15:10 djfinch

this is the guide that I have followed. I have started using it since mid of march 2020. running only XNP

Aprrentice avatar Oct 06 '20 15:10 Aprrentice

managed to get this. does it make any sense?

Capture 2JPG

Aprrentice avatar Oct 06 '20 15:10 Aprrentice

what's the physical size of your partitions? above screenshot showing inodes... use df -h plz

djfinch avatar Oct 06 '20 15:10 djfinch

was gogoling and ran those commands:

sudo apt-get autoremove --purge du -sh /var/cache/apt/archives sudo apt-get clean

guess it cleared some space

df -h below

Capture3

Aprrentice avatar Oct 06 '20 15:10 Aprrentice

okay, you have just 1.3GB free space on '/' so you cannot create 4GB swap file there...

djfinch avatar Oct 06 '20 15:10 djfinch

thanks. what should I do? is there a command to run for clearing up space?

Should this happen? shouldn't it last for a year?

thanks again.

Aprrentice avatar Oct 06 '20 15:10 Aprrentice

first of all i'll try pm2 flush to remove logs... du -a -h -d 1 will show you used size of current subdirectories

djfinch avatar Oct 06 '20 15:10 djfinch

1111 222 333

Aprrentice avatar Oct 06 '20 15:10 Aprrentice

444

Aprrentice avatar Oct 06 '20 16:10 Aprrentice

Swapfile is there but probably not attached. You can try to delete this file and repeat the 'create swap' steps once again. Then run npm i inside proxy folder...

djfinch avatar Oct 06 '20 17:10 djfinch

if I know how to do that :)

Aprrentice avatar Oct 07 '20 12:10 Aprrentice

Umm, i forgot on sometging... Could you run npm i once again and paste output on pastebin? Maybe the compiler fails because of missing dependencies... :/

djfinch avatar Oct 07 '20 18:10 djfinch

uum...well been trying to figure it by googling... ran a lot of commands i found online... guess mess up with it... with no luck of reducing that xvda1 size. thought by deleting the xmr-node-proxy would do something but it didn't. me don't know about linux, I jsut copy paste commands.

guess i have to create a new account on AWS? or maybe delete or rebuild the whole thing...

Aprrentice avatar Oct 07 '20 19:10 Aprrentice