Server :: How To Clear Uninterruptible Process?
May 20, 2010Is there any way to clear them without reboot.kill is not working because process are in D state.
View 1 RepliesIs there any way to clear them without reboot.kill is not working because process are in D state.
View 1 RepliesOften I get the following message when starting FireFox:
Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.At the same time CPU usage goes to 100%, load is extremely high and my PC is becoming unresponsive.I tried killing the process: Code: killall -9 firefox but without success.In the System Monitor I see that firefox is marked as "uninterruptible" process.
I have problems with a very slow workstation (even the mouse movement takes seconds....). Analyzing the processes, I found out that raid related processes are the reason. I have 4 HD, 2 pairs of raid 1. One set of HD covers md0-md3 and one set of HD covers md4-md6. ( run an updated CentOs 5.5 ws) I see that "md0_raid1" process is changing from status "sleeping" to "uninterruptible" about every 4 seconds. I changed one HD in this raid 1 set (which covers md0, md1, md2 and md3). When I only had one HD in this raid 1, there were no such processes (of course there was nothing to mirror to ....)
During the exchanging of one of the HD in this raid 1 set (md0-md3) (which I thought was the bad one)), I removed (by mistake) one HD from the other raid pair (md4-md6), which I now am rebuilding, using the mdadm add command. Checking the process list, they show indeed up as "md5resync" in the process list. Same for md4 and md6. This seems OK. But why do I have these continously recurring "md0_raid1" process in my list, listed as "uninterruptible" ?? What is happeing? When I check with mdadm --detail /dev/md0:
[Code]....
I have been working on this for a few hours now and still haven't been able to track down whats going on. I just switched servers and put a fresh debian install on with apache2 + custom suexec + php5(fcgi). now when i upload a file to the site it wont upload, so i tracked down the issue. its the /tmp directory that root tmp. its at 100% so i restart the /etc/init.d/apache2 process and the /tmp directory is automagically cleared to 20% used and i can upload again. so i figure ok its got to be a setting. i looked in all the conf files conf.d the php5 conf files and no where do i have a /tmp directory set. so i think OK I can build a cron to clear the tmp directory every 10 mins till i find the issue, but alas, when i go into the tmp directory There are NO files to delete!!! wtf. holy crap. and all that goodness, this is crazy, how can you have a tmp directory that is not being written to, from all i can see, so i think ok it might be a hard link, i checked, in all root and sub root directories no hard links to tmp, no soft links to temp either. and if i sit in my /tmp directory and do a df -h after some uploads its going from 20% so 23% and up, but i do ls -alh and nothing, then ls -al and watch bytes, nothing , so this is very strange. has anyone encountered something like this? is it possible that this is a hard link thats hidden somewhere or some other extreme function i have never heard of?
View 8 Replies View RelatedI'm having where processes (firefox and npviewer seem to be major culprits) just lock up taking excessive (i.e. 100% of the CPU) and state' 'uninterruptible' in the system monitor. This carries through to all my other processes (windows) and makes them unresponsive. What's worse, is when the system gets in this state, even the system monitor itself becomes 'gray' and unresponsive. Often 30 seconds later, I can get a 2 second window with which to access my system monitor (it becomes colored again) before going gray again. During that small window, I might be able to kill the offending processes.
Problem is, the system does this literally all the time. Like when I have firefox open with perhaps 4 tabs, that's all it takes to cause everything to begin locking up -- and at times, that might be the only application open that causes this system lock up. Other things that seem to trigger this is if firefox is running and the system update opens up. I am simply finding Ubuntu to just not be reliable enough, and as much as I hate the idea of switching back to windows, if I can't find a solution (that has been plaguing me for months) I don't see any other choice. Sadly, I find very little information on a solution to this problem, but, searching through the forums and on google, I can see that I am not alone.
i've had my dedicated server for about 16 months now and my log files are huge and I host a few small sites but one of them is quite large and can get a log file (access.log and error.log) of 1-2gb a month so over a year can take up almost 30gb just for that site so I clean them out regularly but I'm wanting a more automated way to do thisi've been thinking of using the find command using something like this but it isn't workingCode:find /var/www -name "*.log" -type f -size +10M -exec echo > {} /;
View 13 Replies View RelatedMy var partition is full. The main culprit is NOW the mail file. What is the command to empty the mail files?The mqueue and clientmqueue files are now low on usage but the mail file is responsible for filling up the var partition.
View 1 Replies View RelatedI have a dedicated server and I am having email issues etc (seemingly) because the /var directory is 97% full
I would like to know if it is safe to clear it and how to clear it (assuming it will not disrupt/kill server services to do so).
I have a 'Matrix' control panel so i can view the storage etc but it does not have an way of clearing the /Var directory.
I have Putty Access to root but do not know much about command line access.
I found a few threads but the information is not clear to me as there seems to be an assumption of (basic?) knowledge I don't yet have.
My linux support guru that usually does this kind of thing for me is away and not contactable and my server is grinding to a halt and unable to store/send email.
I have only a very basic understanding of command line but really need to get this sorted ASAP.
Is it possible and SAFE to delete files via FTP from the /var/cache/apt/archives?
I have an Ubuntu server running with lighttpd.
The file, access.log has utilized 73GB at: logs/lighttpd/, which contains data since 3 to 4 years (approx.)
So, i need to have only last 6 months logs in the file and the rest to be cleared.
is there any way to scheduled cache clear auomatically instead of manual in squid.
View 1 Replies View Relatedlet me know how to clear cache memory ( RHEL 5.1 ) as it consumes almost 100% physical memory.
View 3 Replies View RelatedAny one have an idea How to clear apache cache without restarting apache server.
View 5 Replies View RelatedIs it possible to like have SMS sent to your cellphone when the server crashes or a process on the server dies?
View 4 Replies View RelatedI've some file with .sh extensions that runs some softwares.Now,how do I stop running that filesI know we run the command ./start_tomcat.sh to start the apache.Is there any command to stop that file/process or is it just kill the process to stop the process
View 2 Replies View RelatedHow to find how many cpu's a particular process uses.
My weblogic process is running on Linux.There are 8 cpu processors.I need to find which are the processors the weblogic process is using
I am running an Lamp ubuntu 9.10 server and are all these processes supposed to be running?
Memory:
1829 www-data 209080 kB /usr/sbin/apache2 -k start
2052 www-data 207560 kB /usr/sbin/apache2 -k start
[code]....
I`m looking for solution. Is it possible to run process on 1 core in UNIX ? From time to time I must start some very CPU consuming process and unfortunately this process is running on all cores... so at this time working on PC is very hard.
View 3 Replies View RelatedOn server (no GUI) how can I find the state (running, sleeping, zombie) of a given process, by giving a process name or PID?
View 3 Replies View RelatedIs there a way to show or count how many CPU instructions a particular process is using or uses?
In my work we develop a web application and I'm responsible of maintaining the web server.
The app lets you handle data online so each client that uses the web application has a folder associated to it, where his data is stored. (/var/www/html/test) for example.
The idea is to get how many CPU instructions the httpd process for that particular folder is having. Is there a way to do this?
how to check which process consuming a lot of HDD I/O ? Do You know any good command which can show me which process saving something big on the storage system ? "iostat" or maybe "ps" ? Would be great if somebody could past me here nice command.
View 3 Replies View RelatedHow can i find a the process that crashed my linux system,
I only have the below information available.
from /var/log/messages
Mar 1 21:14:31 localhost kernel: fown: signal 29, pid 1211
Mar 1 22:00:17 localhost kernel: fown: signal 29, pid 1211
Mar 1 22:07:52 localhost kernel: fown: signal 29, pid 1211
[Code]....
Also I don't have kdump enabled.
I am assuming that this is due to overloading of the server.
This server runs an Oracle Database..
is it possible in bash to run one command in background and after it's done show output with less? While background process is running I should be able enter another commands.What I have is this (sleep is only for simulation):
Code:
{({ ( tree / > tree.txt && sleep 2) & } && wait && less tree.txt) &} && wait fg &
Problem is that I don't know and I can't find how to move it to the foreground after completion.
My requirement is nearly transferring 50GB files from remote server to local server via SCP command,while transferring the data its break-en because of some reasons in 35% itself. is it possible to resume the transfer process again from this 35% process.
View 3 Replies View RelatedWe have an internal application which takes below 10% cpu usage normally. However sometimes it hit above 85% or more (and stays there) causing the server to become very slow. Currently we have to monitor this manually, kill the process and manually start it.
command / script that will kill the process (using pid will be the best option as i think) when it reaches 85% or higher
(I saw another question that suggested to use monit but I have to get this done using the standard commands available in the current installation - RHEL5)
I use linux and Unix and I want to monitor the memory usage for process. To prevent memory leakage and out of memory of the system. Any command or sytnax , have more better and presentable data than below command about memory usage of one process ?
View 3 Replies View RelatedI want to access the process control block to retrieve a process' pid and priority. Any code or the steps to do it.
View 9 Replies View RelatedI am using qmail in my office. I am noticing this for more than a month. It is my daily routine to check the cpu utilization using top command and by using top different processes can be viewed. the apache process after 1 or 2 days shows cpu utilization of 100%. There is no affect on the server whatsoever of 100% because mail server has 2 processors of 4 core, i think so that may be the reason. Can any one explain why is this happening. What i do after that is i restart the httpd process and cpu utilization comes to normal. What are the reasons behind this and how to solve this permanently.
View 1 Replies View Relatedit seemed like the most accurate place. Also apologies for any inaccurate terminology, I'm a bit new at this. Running Apache2 on top of Debian 5.0
Anyway, I have irssi set to output logs to a folder accessible by my web server. User permissions are all set up, so it writes to the folder just fine, but when I access the server index in a web browser (i.e., page that says "index of /[directory] at the top) I cannot see the the directory or the logs that irssi is making. I can ssh in and see the folders and files in the terminal, so they are being created. How can I set it so these are viewable through the web server? I tried restarting the server, no effect.
I'm trying to reboot the server (shutdown -r now).But it seems like nothing happened.
When I try "shutdown -c", the system prompts "shutdown: cannot find pid of running shutdown."
one tell me the internal working of kill command. that is how it kills a process internally or from where it picks file to continue its process.
View 3 Replies View Related