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

Weird issue #132

Open
Aprrentice opened this issue Oct 6, 2020 · 17 comments
Open

Weird issue #132

Aprrentice opened this issue Oct 6, 2020 · 17 comments

Comments

@Aprrentice
Copy link

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

@djfinch
Copy link

djfinch commented Oct 6, 2020

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...

@Aprrentice
Copy link
Author

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
Copy link
Author

this?

Size
8 GiB

@djfinch
Copy link

djfinch commented Oct 6, 2020

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...

@Aprrentice
Copy link
Author

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

@Aprrentice
Copy link
Author

managed to get this.
does it make any sense?

Capture 2JPG

@djfinch
Copy link

djfinch commented Oct 6, 2020

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

@Aprrentice
Copy link
Author

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

@djfinch
Copy link

djfinch commented Oct 6, 2020

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

@Aprrentice
Copy link
Author

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.

@djfinch
Copy link

djfinch commented Oct 6, 2020

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

@Aprrentice
Copy link
Author

1111
222
333

@Aprrentice
Copy link
Author

Aprrentice commented Oct 6, 2020

444

@djfinch
Copy link

djfinch commented Oct 6, 2020

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...

@Aprrentice
Copy link
Author

if I know how to do that :)

@djfinch
Copy link

djfinch commented Oct 7, 2020

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... :/

@Aprrentice
Copy link
Author

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...

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

2 participants