mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   YAFU (https://www.mersenneforum.org/forumdisplay.php?f=96)
-   -   terminate yafu (https://www.mersenneforum.org/showthread.php?t=21227)

Johnatan 2016-04-19 12:16

terminate yafu
 
What is the correct way to terminate yafu that is started using
[QUOTE]
./yafu "factor(..)" -threads 4
[/QUOTE]?

If I press control+c, the ecm processes are killed, but yafu continues by spawning next threads using next curves.
If I send "kill -2 ..." to the process, nothing happens.

bsquared 2016-04-19 13:15

several ctrl-c's usually does it. Killing the yafu pid should also work.

Johnatan 2016-06-13 11:30

Seems that on ubuntu GMP-ECM on control+c returns return code 2 and therefore yafu assums that work has been done and respawns next GMP-ECM processes.

Sending SIGTERM signal to yafu terminates yafu and GMP-ECM processes successfully.


All times are UTC. The time now is 05:36.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.