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

Miner doesn't shutdown when hitting CTRL+C #12

Open
asebak opened this issue Feb 17, 2018 · 3 comments
Open

Miner doesn't shutdown when hitting CTRL+C #12

asebak opened this issue Feb 17, 2018 · 3 comments
Assignees

Comments

@asebak
Copy link
Contributor

asebak commented Feb 17, 2018

Miner doesn't shutdown when hitting CTRL+C infinite amount of times.

@synapsics-sergiu
Copy link

It happened to me as well when I started the miner with no arguments.
eg. ./aionminer

You have to start miner with some arguments as explained on the README page at the bottom.

Eg for GPU mining:
./aionminer -cd 0 -cv 1 -cb 64 -ct 64 -b

However your issue is still valid, I'll have a look into it.

@synapsics-sergiu
Copy link

synapsics-sergiu commented Feb 18, 2018

It looks that my fixes on my pull request already fixed your issue as well. However I've just added a check for the number of arguments, if there are no arguments provided, it should show "help".

@aion-Ross aion-Ross self-assigned this Feb 19, 2018
@aion-Ross
Copy link
Contributor

Thanks @SergiuSynapsics I'll go through the pull request and have it merged by tomorrow.

In the mean time the miner can be closed using CTRL+Z when it gets into a non-responsive state. You'll need to manually remove the process after a CTRL+Z though; I've found the easiest way to remove is killall -9 aionminer

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