Software :: Freeing I/O Resource Held By Zombie Process?
Feb 21, 2010
I'm writting a program that uses a USB webcam. Sometimes the program crashes and exits, but sometimes it crashes and becomes a zombie process, which I can't kill even with -9/-KILL signal. When that happens, all access to th USB webcam is totally interrupted and all attempts to communicate with it fail.I'm looking for a way to either force this process to terminate or to at least make it release the webcam so I can use it again. So far, the only way I've found to regain control of the camera is to reboot
View 2 Replies
ADVERTISEMENT
May 4, 2010
How do you find the parent process of zombie processes?
When the child process is something where the parent is not entirely obvious...
Is there some way to list processes in tree format or something?
View 3 Replies
View Related
Feb 2, 2016
Sometimes (rarely) when I try to open VLC it wont open, but it stays in the background and takes 98-100% of one core.
The problem is that I can't kill that vlc-process.
Code: Select allkillall vlc
will NOT kill it
and
Code: Select allkill 31641
won't work either
top shows
Code: Select allPID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
31641 xxxxxxxx 20 0 1320248 64384 39120 S 100.0 1.6 44:51.94 vlc
Is there any way to kill the vlc-process (without booting the machine)? I also tried the "killall vlc" and "kill 31641" as root with the same results.
I have Debian jessie and the only "nonofficial" repositories I have enabled are
#google chrome
http://dl.google.com/linux/chrome/deb stable main
#Backports
deb http://httpredir.debian.org/debian jessie-backports main
And from those I have installed only chrome, and wine-development, and I dont think those could have anything to do with this problem.
Booting the machine does work, but I don't want to boot my machine just now. This happens about once per week
View 4 Replies
View Related
Oct 15, 2010
I have a zombie running on my computer(Ubuntu 10.10) and although I have tried killing it using the processes PID number it won't die.
Tasks: 137 total, 4 running, 132 sleeping, 0 stopped, 1 zombie
Cpu(s): 49.7%us, 50.3%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1016076k total, 938688k used, 77388k free, 25896k buffers
Swap: 3069948k total, 23140k used, 3046808k free, 584956k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1733 stephani 20 0 0 0 0 Z 46.7 0.0 52:34.34 transmiss <defunct>
Transmission has being running for almost 60 minutes and is consuming a very large amount of the CPU.
View 8 Replies
View Related
Apr 7, 2010
I got indication of zombie process via top command
Code:
Tasks: 321 total, 1 running, 319 sleeping, 0 stopped, 1 zombie
I don't have 'Z' indication on 'Status' column
How could it possible to identify this process ?
View 5 Replies
View Related
Mar 10, 2010
i am bit confused about the two process that is zombie and orphan procees,both is different so what is the exact difference between the two process that makes it different and if there is no parent process then init adopts the children in both the case.
View 5 Replies
View Related
Aug 7, 2010
I have a process that I cannot kill with kill -9 how to go about this?
[Code]...
It is an openvpn process but I cannot retsrat the service as I alreday have another openvpn service running on the server so when I do openvpn service restart, it won;t know which service to restart.
View 3 Replies
View Related
May 27, 2010
Slack is 32bit. Frequently, firefox becomes unresponsive. I can close the window, but the process is not terminated. I am not able to restart firefox without rebooting.
When this problems occurs the firefox processes are not terminated by the 'kill' command. Example
Code:
tim@bart:/home/http/run/baker/cron$ ps aux | grep firefox
tim 3780 0.0 0.0 3356 1640 ? S 15:59 0:00 /bin/sh /usr/bin/firefox
tim 3792 0.0 0.0 3404 1696 ? S 15:59 0:00 /bin/sh /usr/lib/firefox-3.5.2/run-mozilla.sh /usr/lib/firefox-3.5.2/firefox-bin
tim 3796 0.3 3.2 316560 95712 ? Sl 15:59 0:21 /usr/lib/firefox-3.5.2/firefox-bin
[Code]....
View 9 Replies
View Related
Jun 14, 2010
There are around 173 zombie process on my client's server, my question is whether zombie process on the server will make server's load unstable like it goes to 20-26 suddenly and comes down and goes high suddenly,will zombie process consume system's resource?..
View 8 Replies
View Related
Mar 2, 2009
Is there a way of throttling a process resources, something akin to limits but for processes not users?ie I want processX to be restricted in the amount of memory it can consume. For process cpu I guess I can simply nice the process, but total memory consumption is my primary concern.
View 1 Replies
View Related
Jun 26, 2010
I want to change the resource limits for a specific processOr to create a new process and give it limits as I want, There is a function setrlimit, Which is possible to change it but for a programmatic I want to apply it to another Process, The problem is that this function does not receive process ID for example. I read in most books on the subject of The Linux system programming
View 1 Replies
View Related
May 27, 2010
How to assign CPU and memory resource to a certain process? How to assign CPU and memory resource to a certain user?Let's assume the software is no limit for resource usage.Below is a description of my situation.dual 6 core, 32G memory, RHEL5.5 client with workstation option.I run a big computation (say process1). However, I found from KDE system guard the CPU and memory are not loaded as expected. below are numbers. user% system%process1 100 0.00and CPU idle 90%, memory free 97%
View 3 Replies
View Related
Sep 29, 2009
Had this problem in a few different instances where a process was creating a set of files in directory and using those files.
Some one just happened to go to the dir and deleted those files without stopping the process. The result being that as the process is still telling the machine that the disk usage is still what it initially was (df -h shows the old disk usage) , where as a du -h or a ls -lh on that same dir show that the files are not there.
Once this happened with mysql where the user delete the database dir in /var/database_name in the mysql home dir. The result being that the dusk usage was still showing as the old one even if the files were missing. This was resolved by restarting the mysql server.
Similar thing happened with some other processes where on restarting the problem was resolved..
My question being is there a method to solve this problem by whithout restarting the concerned process.. Some magical command like free disk or recheck dis usage :-) .. may be too much to ask but can some one help me out here.
View 1 Replies
View Related
Sep 15, 2010
I used ecryptfs on a Private directory. It has about 5GB of data, but no matter what I do I can't free space in there. I have tried to delete some GBs to no avail. System monitor still shows me 5GB.
View 3 Replies
View Related
Sep 10, 2010
I have a laptop with an original linux Suse Enterprise 11 OS, and a Windows 7 installed after, I'm a beginner in Linux and actually I need some disk space, so I gonna free the linux one, so two partitions should be wiped, the ext and the swap, and that will provide enough space for my purpose, my questions is the follow: I'll be using Gparted to format, does not this make any issue or conflict with windows 7? I have a partition of the Suse System Recovery (to conserve of course), if I have formatted the partition where the Suse was installed, are there any risk to lose (crush) other partitions? If I want to install (recover) my Suse after freeing spaces (two disks) using my System Recovery CD, (again ^^) are there any risk to lose (crush) other partitions?
View 6 Replies
View Related
Oct 25, 2010
I have connected an another hard disk to my computer and mounted its drives. when I delete the files from second hard disk it is not increasing the free space. only 1.3 GB is left on that drive of second hard disk.
View 5 Replies
View Related
Jun 1, 2011
I know that seems to be a common question, but information from the web does not So problem is in the title.
Here is what I do:
First I declare the pointers.
Code:
double **rijx,**rijy,**rijz;
Then I allocate the require memory.
[Code]...
View 2 Replies
View Related
Feb 16, 2011
A question of ODBC correctness - maybe someone knows.
Code:
// statement handle is sth, connection handle is dbch
SQLExecDirect(sth, ...);
// ... bind var, fetch results ...
SQLFreeHandle(SQL_HANDLE_STMT, sth); // free statement handle
SQLEndTran(SQLHANDLE_DBC, dbch, SQL_COMMIT);
(error checking removed for clarity).
To my mind this seems wrong - surely the statement handle should be free'd only after the commit is done? Or maybe not. I theorize about the ODBC library like this: a whole set of statements can be created, run, executed in one transaction (which is held at the connection level), and only after all that is a commit/rollback done. So maybe it's OK. Even so it still feels weird. What is written above works, but there are rare and very difficult to replicate problems with this code, and I wonder if a premature free might be the cause...?
View 2 Replies
View Related
Mar 30, 2015
Since I upgraded Gnash: viewtopic.php?f=30&t=115357 I can't upgrade anything. At least I think that's when it started.
In Aptitude, I have 176 "packages being automatically held in their current state", and 47 "packages being held back". When I updated the package list, there was a dozen or so lines that were yellow instead of green, but it ran too fast for me to read. I doubt that is important, but I try to give as much info as possible.
I'm running Debian Wheezy, 7.1.
View 8 Replies
View Related
Jan 7, 2010
Why when I do an apt-get upgrade I get held back packages? This time it was linux-generic, linux-headers-generic, linux-image-generic.
View 1 Replies
View Related
Dec 10, 2010
Sometimes I find a process named 'sh' running under my username with the status 'zombie' waiting channel 'do_exit' on my system. Its ID increments by 4 every time System Monitor updates its display.
Today, it was there immediately after booting The only thing I did after logging in is start the System Monitor
I can't kill it since its ID changes too fast.
I don't know how it gets started, but it bothers me since it is behavior I would expect from something that is trying to hide.
If I hover over its name, the tool tip contains 'sh'
View 3 Replies
View Related
Dec 3, 2010
I have my code with my fork in a server and each time a client connects one more process is created. i use this code for the handling of zombies
void sig_chld(int signo){//Diadikasia gia tin diagrafi twn 'zombies'
signal( SIGCHLD, sig_chld );//signal gia ton entopismo tou zombie
pid_t pid;
[code]....
but i need the server to kill each zombie after the client is disconnecting and not to have to press ctrl+c
View 1 Replies
View Related
Mar 3, 2015
Running Debian Stable AMD-64
Attempting to install valgrind from Synaptic Package Manager, I get a set of error messages: Packages held back? Broken? etc.
apt-get update; apt-get upgrade report 0 packages held back.
Synaptic Package Manager, clicking on "broken" lists no broken packages.
View 14 Replies
View Related
Nov 30, 2010
Is there a way to report the contents of the file cache held on RAM?
View 1 Replies
View Related
Jan 29, 2010
On my 8.04 server installation, I've been getting this message from apt-get upgrade for a few weeks:
Code:
I thought this would be fixed with the 8.04.4 release yesterday, but alas, it was not so.
It's bugging me a bit that there are packages that need to be upgraded, but it's not doing it.
View 5 Replies
View Related
May 16, 2010
I recently upgraded to 10.04 (clean install) and when I run apt-get upgrade, I get:
Code:
The following packages have been kept back: linux-headers-server linux-image-server linux-server
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. why these updates have been held back?
View 1 Replies
View Related
Oct 13, 2010
I resarted it and put in the disc and held the option/alt key. It came up with the options Macintosh HD then a few seconds later it had a CD images and said "Windows" i laughed then went to it It started with a black screen the said ISO linux then a name and went to a flashing under score thing then the white flashing underscore disapeared... Then it was just a black screen. I waited for mabye 2 or 3 minutes then held my power button and shut down and tried agian same thing happend but this time after the underscore my computer just shutdown. Im trying to RUN (not install....yet) on my macbook from a CD-r CD...in disc utility it said it burn successfully.
View 4 Replies
View Related
Apr 15, 2010
For the past week or so every time I've tried to launch Firefox it would freeze within a few seconds and the process 'firefox-bin' would go Zombie. I would force quit FF and then try and reboot the machine. Then I would get an error before restarting informing me that 'firefox-bin' is nonresponsive and it gives me the options to cancel or reboot anyway.
I'm not entirely sure what's causing this, however I have an inkling suspicion that it's being caused by Netvibes and/or Google Voice, which doesn't make sense because I've been using both services for quite some time now and this is the first time I've encountered any problems.
Has anyone out there encountered somethingt similar? Update: I've been browsing for about ten minutes now without launching google voice or netvibes and I haven't had any issue yet, so I'm pretty sure those two are causing the problems. But why?
Update2: There's a chance that I could be wrong, but I do know that GV and Netvibes are causing the crash as well as a whole slew of other random websites. I was browsing a website earlier (can't remember the name of it anymore) That also caused my browser to freeze.
To the best of my knowledge I haven't done anything different since this issue started, all I know is that I can no longer safely and conveniently brows the web on this laptop anymore.
View 8 Replies
View Related
Feb 1, 2010
these are the functions I am using for creating threads..
#include "mythread.h"
/** Global Data **/
tcbList_t *readyList = NULL; /* Ready list */
tcb_t *runningTCB; /* Currently running thread */
tcb_t mainTCB; /* Starting threads's TCB */
[code]....
The function endThread() currently simply ends the entire program, not just the terminating thread. I need to modify the function endThread() so that it will place the terminating thread on the zombie list and switch to the next ready thread if the ready list is not empty. If the ready list is empty then endThread() should switch back to the main thread (the state of the main thread was saved in "mainTCB" by initiate())... and, in createThread() space is malloc'd for the thread's TCB and stack. This space should be freed...
View 1 Replies
View Related
Jan 30, 2016
I was using Synaptic to remove unwanted sound & audio programs...it seemed to take out other files that were non-related ?
(1) Now apt-get complains about a "Held Package" and doesn't tell me the pkg name.
(2) Synaptic is broken...error..E: The value 'stable-updates' is invalid for APT::Default-Release as such a release is not available in the sources
E: _cache->open() failed, please report.
stable-updates isn't even in my sources list. I've purged synaptic, and re-installed but remains broken. When you close error msg synaptic disappears ? Therefore can't use synaptic at all.
(3) apt-get says many packages that were available are no longer available...like one of the main repos has disappeared ?
(4) I put the same repos that are working for my brother who is running Debian Jessie also, but didn't improve the number of missing available packages.
deb [URL] ....
deb [URL] ....
How or why things have gone so wrong from just removing unwanted sound pkgs.
To recap problems...apt-get held pkg....broken synaptic....unavailable pkgs.
View 4 Replies
View Related