sindresorhus/fkill-cli

Process is not killed #42

capaj posted onGitHub

I have a node.js process listening on port 3000 and I can't kill it. image

Ubunut 17.10 Node 8.9.3


fkill :3000 -f

posted by CurtisBelt about 7 years ago

it would be nice if fkill would reflect the fact that it did not kill the process in the output. Also IMHO the default to forcibly kill it would make more sense to me. I mean if someone is installing fkill it is because they want to kill processes, not just ask them nicely to terminate.

posted by capaj about 7 years ago

In the interactive interface, we detect if the process was killed or not and ask the user if they want to force kill. When using the non-interactive interface, like here, we could try to force kill if normal killing didn't work.

posted by sindresorhus about 7 years ago

@issuehunt has funded $40.00 to this issue. See it on IssueHunt

posted by IssueHuntBot about 6 years ago

When using the non-interactive interface, like here, we could try to force kill if normal killing didn't work.

@sindresorhus Should we introduce a new flag for this behavior? Something like safe-kill? We could also just notify the user that a process is going to get killed forcibly when normal killing didn't work.

posted by medusalix about 6 years ago

I think we should try killing normally first and if that fails, we should force kill.

posted by sindresorhus about 6 years ago

@sindresorhus that makes the assumption that fkill knows how long the process takes to cleanly shutdown. Perhaps if it prompts the user so they know they are about the rip the life from the process without giving it time to clean up.

posted by thepont almost 6 years ago

If anyone wants to work on this, see the initial attempt and feedback here: https://github.com/sindresorhus/fkill-cli/pull/70

posted by sindresorhus about 5 years ago
posted by sindresorhus over 4 years ago
posted by sindresorhus almost 4 years ago

@sindresorhus has rewarded $36.00 to @stroncium. See it on IssueHunt

  • :moneybag: Total deposit: $40.00
  • :tada: Repository reward(0%): $0.00
  • :wrench: Service fee(10%): $4.00
posted by issuehunt-app[bot] almost 4 years ago

Fund this Issue

$40.00
Rewarded

Rewarded pull request

Recent activities

stroncium was rewarded by sindresorhus for sindresorhus/fkill-cli# 42
almost 4 years ago
stroncium submitted an output to  sindresorhus/ fkill-cli# 42
almost 4 years ago