All Questions
84 questions
0
votes
0
answers
152
views
Close only one window of a hanging program
I've had two separate windows of gedit. In one of them I've tried to open some file and this has made gedit hang giving me the typical choice of "Force quit" or "Wait". Continuous ...
0
votes
1
answer
495
views
Multiple Un-killable Looping Processes Spawning
I'm desperately trying to work this one out, so thanks for taking a look.
Context:
Whilst trying to make a large file transfer from my Ubuntu PC to an external hard-drive, using rsync I believe, I ...
0
votes
1
answer
1k
views
How to kill a process that autostarts
Recently I started managing a server (hostsed by a cloud provider) for my work. Problem is that the server is injected.
Within now and a few months the server will be replaced by a new one in order to ...
0
votes
1
answer
962
views
Xfce - is there any way to speed up "close window" for unresponsive applications?
In Xubuntu 20.04, if a window won't close first time, it brings up a dialogue with words to the effect of "This application is taking a long time to close, do you want to kill the process?"
...
1
vote
1
answer
1k
views
How do I pkill a process and all its child processes by name?
pkill -f 'name' is not sufficient because it leaves some left-over processes in control group that ran while starting. is there any way to do this in 1 line or so?
0
votes
1
answer
815
views
How to free system of useless processes in a safe way?
I am kinda new to Ubuntu. For the past 4 months, I have been setting up various development environments for various purposes, the worst thing I did was just googling how to install this or do this ...
1
vote
1
answer
4k
views
Killing all Python processes that are using either of the GPUs
I have the following and I don't want to enter the PID of each Python process that uses either of GPUs one by one. How can I do so?
+--------------------------------------------------------------------...
7
votes
2
answers
19k
views
pkill doesn't kill
I tried to kill a process using pkill -9 <pid>
Whenever I run that command it returns nothing and the process isn't killed either.
How do I proceed now?
Edit:
I was stupid trying to use pkill ...
0
votes
1
answer
574
views
Killing a process but it doesn't close
I wrote a C program that creates a process that opens a .txt file and when I press Ctrl + C, it will close the process and print out a message but I'm having a huge problem. The process I created when ...
0
votes
2
answers
9k
views
Not able to kill process by "kill -9 <PID>" [duplicate]
I want to kill process, which related to rsync.
By entering ps axu | grep -i lsyncd, I receive information about one process:
andrej 10690 0.0 0.0 15984 1148 pts/1 S+ 16:52 0:00 grep --...
0
votes
1
answer
1k
views
How to automatically kill / terminate process as soon as it is launched?
Is there a way to automatically kill a certain (sub)process the very moment it is launched? I've read in this answer how to filter a process by its name and kill it:
sudo ps aux | grep '<process ...
2
votes
2
answers
9k
views
Cannot kill `grep --color=auto` process in terminal
I use ps aux | grep -i apt to find the process and get:
antonio 19070 0.0 0.0 14424 1096 pts/0 S+ 07:41 0:00 grep --color=auto -i apt
Commands such as sudo kill -9 14424 or any other ...
0
votes
0
answers
1k
views
Python doesn't kill proccess
I want to kill all of the child processes of the n and also n its self. It works when I run the code form terminal but when I run the code in production mode (using Nginx ,GUnicorn and systemd and ...)...
3
votes
0
answers
597
views
Zoom not closing properly
I have Zoom installed as a snap.
When I close Zoom, it stays in memory as shown in top.
And if I start it again it just creates more copies in memory.
I then have to
killall -9 zoom
Is there a fix?
0
votes
0
answers
138
views
What happens when I kill a script that was started at boot without the &?
I have a ARM64 board running Ubuntu 18 and I wrote a .sh script that is executed at boot (with rc.local):
create_ap [...] &
taskset -c 0 python my_script.py &
create_ap refers to this project....
0
votes
1
answer
848
views
Memory and CPU usage on kill -STOP
I recently learned kill -STOP command.
I was wondering, what happens to the data on memory if I do this command.
For example, if I do kill -STOP on a process 999 which is taking 20 GB out of 32 GB ...
0
votes
0
answers
135
views
how to kill process passwd from a second terminal. Root process cannot be killed?
I have my one terminal running the passwd command, without entering new password.
then with a second terminal I need to kill the process passwd, however as it is a root process I don't know how to ...
1
vote
2
answers
5k
views
Process id is constantly changing, and it can't be killed with name
I'm working with Ubuntu 16 through SSH, and facing an issue with it. I want to kill the process but can't find a way because it keeps changing the PID every time.
I'm using this command to check the ...
1
vote
2
answers
7k
views
Killed bash process keep restarting
The server has a running bash process with 2200% CPU usage:
$ ps aux | grep 10986
root 10986 2198 1.8 2483184 2437820 ? Ssl 13:23 962:25 -bash
The process has 22 -bash threads as shown in ...
0
votes
1
answer
780
views
closing processes using /home in order to move /home to new drive
I'm moving my /home from one drive to another new drive. I'm doing it from tty3 as root.
I've used sudo mv '/home' '/old_home' but it says device or resource busy.
I've tried to kill the process ...
0
votes
4
answers
1k
views
Find out what is starting processes by command
My machine keeps starting processes with command "java" (listed under "command" column in top), that proceed to eat up all my resources for a few seconds, then disapear, a few seconds later a new one ...
8
votes
3
answers
22k
views
How to delete logs automatically after a certain time and restart the process that fills up the log file?
Server is Ubuntu 16.04. I have a process running with nohup that logs into a local file. This file gets big enough to consume 100% disk space. To resolve this I have to kill the process first and then ...
1
vote
0
answers
128
views
Ubuntu Server requires service restart every few days
I'm new here and I hope you can help me out this time.
I have a MySQL server which receives many requests from my other servers...daily up to 1000 requests (HTTP and remote MySQL).
However, for some ...
0
votes
1
answer
2k
views
Send multiple kill signals to a process
Say I run a .sh process. And now I open a new terminal tab and I want to send signals to it, for that, I just use kill:
kill -*signal number* *pid*
right? But I want to send 13 signals at the same ...
1
vote
2
answers
461
views
How to abort Fight Flash Fraud (F3)?
I am using the commands f3write and f3probe and want to abort them. There is no consideration of this in the manual and Ctrl-C is not working. I can kill the process in task manager but I was ...
4
votes
2
answers
7k
views
How do I kill a Firefox process thrashing my computer? 18.04
In short: a Firefox process takes control of Ubuntu 18.04 LTS in my Acer TravelMate P, and it seems there's nothing I can do but to shutdown the computer. This is similar to https://superuser.com/...
0
votes
0
answers
2k
views
Unable to stop VIM with Kill, Htop, or anything else
I'm running Ubuntu Bionic. I installed SLiM display manager so my GUI uses tty2 and I ran vim to edit some C++ code in tty1. Suddenly, it froze completely. I tried to type things but nothing would ...
3
votes
1
answer
3k
views
Zombie process: sd_cicero, Ubuntu 16.04
When I followed the instructions in this question to find zombie processes, I found this process Z Jan02 0:00 [sd_cicero] <defunct>. When I try to find its parent process, I get this:
...
1
vote
1
answer
1k
views
Problems with deleting user
I have problems with deleting a user on my Ubuntu terminal.
I log in as root and type:
# deluser mn1
userdel: user mn1 is currently used by process 21106
/usr/sbin/deluser: `/usr/sbin/userdel mn1' ...
9
votes
3
answers
12k
views
How do I kill redshift?
I have installed redshift using apt-get.
I started it up in a terminal window, and then accidentally killed the terminal. Redshift did not stop running itself. My screen is most certainly still under ...
4
votes
3
answers
10k
views
How to force fully close tor browser
I am trying to close the Tor browser by killing the process using this command:
sudo kill pid
However, the Tor browser is not closing and it shows this pop up (see screenshot) with the following ...
0
votes
1
answer
498
views
How to make process "terminable" only by SIGHUP or SIGKILL?
I wrote a script that should kill stuck processes. At first, it tries the weakest SIGTERM, if it doesn't work, it tries SIGHUP, and if even that doesn't help, it'll do a SIGKILL. Now I want to try if ...
0
votes
0
answers
5k
views
Can't kill process and uninstall package
I had some problems: couldn't remove packages properly and eventually I did rm -rf to directories of Virtualbox.
Now I want to install Vitualbox again, but can't because system tells that virtualbox ...
3
votes
2
answers
10k
views
How to kill tabs without closing the tabs or killing the browser itself in chromium 58
In versions prior to 58, a killall chromium-browse[r] was sufficient to kill all tabs while leaving the browser chrome intact. How can this behavior be replicated for the new version of the browser?
...
1
vote
1
answer
5k
views
What can I do when Ubuntu is stuck?
I used to work with window in the past, and when Windows was stuck (cursor doesn't move or respond to clicks, for example), I could just clicked Ctrl+Alt+Delete, open the task manager and end the task ...
1
vote
1
answer
554
views
"bash" process does not die
A process with name (command) "bash" is taking about 100% CPU power. When I use the kill command to kill it I don't get any error messages but it nonetheless doesn't die. It doesn't belong to root. ...
0
votes
1
answer
2k
views
Can't kill processes of a user
One of the users of our server managed to hang his xRDP connection somehow. Now he can't connect any longer. Each time he tries to connect, he gets a blank black screen. I figured this is due to some ...
1
vote
1
answer
12k
views
Processes NetworkManager, wpa_supplicant, dhclient immediately respawn when I try to kill them [duplicate]
After I try to kill a process (speaking of NetworkManager, wpa_supplicant, dhclient) like this kill -9 PID (also tried -1 and -15), it reruns automatically...
How can I kill it and prevent it from ...
2
votes
2
answers
2k
views
Is it safe to kill the "gnome-system-monitor" process from inside the system monitor?
I know that this may sound like a stupid question, but for the sake of curiosity, would it be safe to kill the gnome-system-monitor process from inside the system monitor program?
I've asked this ...
0
votes
1
answer
5k
views
How to kill zombie process keeping its parent alive? [duplicate]
I am doing printing in .net core framework.
For printing every label, I start a process.
So for 100 labels, it creates 100 zombie process.
The zombie process gets removed from the process table, ...
3
votes
2
answers
3k
views
Kill all the other instances of a running process except the very first one
I am working on a project in which I need mplayer to run several instances in order to create voice-over-music real-time mixing from two files. So, the music is constantly playing at 90% volume (...
1
vote
2
answers
2k
views
Running script was killed
I was running a script on 30k images and suddenly it was killed. What could have caused this?
mona@pascal:~/computer_vision/deep_learning/darknet$ ./darknet coco test cfg/yolo-coco.cfg yolo-coco....
2
votes
0
answers
604
views
Ubuntu 16.04 /bin/kill bug?
I recently installed Ubuntu 16.04 on the virtual machine using VMware.
To test my MapReduce code, I also installed hadoop 2.7.3 and setup a single node cluster.
When I execute MapReduce algorithm, ...
4
votes
1
answer
3k
views
Failsafe process suddenly killed on Ubuntu 14.04.1 LTS
My database service is suddenly down and I am checking on /var/log/dmesg to see if there is information on the process that was killed.
What is the meaning of init: failsafe main process (761) killed ...
0
votes
1
answer
36
views
Process command Issue (PSBeginner Issue)
first of all sorry for this lame question ,after killing it is still runinng , i am a beginner ,
rohit@something:~$ ps
PID TTY TIME CMD
4596 pts/1 00:00:02 bash
4618 pts/1 00:00:...
0
votes
1
answer
295
views
What command is the most effective for listing processes? [closed]
I've seen lots of developers use ps -ef to list processes and kill them (such as in ENCOM, devs of OS-12).
However, there is also htop. A friend told me that it is only a wrapper around ps and ...
1
vote
1
answer
59
views
System almost halted by backgrounded `yes` command
I recently ran:
yes Pandas > WantBamboo &
Though I didn't mean to put the & at the end... Something important then came up and I had to leave my computer for a couple of minutes, when I ...
1
vote
1
answer
3k
views
Ubuntu: i can't kill some processes and Apache doesn't restart
I can't restart Apache: if I try to start it, the error is this:
(98)Address already in use:
AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
...
7
votes
1
answer
12k
views
How to kill a process in state "T" (Terminated)
this is a very specific question, I am sorry if there is a duplicate somewhere but I haven't been able to find it here or otherwise.
In a server I have a process in state T (Terminated). I know I ...
2
votes
1
answer
806
views
Safe to kill a PID
Process Ids are generated in such a way that they're unique and tend to either increment, wrapping at some point, or be randomly generated, as far as I can tell. It seems there's a small but real ...