question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ctrl-C did not quit worker processes

See original GitHub issue

Node v7.7.1 tiny-worker@2.0.1

I start workers as per the documentation, and they start repeating tasks via setInterval(). Then I quit the server using ctrl-c, and the workers do not quit.

Am I missing an event handler somewhere?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
avoidworkcommented, Apr 10, 2017

@wmertens I will make a node on the README for people; I realize this is really ‘out of band’ info that’s gathered when required, and not really sought out.

0reactions
wmertenscommented, Apr 10, 2017

💯 perfect!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ctrl + c will not kill process - Unix & Linux Stack Exchange
If you change it to Ctrl + Shift + C , then Ctrl + C will work properly again for stopping processes.
Read more >
What to do when Ctrl + C can't kill a process? - Super User
If that doesn't work, go to another terminal or SSH session and do kill or kill -TERM on the process ID. Only as...
Read more >
What to do when Ctrl-C won't kill running job? - Ask Ubuntu
Ctrl + C : politely ask the process to shut down now; Ctrl + \ : mercilessly kill the process that is currently...
Read more >
Ctrl-C doesn't terminate process or clear the line #7 - GitHub
Also having an issue with Ctrl-C where the current process is not halted, instead the terminal is closed/crashes and all running processes exit...
Read more >
Cannot terminate a shell command with Ctrl+c - Stack Overflow
I run this statement, then two bash processes and one tail process are launched(got from ps auxf ), then input Ctrl+c , and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found