Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Show the rest of the top output ie include the process table.
You may find this useful http://slack-linux.blogspot.com.au/2...ate-codes.html
You can use it to figure out what is going on; don't just start killing procs, you'll damage your system/data.
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Rep:
Well, this would be a good time for a reboot... and a good time to take a hard look at the processes you're staring up (if they're "home-brew" anyway). For example, top looks like this with only me doing anything right now:
(and I need to go find that zomibe and get it dealt with ... OK found it, it's hp-update, deal with it later).
The top column you're interested in is the one labeled S (Process Status); the status can be one of
'D' = uninterruptible sleep
'R' = running
'S' = sleeping
'T' = traced or stopped
'Z' = zombie
Note that the first column in a top display is PID; you can use that PID with ps -ef | grep PID (where "PID" is the PID number).
There's a number of ways you can get zombies (a child process that hasn't died when the parent exits for one). Google for "linux zombie process" for a lot of reference material. You can use the ps and grep utilities to find them; e.g.,
shows me the zombie sitting on my system (you're going to see a lot more).
That's why the "home built" remark earlier -- if you've got software that uses "fork and exec" to launch a child process you need to take a look at making sure that when the parent dies that the child dies too. There are processes where the parent on purpose launches a child then dies without killing the child (that's what daemons do) and you need to look at those and make sure that there is some sort of error trap in the child that will cause it to die in a daemon.
On the other hand, if you're running third party applications, you may need to look into those as well (you should not have zombies at all and you should not have anywhere near that number of stopped processes). Those stopped processes may be waiting for some unavailable resource and that will take some looking.
Might be a good idea to reboot (which will clear out all that stuff) and review what daemons you're starting, what applications are starting, what users are doing (like leaving an application running when they leave for the day and not logging out). You know, reboot it and keep an eye on things, can't hurt, might help.
T T 392 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 494 1 /usr/sbin/
T T 498 1 /usr/local/apache/bin/httpd -DSSL
? ssstt
T T 620 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 952 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 1165 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 1806 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 2032 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 2370 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 2582 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 2799 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 2801 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 2911 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 3027 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 3028 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 3138 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 3253 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 3360 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 3473 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 3699 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 3749 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 4030 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 4139 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 4471 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 4708 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 4709 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 4926 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 5098 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 5142 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 5143 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 5145 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 5146 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 5147 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 5148 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
T T 5366 1 /usr/bin/php-cgi -c /var/www/vhosts/iucea.org/etc/php.ini
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.