Questions tagged [kill-process]
43 questions
1
vote
1 answer
Killing process group safely
How can one kill a process group safely, and force kill if needed?
The goal is to do a kill with SIGTERM (-15) then if the apps in the tree do not die after a timeout (e.g. 60 seconds) do a SIGKILL (-9).
We have a scenario with parent process and a…
![](../../users/profiles/429269.webp)
suh
- 13
- 6
1
vote
0 answers
Processes is getting killed randomly on REdHat
We have around java virtual machines with limited memory, and MongoDB.
Deployed processes are randomly getting killed/terminated abruptly in time. No matter java process, nodejs or mongodb process. We tried OOM configuration changes also which did…
![](../../users/profiles/428264.webp)
user135968
- 11
- 1
1
vote
1 answer
Kill (close) reliability monitor windows by PID powershell
I am trying create a process of the windows reliability monitor and kill it after I take a screenshot.
I am having trouble to get the process and automatically close it before I take the screenshot because there is no process ID that identifies that…
![](../../users/profiles/292938.webp)
kimo pryvt
- 421
- 4
- 11
- 22
1
vote
1 answer
In the output of ps(1) on OS X-like systems, what do processes listed in parentheses mean, and how do I kill them?
username@yosemite ~ % ps wwwaux | grep java
username 48111 0.0 0.0 0 0 ?? ?E 11:54AM 0:00.00 (java)
username 91673 0.0 0.0 2432772 508 s006 R+ 3:19PM 0:00.00 grep java
username 90809 0.0 0.0…
![](../../users/profiles/40584.webp)
javanix
- 247
- 3
- 15
1
vote
1 answer
Kill process and child processes, not parent processes, not group
I need to kill a process and all of its subprocesses programatically.
Killing the group is not an option because I do not want to kill the parent processes.
Example:
pid process
1 nice parent process that should live
2 …
![](../../users/profiles/254454.webp)
firelynx
- 119
- 1
- 4
1
vote
1 answer
how to stop md3_raid1 and md3_resync process which takes high load
how to stop md3_raid1 and md3_resync process which takes heavy load. can anyone please help me how to stop this process and may i know why this process in started,, now there are 100 plus visitor , i dont need downtime. please help me quick.
2273…
![](../../users/profiles/240367.webp)
azarudeen
- 31
- 1
- 4
1
vote
1 answer
Batch file that kills a certain process
I am using the following script to kill a process in CLOSE_WAIT state that listens to a certain ip and to a certain port.
FOR /F "tokens=5 delims= " %%I IN (
'netstat -ano ^| find "127.0.0.1:5900" ^| find "CLOSE_WAIT"'
) DO (
taskkill /PID…
![](../../users/profiles/256345.webp)
Chris
- 97
- 2
- 8
1
vote
1 answer
Set up Ubuntu to kill off Apache child processes when memory usage reaches 90%
My situation is following:
We run Magento Professional on a 15Gb ram instance, rackspace.
When running htop, we could see that 'apache2 -k start' keeps spawning more child processes, some of them eats ~900Mb of memory.
When memory is almost used…
![](../../users/profiles/204990.webp)
ALAN VO
- 19
- 3
1
vote
4 answers
Kill processes if high load average
Not so far ago LA on my server raised to 400 and I couldn't even login to server using ssh. Does exists any software, that can prevent this situations by automatically killing processes that making huge load on server?
PS. Debian 6.0.5
![](../../users/profiles/124676.webp)
Drakmail
- 115
- 1
- 4
1
vote
1 answer
How to kill a process running under SYSTEM account in the Windows Server?
I have a server with Windows Server 2008 R2 and a service process (our custom service) running on it under SYSTEM account. A service has presumably hanged and I wanted to stop it. I tried stopping via Management Console "Services" snap-in, but it…
![](../../users/profiles/152103.webp)
ivan.ukr
- 115
- 1
- 6
1
vote
1 answer
Powershell: start and stop flask server
I wrote a powershell script to start my flask server, run my tests then stop my server. It starts the server and runs my tests. However, when it kills the $server process, it leaves the actual server process running and I can see the window for…
![](../../users/profiles/576585.webp)
Dullmann
- 11
- 2
0
votes
2 answers
How to terminate backend PHP scripts invoked by Apache webserver?
I'm invoking some PHP backend scripts on Apache webserver that are programmed to run for a few days. The trouble is that I cannot figure out a way to stop these scripts (except restarting the server using sudo apachectl restart).
Normally I would…
![](../../users/profiles/554898.webp)
Roy Granit
- 103
- 3
0
votes
0 answers
How to kill non-existent process?
I have a process with PID 4276 which uses port 9191. I need this port to install software.
can someone tell me how to kill this process? The Windows task manager doesn't show the process and PowerShell is not able to find the task.
![](../../users/profiles/520948.webp)
Ehsan Aliverdi
- 101
- 3
0
votes
1 answer
linux - ps have different column with process ID
I have simple Docker's command to kill database process:
docker exec app-pgsql bash -c 'ps axuf |grep ils |cut -d" " -f3 |xargs kill -9 || :'
and as you can see, I'm looking for 3rd column from ps to get process ID but sometimes this column is…
![](../../users/profiles/401081.webp)
Damian
- 113
- 2
- 6
0
votes
1 answer
How to stop process fdhost?
I'm trying to update SQL Server 2016 to CU7.
During the Files in Use check, I'm prompted to stop fdhost.exe for each running instance in order to prevent the need for a reboot.
But how to stop this process? I've stopped the Full-text Filter service…
![](../../users/profiles/218519.webp)
InteXX
- 713
- 13
- 31