Questions tagged [kill]

125 questions
2
votes
1 answer

Long running PHP process randomly stops with message 'Killed'

I have a PHP script I wrote that I am running, and it has ran all the way through before, but for some reason, it keeps stopping with a message of 'Killed' ... It is my box, no one else is logged in The script does not have the word 'Killed' in it…
2
votes
1 answer

Kill any GS process that's been running for over 5m on CentOS 6.5

Hi our server has a weird issue where once a month or so a GS (GhostScript) process gets stuck and eats 10-75% CPU until I kill the process. strace hasn't provided anything useful so until I can resolve this correctly I'd like to create a script…
Jonathan
  • 207
  • 5
  • 10
2
votes
2 answers

kill -HUP is not working with celery daemon

So I have a shell script that daemonizes celery, and creates a bunch of workers running as a daemon. I would like to have a way to restart the celery task when the underlying source gets changed since the --autoreload option does not work. According…
Kevin Meyer
  • 145
  • 7
2
votes
1 answer

When I kill a subprocess created in a bash script - it automatically re-spawns. Why?

I have the following script which I run using the command: ./thescript.sh 2>&1 & and if I kill the sub process spawned by it, after a few seconds it is restarted. Why is this? thescript.sh: #!/bin/bash #... #other stuff #... while true; do …
Stevo
  • 135
  • 6
2
votes
1 answer

MySQL: nothing listening on port 3306 but the processes still exist. How to graceful shutdown?

Percona-XtraDB-Cluster-server-5.5.24-23.6.340.rhel5 This is a slave server. mysqladmin shutdown hangs at: [Note] Event Scheduler: Purging the queue. 24 events [Note] Slave I/O thread killed while reading event [Note] Slave I/O thread exiting,…
quanta
  • 51,413
  • 19
  • 159
  • 217
2
votes
1 answer

timeout duration on linux

I'm trying to run a command for 5 hours and 10 minuts. I found out how to run it for 5 hours but I'm unable to run it for 5 hours and 10 minuts.. timeout -sKILL 5h mplayer -dumpstream http://82.201.100.23:80/slamfm -dumpfile slamfm.mp3 runs fine.…
David
  • 23
  • 4
2
votes
3 answers

Kill all program.exe instances open on network share from Windows

How do I kill all program.exe instances that are currently open through a Windows network share? I know how to list the open files net files | Findstr "program.exe" but how then how do I kill it? In Linux I would type: kill -9 `pidof…
Widmo
  • 21
  • 1
  • 2
2
votes
2 answers

VPS yum update filesystem ... killed

I've got a HostGator level 1 VPS - basically, a CentOS 5. I've got full root access to run whatever I want. Anyhow, during a recent maintenance check, I run yum -y update, but after the usual kinds of Yum messages, it failed after "Running…
Christian
  • 466
  • 5
  • 23
2
votes
4 answers

How do I recover from a hung machine with an 'nfs server *** not responding' error?

nfs server *** not responding nfs server *** not responding nfs server *** not responding nfs server *** not responding nfs server *** not responding nfs server *** not responding I am getting this repeatedly and machine is hung. How can I stop…
hari
  • 270
  • 1
  • 4
  • 17
2
votes
13 answers

What's the fastest way to kill a server?

For the heck of it, what's the fastest way to kill a server, other than just pulling the plug? Kill as in a(n) (un)safe shutdown, you could theoretically reboot it and have it survive the incident. Edit: Tangentially related to serverfault.com, my…
EricR
  • 199
  • 4
  • 12
2
votes
1 answer

How exactly do i find the a specific samba users process id, so that i can kill it

if for example i have a word document open on a winxp machine via a samba connection, then what command at linux level can i use to find what processes have the file open, so i can kill them, also how can i kill a specific samba user. In my example…
Randy
2
votes
1 answer

kill sessions for other machines

I've an admin and client site. Multiple users will view at client site at the same time. It is possible that I can force the users logout of my client site from admin site? I'm now using classic ASP and the In Proc session is used. Is there a way…
LipKee
2
votes
1 answer

Can't remove /var/lib/docker due to "Device or resource busy"

I've tried to uninstall docker and failed because I am not able to remove this dir /var/lib/docker and it gives me this error: (base) [xxx@xxx ~]$ sudo rm -rf /var/lib/docker/ rm: cannot remove…
Galilej25
  • 21
  • 1
  • 3
1
vote
2 answers

order of killing parent and child processes

It seems to me killing either of parent and child processes will not affect the other. So if want to kill a parent process and all its child processes, I guess I have to kill them one by one. I wonder which way is better: kill the parent first then…
Tim
  • 1,487
  • 6
  • 28
  • 43
1
vote
1 answer

virt-install hangs and won't die. How to stop safely?

I am having a problem where virt-install gets stuck in the very early stages and cant be killed (after saying "starting installation", but before the VM is visible in virt-manager). Ctrl-C does not work to cancel virt-install, and systemctl restart…
Stonecraft
  • 313
  • 3
  • 4
  • 18
1 2 3
8 9