You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.
I have got a call today regarding the hogged network and found out that my 6 gobuster instances were chocking the network. Because they asked nicely I went ahead and ./celerystalk cancel <id>d all those instances but.. something still feels off.. every now and then I look at ./celerystalk query breif to find out that a new gobuster instance is running again, which is kind of strage because what I am seeing, is that only 3 nikto-tasks are left, while the others either finished or cancelled.
and here is it again while I am writing this, 2 nikto-tasks have finished and instead two gobuster-tasks are back there, those which I remember cancelling!
and just to confirm it, here is a snapshot of the latest cancelled tasks confirming my suspecious!
and just right now I have this
but gobuster still appears in the processes
even nethogs confirms it
I am not sure anymore!
The text was updated successfully, but these errors were encountered:
cwaazywabbit
changed the title
Is cancelling a task realling killing it? I'm not sure anymore
Is cancelling a task really killing it? I'm not sure anymore
May 7, 2020
There are definitely times where SIGTERM is not enough to kill the process and you have to send a SIGKILL (kill -9), but I don't have that coded in right now.
It was a long time ago but i think I didnt want to just do a SIGKILL right away was that i would potentially lose logs of partially run commands.
That said, i think it seems like a good idea to:
First try the sigterm
Check to see if the pid is still running. If it is, then send the sigkill
Check to see if the pid is running, if it is (i'm not sure why it would still be after a sigkill), don't switch the task to cancelled, but somehow notify the user at the command line that we could not kill the procces.
I have got a call today regarding the hogged network and found out that my 6 gobuster instances were chocking the network. Because they asked nicely I went ahead and
./celerystalk cancel <id>
d all those instances but.. something still feels off.. every now and then I look at./celerystalk query breif
to find out that a newgobuster
instance is running again, which is kind of strage because what I am seeing, is that only 3 nikto-tasks are left, while the others either finished or cancelled.and here is it again while I am writing this, 2 nikto-tasks have finished and instead two gobuster-tasks are back there, those which I remember cancelling!
and just to confirm it, here is a snapshot of the latest cancelled tasks confirming my suspecious!
and just right now I have this
but
gobuster
still appears in the processeseven
nethogs
confirms itI am not sure anymore!
The text was updated successfully, but these errors were encountered: