LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 06-14-2013, 04:15 AM   #1
nudenurd
LQ Newbie
 
Registered: Jun 2005
Posts: 14

Rep: Reputation: 0
Too many processes


I'm not a newbie but this is definitely a newbie question...

Quite simply, I have a host that has too many processes on it. Normally I'd just cull unnecessary stuff but the crux of it appears to be kernel related. Here's a list:

Code:
[root@cbcvm ~]# ps faux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         2  0.0  0.0      0     0 ?        S    May22   0:01 [kthreadd]
root         3  0.0  0.0      0     0 ?        S    May22   0:49  \_ [migration/0]
root         4  0.8  0.0      0     0 ?        S    May22 272:51  \_ [ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S    May22   0:00  \_ [migration/0]
root         6  0.0  0.0      0     0 ?        S    May22   0:02  \_ [watchdog/0]
root         7  0.0  0.0      0     0 ?        S    May22   1:54  \_ [migration/1]
root         8  0.0  0.0      0     0 ?        S    May22   0:00  \_ [migration/1]
root         9  0.0  0.0      0     0 ?        S    May22   7:08  \_ [ksoftirqd/1]
root        10  0.0  0.0      0     0 ?        S    May22   0:02  \_ [watchdog/1]
root        11  0.0  0.0      0     0 ?        S    May22   1:30  \_ [migration/2]
root        12  0.0  0.0      0     0 ?        S    May22   0:00  \_ [migration/2]
root        13  0.0  0.0      0     0 ?        S    May22   6:07  \_ [ksoftirqd/2]
root        14  0.0  0.0      0     0 ?        S    May22   0:06  \_ [watchdog/2]
root        15  0.0  0.0      0     0 ?        S    May22   1:16  \_ [migration/3]
root        16  0.0  0.0      0     0 ?        S    May22   0:00  \_ [migration/3]
root        17  0.0  0.0      0     0 ?        S    May22   4:58  \_ [ksoftirqd/3]
root        18  0.0  0.0      0     0 ?        S    May22   0:07  \_ [watchdog/3]
root        19  0.0  0.0      0     0 ?        S    May22   3:09  \_ [migration/4]
root        20  0.0  0.0      0     0 ?        S    May22   0:00  \_ [migration/4]
root        21  0.3  0.0      0     0 ?        S    May22 126:54  \_ [ksoftirqd/4]
root        22  0.0  0.0      0     0 ?        S    May22   0:06  \_ [watchdog/4]
root        23  0.0  0.0      0     0 ?        S    May22   0:53  \_ [migration/5]
root        24  0.0  0.0      0     0 ?        S    May22   0:00  \_ [migration/5]
root        25  0.0  0.0      0     0 ?        S    May22   4:49  \_ [ksoftirqd/5]
root        26  0.0  0.0      0     0 ?        S    May22   0:01  \_ [watchdog/5]
root        27  0.0  0.0      0     0 ?        S    May22   0:39  \_ [migration/6]
root        28  0.0  0.0      0     0 ?        S    May22   0:00  \_ [migration/6]
root        29  0.0  0.0      0     0 ?        S    May22   4:24  \_ [ksoftirqd/6]
root        30  0.0  0.0      0     0 ?        S    May22   0:03  \_ [watchdog/6]
root        31  0.0  0.0      0     0 ?        S    May22   0:40  \_ [migration/7]
root        32  0.0  0.0      0     0 ?        S    May22   0:00  \_ [migration/7]
root        33  0.0  0.0      0     0 ?        S    May22   3:39  \_ [ksoftirqd/7]
root        34  0.0  0.0      0     0 ?        S    May22   0:06  \_ [watchdog/7]
root        35  0.0  0.0      0     0 ?        S    May22   1:08  \_ [events/0]
root        36  0.0  0.0      0     0 ?        S    May22   0:56  \_ [events/1]
root        37  0.0  0.0      0     0 ?        S    May22   0:58  \_ [events/2]
root        38  0.0  0.0      0     0 ?        S    May22   1:02  \_ [events/3]
root        39  0.0  0.0      0     0 ?        S    May22   0:55  \_ [events/4]
root        40  0.0  0.0      0     0 ?        S    May22   1:09  \_ [events/5]
root        41  0.0  0.0      0     0 ?        S    May22   1:25  \_ [events/6]
root        42  0.0  0.0      0     0 ?        S    May22   1:55  \_ [events/7]
root        43  0.0  0.0      0     0 ?        S    May22   0:00  \_ [cgroup]
root        44  0.0  0.0      0     0 ?        S    May22   0:00  \_ [khelper]
root        45  0.0  0.0      0     0 ?        S    May22   0:00  \_ [netns]
root        46  0.0  0.0      0     0 ?        S    May22   0:00  \_ [async/mgr]
root        47  0.0  0.0      0     0 ?        S    May22   0:00  \_ [pm]
root        48  0.0  0.0      0     0 ?        S    May22   0:04  \_ [sync_supers]
root        49  0.0  0.0      0     0 ?        S    May22   1:04  \_ [bdi-default]
root        50  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kintegrityd/0]
root        51  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kintegrityd/1]
root        52  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kintegrityd/2]
root        53  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kintegrityd/3]
root        54  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kintegrityd/4]
root        55  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kintegrityd/5]
root        56  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kintegrityd/6]
root        57  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kintegrityd/7]
root        58  0.2  0.0      0     0 ?        S    May22  78:38  \_ [kblockd/0]
root        59  0.0  0.0      0     0 ?        S    May22   0:16  \_ [kblockd/1]
root        60  0.0  0.0      0     0 ?        S    May22   0:08  \_ [kblockd/2]
root        61  0.0  0.0      0     0 ?        S    May22   0:06  \_ [kblockd/3]
root        62  0.0  0.0      0     0 ?        S    May22   0:37  \_ [kblockd/4]
root        63  0.0  0.0      0     0 ?        S    May22   0:04  \_ [kblockd/5]
root        64  0.0  0.0      0     0 ?        S    May22   0:03  \_ [kblockd/6]
root        65  0.0  0.0      0     0 ?        S    May22   0:03  \_ [kblockd/7]
root        66  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kacpid]
root        67  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kacpi_notify]
root        68  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kacpi_hotplug]
root        69  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ata/0]
root        70  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ata/1]
root        71  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ata/2]
root        72  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ata/3]
root        73  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ata/4]
root        74  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ata/5]
root        75  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ata/6]
root        76  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ata/7]
root        77  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ata_aux]
root        78  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ksuspend_usbd]
root        79  0.0  0.0      0     0 ?        S    May22   0:00  \_ [khubd]
root        80  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kseriod]
root        81  0.0  0.0      0     0 ?        S    May22   0:00  \_ [md/0]
root        82  0.0  0.0      0     0 ?        S    May22   0:00  \_ [md/1]
root        83  0.0  0.0      0     0 ?        S    May22   0:00  \_ [md/2]
root        84  0.0  0.0      0     0 ?        S    May22   0:00  \_ [md/3]
root        85  0.0  0.0      0     0 ?        S    May22   0:00  \_ [md/4]
root        86  0.0  0.0      0     0 ?        S    May22   0:00  \_ [md/5]
root        87  0.0  0.0      0     0 ?        S    May22   0:00  \_ [md/6]
root        88  0.0  0.0      0     0 ?        S    May22   0:00  \_ [md/7]
root        89  0.0  0.0      0     0 ?        S    May22   0:00  \_ [md_misc/0]
root        90  0.0  0.0      0     0 ?        S    May22   0:00  \_ [md_misc/1]
root        91  0.0  0.0      0     0 ?        S    May22   0:00  \_ [md_misc/2]
root        92  0.0  0.0      0     0 ?        S    May22   0:00  \_ [md_misc/3]
root        93  0.0  0.0      0     0 ?        S    May22   0:00  \_ [md_misc/4]
root        94  0.0  0.0      0     0 ?        S    May22   0:00  \_ [md_misc/5]
root        95  0.0  0.0      0     0 ?        S    May22   0:00  \_ [md_misc/6]
root        96  0.0  0.0      0     0 ?        S    May22   0:00  \_ [md_misc/7]
root        97  0.0  0.0      0     0 ?        S    May22   0:00  \_ [khungtaskd]
root        98 41.6  0.0      0     0 ?        S    May22 13870:19  \_ [kswapd0]
root        99 14.1  0.0      0     0 ?        RN   May22 4718:54  \_ [ksmd]
root       100  0.0  0.0      0     0 ?        SN   May22   1:16  \_ [khugepaged]
root       101  0.0  0.0      0     0 ?        S    May22   0:00  \_ [aio/0]
root       102  0.0  0.0      0     0 ?        S    May22   0:00  \_ [aio/1]
root       103  0.0  0.0      0     0 ?        S    May22   0:00  \_ [aio/2]
root       104  0.0  0.0      0     0 ?        S    May22   0:00  \_ [aio/3]
root       105  0.0  0.0      0     0 ?        S    May22   0:00  \_ [aio/4]
root       106  0.0  0.0      0     0 ?        S    May22   0:00  \_ [aio/5]
root       107  0.0  0.0      0     0 ?        S    May22   0:00  \_ [aio/6]
root       108  0.0  0.0      0     0 ?        S    May22   0:00  \_ [aio/7]
root       109  0.0  0.0      0     0 ?        S    May22   0:00  \_ [crypto/0]
root       110  0.0  0.0      0     0 ?        S    May22   0:00  \_ [crypto/1]
root       111  0.0  0.0      0     0 ?        S    May22   0:00  \_ [crypto/2]
root       112  0.0  0.0      0     0 ?        S    May22   0:00  \_ [crypto/3]
root       113  0.0  0.0      0     0 ?        S    May22   0:00  \_ [crypto/4]
root       114  0.0  0.0      0     0 ?        S    May22   0:00  \_ [crypto/5]
root       115  0.0  0.0      0     0 ?        S    May22   0:00  \_ [crypto/6]
root       116  0.0  0.0      0     0 ?        S    May22   0:00  \_ [crypto/7]
root       121  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kthrotld/0]
root       122  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kthrotld/1]
root       123  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kthrotld/2]
root       124  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kthrotld/3]
root       125  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kthrotld/4]
root       126  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kthrotld/5]
root       127  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kthrotld/6]
root       128  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kthrotld/7]
root       145  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kpsmoused]
root       146  0.0  0.0      0     0 ?        S    May22   0:00  \_ [usbhid_resumer]
root       177  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kstriped]
root       344  0.0  0.0      0     0 ?        S    May22   0:00  \_ [scsi_eh_0]
root       385  0.0  0.0      0     0 ?        S    May22   0:00  \_ [scsi_eh_1]
root       386  0.0  0.0      0     0 ?        S    May22   0:00  \_ [scsi_eh_2]
root       387  0.0  0.0      0     0 ?        S    May22   0:00  \_ [scsi_eh_3]
root       388  0.0  0.0      0     0 ?        S    May22   0:00  \_ [scsi_eh_4]
root       389  0.0  0.0      0     0 ?        S    May22   0:00  \_ [scsi_eh_5]
root       390  0.0  0.0      0     0 ?        S    May22   0:00  \_ [scsi_eh_6]
root       466  0.0  0.0      0     0 ?        S    May22   0:00  \_ [scsi_eh_7]
root       508  0.0  0.0      0     0 ?        S    May22   0:03  \_ [kdmflush]
root       510  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kdmflush]
root       529  0.0  0.0      0     0 ?        S    May22   1:16  \_ [jbd2/dm-0-8]
root       530  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root       531  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root       532  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root       533  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root       534  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root       535  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root       536  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root       537  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root       929  0.0  0.0      0     0 ?        S    May22   0:21  \_ [edac-poller]
root      1036  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kvm-irqfd-clean]
root      1051  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kdmflush]
root      1056  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kdmflush]
root      1058  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kdmflush]
root      1060  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kdmflush]
root      1061  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kdmflush]
root      1062  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ksnaphd]
root      1063  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kcopyd]
root      1070  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kdmflush]
root      1076  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kdmflush]
root      1080  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kdmflush]
root      1081  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kdmflush]
root      1086  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kdmflush]
root      1087  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ksnaphd]
root      1088  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kcopyd]
root      1094  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kdmflush]
root      1095  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kdmflush]
root      1096  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ksnaphd]
root      1097  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kcopyd]
root      1101  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kdmflush]
root      1102  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kdmflush]
root      1103  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ksnaphd]
root      1104  0.0  0.0      0     0 ?        S    May22   0:09  \_ [kcopyd]
root      1115  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kdmflush]
root      1117  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kdmflush]
root      1124  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kdmflush]
root      1125  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kdmflush]
root      1126  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ksnaphd]
root      1128  0.0  0.0      0     0 ?        S    May22   0:01  \_ [kcopyd]
root      1140  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kdmflush]
root      1189  0.0  0.0      0     0 ?        S    May22   0:00  \_ [jbd2/sda1-8]
root      1190  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root      1191  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root      1192  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root      1193  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root      1194  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root      1195  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root      1196  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root      1197  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root      1198  0.0  0.0      0     0 ?        S    May22   0:00  \_ [jbd2/dm-2-8]
root      1199  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root      1200  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root      1201  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root      1202  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root      1203  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root      1204  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root      1205  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root      1206  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root      1207  0.0  0.0      0     0 ?        S    May22   7:21  \_ [jbd2/sdb1-8]
root      1208  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root      1209  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root      1210  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root      1211  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root      1212  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root      1213  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root      1214  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root      1215  0.0  0.0      0     0 ?        S    May22   0:00  \_ [ext4-dio-unwrit]
root      1259  0.0  0.0      0     0 ?        S    May22   0:03  \_ [kauditd]
root      1474  0.0  0.0      0     0 ?        S    May22   0:41  \_ [flush-253:0]
root      1864  0.0  0.0      0     0 ?        S    May22   0:00  \_ [rpciod/0]
root      1865  0.0  0.0      0     0 ?        S    May22   0:00  \_ [rpciod/1]
root      1866  0.0  0.0      0     0 ?        S    May22   0:00  \_ [rpciod/2]
root      1867  0.0  0.0      0     0 ?        S    May22   0:00  \_ [rpciod/3]
root      1868  0.0  0.0      0     0 ?        S    May22   0:00  \_ [rpciod/4]
root      1869  0.0  0.0      0     0 ?        S    May22   0:00  \_ [rpciod/5]
root      1870  0.0  0.0      0     0 ?        S    May22   0:00  \_ [rpciod/6]
root      1871  0.0  0.0      0     0 ?        S    May22   0:00  \_ [rpciod/7]
root      2356  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kvm-pit-wq]
root      2357  0.0  0.0      0     0 ?        S    May22  12:33  \_ [vhost-2337]
root      2424  0.0  0.0      0     0 ?        S    May22   0:00  \_ [kvm-pit-wq]
root      2425  0.0  0.0      0     0 ?        S    May22   3:06  \_ [vhost-2417]
root      2978  0.0  0.0      0     0 ?        S    May22   0:00  \_ [lockd]
root      2979  0.0  0.0      0     0 ?        S    May22   0:00  \_ [nfsd4]
root      2980  0.0  0.0      0     0 ?        S    May22   0:00  \_ [nfsd4_callbacks]
root      2981  0.0  0.0      0     0 ?        S    May22   0:00  \_ [nfsd]
root      2982  0.0  0.0      0     0 ?        S    May22   0:00  \_ [nfsd]
root      2983  0.0  0.0      0     0 ?        S    May22   0:00  \_ [nfsd]
root      2984  0.0  0.0      0     0 ?        S    May22   0:00  \_ [nfsd]
root      2985  0.0  0.0      0     0 ?        S    May22   0:00  \_ [nfsd]
root      2986  0.0  0.0      0     0 ?        S    May22   0:00  \_ [nfsd]
root      2987  0.0  0.0      0     0 ?        S    May22   0:00  \_ [nfsd]
root      2988  0.0  0.0      0     0 ?        S    May22   0:00  \_ [nfsd]
root     16960  0.0  0.0      0     0 ?        S    May22   4:02  \_ [kvm-pit-wq]
root     29454  0.0  0.0      0     0 ?        S    May23   0:00  \_ [kdmflush]
root     29459  0.0  0.0      0     0 ?        S    May23   0:01  \_ [kdmflush]
root     29461  0.0  0.0      0     0 ?        S    May23   0:00  \_ [ksnaphd]
root     29462  0.0  0.0      0     0 ?        S    May23   0:09  \_ [kcopyd]
root      7144  0.0  0.0      0     0 ?        S<   May23   0:02  \_ [kslowd001]
root      7145  0.0  0.0      0     0 ?        S    May23   0:00  \_ [cifsiod]
root      7886  0.0  0.0      0     0 ?        S<   May23   0:00  \_ [kslowd008]
root      9148  0.0  0.0      0     0 ?        S    May23   0:00  \_ [scsi_eh_8]
root      9149  2.4  0.0      0     0 ?        S    May23 782:07  \_ [usb-storage]
root     13877  0.9  0.0      0     0 ?        S    May23 305:21  \_ [jbd2/sdc1-8]
root     13878  0.0  0.0      0     0 ?        S    May23   0:00  \_ [ext4-dio-unwrit]
root     13879  0.0  0.0      0     0 ?        S    May23   0:00  \_ [ext4-dio-unwrit]
root     13880  0.0  0.0      0     0 ?        S    May23   0:00  \_ [ext4-dio-unwrit]
root     13881  0.0  0.0      0     0 ?        S    May23   0:00  \_ [ext4-dio-unwrit]
root     13882  0.0  0.0      0     0 ?        S    May23   0:00  \_ [ext4-dio-unwrit]
root     13883  0.0  0.0      0     0 ?        S    May23   0:00  \_ [ext4-dio-unwrit]
root     13884  0.0  0.0      0     0 ?        S    May23   0:00  \_ [ext4-dio-unwrit]
root     13885  0.0  0.0      0     0 ?        S    May23   0:00  \_ [ext4-dio-unwrit]
root     18149  0.0  0.0      0     0 ?        S    May25   0:00  \_ [kdmflush]
root     18155  0.0  0.0      0     0 ?        S    May25   0:01  \_ [kdmflush]
root     18157  0.0  0.0      0     0 ?        S    May25   0:00  \_ [ksnaphd]
root     18159  0.0  0.0      0     0 ?        S    May25   0:10  \_ [kcopyd]
root      4628  0.0  0.0      0     0 ?        S    May27   0:00  \_ [kdmflush]
root      4634  0.0  0.0      0     0 ?        S    May27   0:01  \_ [kdmflush]
root      4636  0.0  0.0      0     0 ?        S    May27   0:00  \_ [ksnaphd]
root      4637  0.0  0.0      0     0 ?        S    May27   0:10  \_ [kcopyd]
root     24766  0.0  0.0      0     0 ?        S    May29   0:00  \_ [kdmflush]
root     24772  0.0  0.0      0     0 ?        S    May29   0:01  \_ [kdmflush]
root     24774  0.0  0.0      0     0 ?        S    May29   0:00  \_ [ksnaphd]
root     24775  0.0  0.0      0     0 ?        S    May29   0:09  \_ [kcopyd]
root     14010  0.0  0.0      0     0 ?        S    May31   0:00  \_ [kdmflush]
root     14016  0.0  0.0      0     0 ?        S    May31   0:01  \_ [kdmflush]
root     14018  0.0  0.0      0     0 ?        S    May31   0:00  \_ [ksnaphd]
root     14019  0.0  0.0      0     0 ?        S    May31   0:10  \_ [kcopyd]
root     10089  0.0  0.0      0     0 ?        S    Jun01   0:00  \_ [kdmflush]
root     10094  0.0  0.0      0     0 ?        S    Jun01   0:01  \_ [kdmflush]
root     10096  0.0  0.0      0     0 ?        S    Jun01   0:00  \_ [ksnaphd]
root     10097  0.0  0.0      0     0 ?        S    Jun01   0:10  \_ [kcopyd]
root     18866  0.0  0.0      0     0 ?        S    Jun04   0:00  \_ [kdmflush]
root     18872  0.0  0.0      0     0 ?        S    Jun04   0:01  \_ [kdmflush]
root     18874  0.0  0.0      0     0 ?        S    Jun04   0:00  \_ [ksnaphd]
root     18875  0.0  0.0      0     0 ?        S    Jun04   0:09  \_ [kcopyd]
root     15912  0.0  0.0      0     0 ?        S    Jun07   0:00  \_ [kdmflush]
root     15918  0.0  0.0      0     0 ?        S    Jun07   0:00  \_ [kdmflush]
root     15920  0.0  0.0      0     0 ?        S    Jun07   0:00  \_ [ksnaphd]
root     15921  0.0  0.0      0     0 ?        S    Jun07   0:10  \_ [kcopyd]
root      4504  0.0  0.0      0     0 ?        S    Jun09   0:00  \_ [kdmflush]
root      4510  0.0  0.0      0     0 ?        S    Jun09   0:00  \_ [kdmflush]
root      4512  0.0  0.0      0     0 ?        S    Jun09   0:00  \_ [ksnaphd]
root      4514  0.0  0.0      0     0 ?        S    Jun09   0:10  \_ [kcopyd]
root     28719  0.0  0.0      0     0 ?        S    Jun12   0:00  \_ [kdmflush]
root     28725  0.0  0.0      0     0 ?        S    Jun12   0:00  \_ [kdmflush]
root     28727  0.0  0.0      0     0 ?        S    Jun12   0:00  \_ [ksnaphd]
root     28728  0.0  0.0      0     0 ?        S    Jun12   0:03  \_ [kcopyd]
root     26249  0.0  0.0      0     0 ?        S    Jun13   0:00  \_ [kdmflush]
root     26254  0.0  0.0      0     0 ?        S    Jun13   0:00  \_ [kdmflush]
root     26256  0.0  0.0      0     0 ?        S    Jun13   0:00  \_ [ksnaphd]
root     26257  0.0  0.0      0     0 ?        S    Jun13   0:02  \_ [kcopyd]
root     17142  0.0  0.0      0     0 ?        S    02:47   0:00  \_ [kdmflush]
root     17147  0.0  0.0      0     0 ?        S    02:47   0:00  \_ [kdmflush]
root     17149  0.0  0.0      0     0 ?        S    02:47   0:00  \_ [ksnaphd]
root     17151  0.0  0.0      0     0 ?        S    02:47   0:01  \_ [kcopyd]
root     31458  0.0  0.0      0     0 ?        S    14:52   0:00  \_ [flush-253:17]
root         1  0.0  0.0  19228  1100 ?        Ss   May22   0:02 /sbin/init
root       615  0.0  0.0  10660   552 ?        S<s  May22   0:00 /sbin/udevd -d
root     20286  0.0  0.0  10656   616 ?        S<   05:09   0:00  \_ /sbin/udevd -d
root     20288  0.0  0.0  10656   480 ?        S<   05:09   0:00  \_ /sbin/udevd -d
root      1273  0.3  0.1 1224340 22324 ?       S<Lsl May22 115:42 /sbin/dmeventd
root      1770  0.0  0.0  93172   652 ?        S<sl May22   0:09 auditd
root      1795  0.0  0.0 251580  4344 ?        Sl   May22   0:19 /sbin/rsyslogd -i /var/run/syslogd.pid -c 5
rpc       1818  0.0  0.0  18972   604 ?        Ss   May22   0:01 rpcbind
dbus      1895  0.0  0.0  21400   704 ?        Ss   May22   0:00 dbus-daemon --system
avahi     1906  0.0  0.0  27788   992 ?        S    May22   0:00 avahi-daemon: registering [cbcvm.local]
avahi     1907  0.0  0.0  27660   208 ?        Ss   May22   0:00  \_ avahi-daemon: chroot helper
root      1918  0.0  0.0 189152   884 ?        Ss   May22   0:00 cupsd -C /etc/cups/cupsd.conf
68        1943  0.0  0.0  25468  2164 ?        Ss   May22   2:00 hald
root      1944  0.0  0.0  18100   648 ?        S    May22   0:00  \_ hald-runner
root      1972  0.0  0.0  20244   712 ?        S    May22   0:00      \_ hald-addon-input: Listening on /dev/input/event4 /dev/input/event0
68        1989  0.0  0.0  17800   672 ?        S    May22   0:00      \_ hald-addon-acpi: listening on acpi kernel interface /proc/acpi/event
root      2002  0.0  0.0   6244   208 ?        Ss   May22   0:00 /usr/sbin/mcelog --daemon
ntp       2022  0.0  0.0  30160  1124 ?        Ss   May22   0:46 ntpd -u ntp:ntp -p /var/run/ntpd.pid -g
root      2098  0.0  0.0  78676  1192 ?        Ss   May22   0:27 /usr/libexec/postfix/master
postfix   2109  0.0  0.0  78928  1316 ?        S    May22   0:05  \_ qmgr -l -t fifo -u
postfix  29813  0.0  0.0  78756  3252 ?        S    13:32   0:00  \_ pickup -l -t fifo -u
root      2114  0.0  0.0 108424  1088 ?        S    May22  21:31 /bin/bash /usr/sbin/ksmtuned
root     31467  0.0  0.0 100904   596 ?        S    14:53   0:00  \_ sleep 60
root      2123  0.0  0.0 117208   736 ?        Ss   May22   1:09 crond
root      2146  0.0  0.0  21452   320 ?        Ss   May22   0:00 /usr/sbin/atd
root      2160  0.0  0.0 1019676 7536 ?        Sl   May22   7:02 libvirtd --daemon
root      2232  0.0  0.0   4060   516 tty1     Ss+  May22   0:00 /sbin/mingetty /dev/tty1
root      2235  0.0  0.0   4060   516 tty2     Ss+  May22   0:00 /sbin/mingetty /dev/tty2
root      2238  0.0  0.0   4060   516 tty3     Ss+  May22   0:00 /sbin/mingetty /dev/tty3
root      2241  0.0  0.0   4060   516 tty4     Ss+  May22   0:00 /sbin/mingetty /dev/tty4
root      2244  0.0  0.0   4060   516 tty5     Ss+  May22   0:00 /sbin/mingetty /dev/tty5
root      2247  0.0  0.0   4060   516 tty6     Ss+  May22   0:00 /sbin/mingetty /dev/tty6
nobody    2272  0.0  0.0  12880   564 ?        S    May22   0:26 /usr/sbin/dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/libvirt/network/default.pid --co
qemu      2337  7.1 13.0 2617288 2130972 ?     Sl   May22 2384:29 /usr/libexec/qemu-kvm -S -M rhel6.3.0 -enable-kvm -m 2048 -smp 2,sockets=2,cores=1,threads=1
qemu      2417  9.1  5.9 2716416 976680 ?      Sl   May22 3044:17 /usr/libexec/qemu-kvm -S -M rhel6.3.0 -cpu SandyBridge,+pdpe1gb,+osxsave,+tsc-deadline,+dca,+pdcm,+xtp
rpcuser   2848  0.0  0.0  23344   736 ?        Ss   May22   0:00 rpc.statd
root      2923  0.0  0.0  21652   380 ?        Ss   May22   0:00 rpc.mountd
root      2974  0.0  0.0  23088   284 ?        Ss   May22   0:00 rpc.idmapd
qemu     16941 41.5 60.9 11305012 9919928 ?    Sl   May22 13755:59 /usr/libexec/qemu-kvm -S -M rhel6.3.0 -cpu SandyBridge,+pdpe1gb,+osxsave,+tsc-deadline,+dca,+pdcm,+xt
root     25668  0.0  0.0  97816  3824 ?        Ss   09:56   0:00 sshd: rapidit [priv]
user     25670  0.0  0.0  98380  2956 ?        S    09:56   0:17  \_ sshd: user@pts/5
user     25671  0.0  0.0 108300  1888 pts/5    Ss   09:56   0:00      \_ -bash
root     27086  0.0  0.0 170920  2564 pts/5    S    11:34   0:00          \_ sudo su -
root     27087  0.0  0.0 145344  1592 pts/5    S    11:34   0:00              \_ su -
root     27090  0.0  0.0 108428  2024 pts/5    S    11:34   0:00                  \_ -bash
root     31470  3.0  0.0 110564  1448 pts/5    R+   14:54   0:00                      \_ ps faux
nrpe     27305  0.0  0.0  40932  1332 ?        Ss   11:44   0:00 /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d
root     30076  0.0  0.0  64072  1176 ?        Ss   13:45   0:00 /usr/sbin/sshd
* I clipped a bit for privacy reasons

How would I clean up those kernel processes without restarting the machine? It's production.

Cheers!

Last edited by nudenurd; 06-14-2013 at 04:16 AM.
 
Old 06-14-2013, 04:22 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387
Why do you think there are too many processes running?

My Debian box runs +/- 375 processes at any given moment and my LFS box +/- 250.

I also don't see any defunct ("zombie") processes.
 
1 members found this post helpful.
Old 06-14-2013, 04:33 AM   #3
nudenurd
LQ Newbie
 
Registered: Jun 2005
Posts: 14

Original Poster
Rep: Reputation: 0
This is a knee-jerk reaction to my Nagios monitor that just started showing 350+ processes today and hence going critical. I could just up the limit (it is a VM host after all).
Is it a problem having all those procs?
 
Old 06-14-2013, 04:52 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387
Quote:
Originally Posted by nudenurd View Post
This is a knee-jerk reaction to my Nagios monitor that just started showing 350+ processes today and hence going critical. I could just up the limit (it is a VM host after all).
Is it a problem having all those procs?
I don't see any problems, but I'm not fully aware of possible limitations that that specific machine has (or hasn't) got.

Why is nagios set to alert you when the amount of processes reaches 350+ ? I can only assume this is done for a specific reason and if so you might want to ask the person that set it up why this is so. If a default setting is used then I would suggest to slowly increase this setting to a more suitable/workable setting.

But like I stated before: 350+ running processes isn't (normally) problematic.
 
2 members found this post helpful.
Old 06-14-2013, 09:00 AM   #5
rtmistler
Moderator
 
Registered: Mar 2011
Location: Sutton, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 4,484
Blog Entries: 10

Rep: Reputation: 1643Reputation: 1643Reputation: 1643Reputation: 1643Reputation: 1643Reputation: 1643Reputation: 1643Reputation: 1643Reputation: 1643Reputation: 1643Reputation: 1643
I think by default you can have up to 65535 active and zombie processes unless you build the kernel with a different default.

If you're concerned about the system integrity, check free memory using free(1) and run top(1) to see what's going on, whether the CPU and memory are being used up. I really don't know how much metrics one can put into the amount of memory left, but I'd say that if you persistently used more than half of your memory on an everyday basis, I'd get more. If the CPU is loaded a lot however no one process or group of processes are the main culprit and also are the culprit unfairly, then you could find out if there's a problem with a particular program.
 
1 members found this post helpful.
Old 06-15-2013, 01:33 AM   #6
nudenurd
LQ Newbie
 
Registered: Jun 2005
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks for the responses. The default of 350 is just a nagios setting out of the box; I'll change it.
There appears to be a lot of disk-orientated processes running. The machine's running a hardware RAID but is also hosting a few VMs, one of which is quite intensive. There's also a backup subroutine which dumps VM snapshots to an attached USB drive.
There's no problem with the performance of the machine though so I'll just ignore it.

Cheers!
 
Old 06-15-2013, 03:59 AM   #7
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387
Quote:
Originally Posted by nudenurd View Post
Thanks for the responses. The default of 350 is just a nagios setting out of the box; I'll change it.
There appears to be a lot of disk-orientated processes running. The machine's running a hardware RAID but is also hosting a few VMs, one of which is quite intensive. There's also a backup subroutine which dumps VM snapshots to an attached USB drive.
There's no problem with the performance of the machine though so I'll just ignore it.
I'm glad to read that there isn't an actual problem.

Do make sure you slowly increase the value in Nagios until you have a value that is acceptable.


BTW: Can you put up the [SOLVED] tag.
- above the first post -> Please Mark this thread as solved if you feel a solution has been provided.
- -or- -
- first post -> Thread Tools -> Mark this thread as solved
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Limitations of System Processes and Oracle Processes in RHEL AS3.0 sathyguy Linux - Enterprise 0 03-03-2007 12:52 AM
monitoring active processes and identifying the required processes. gajaykrishnan Programming 2 08-13-2004 02:58 AM
What processes can go? Mike-BB Linux - Software 4 07-31-2004 09:44 PM
Too many processes? mooreted Linux - Software 2 04-05-2004 04:27 PM
Too many processes! vincebs Linux - General 3 12-27-2003 04:14 AM


All times are GMT -5. The time now is 02:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration