Number of Procs
Hi.
Sometimes, the system raises a lot of processes, causing considerable
delay to respond any input action. This moment, there are 312 processes
running (in a personal laptop - Debian testing). Here is a partial view
of "top":
[...]
1 root 20 0 2880 636 600 S 0,0 0,1 0:00.92 init
2 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kthreadd
5 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/0:0H
7 root rt 0 0 0 0 S 0,0 0,0 0:00.00 posixcputmr/0
8 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kclksetdelayd
9 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kcmosdelayd
10 root rt 0 0 0 0 S 0,0 0,0 0:00.00 migration/0
11 root 20 0 0 0 0 S 0,0 0,0 0:00.12 rcu_preempt
12 root 20 0 0 0 0 S 0,0 0,0 0:00.00 rcu_bh
13 root 20 0 0 0 0 S 0,0 0,0 0:00.00 rcu_sched
14 root rt 0 0 0 0 S 0,0 0,0 0:00.00 watchdog/0
15 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 khelper
16 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kdevtmpfs
17 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 netns
18 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 writeback
19 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kintegrityd
20 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 bioset
21 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kblockd
22 root -51 0 0 0 0 S 0,0 0,0 0:00.20 irq/10-acpi
23 root 20 0 0 0 0 S 0,0 0,0 0:00.25 kworker/0:1
24 root 20 0 0 0 0 S 0,0 0,0 0:00.00 khungtaskd
25 root 20 0 0 0 0 S 0,0 0,0 0:00.48 kswapd0
26 root 25 5 0 0 0 S 0,0 0,0 0:00.00 ksmd
27 root 20 0 0 0 0 S 0,0 0,0 0:00.00 fsnotify_mark
28 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 crypto
33 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kthrotld
36 root -76 0 0 0 0 S 0,0 0,0 0:00.03 irq/1-i8042
37 root -91 0 0 0 0 S 0,0 0,0 0:00.00 irq/8-rtc0
38 root 20 0 0 0 0 S 0,0 0,0 0:00.00 mce-notify
39 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 deferwq
43 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kworker/0:2
135 root 20 0 0 0 0 S 0,0 0,0 0:00.00 khubd
136 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 ata_sff
137 root -81 0 0 0 0 S 0,0 0,0 0:00.00 irq/20-uhci_hcd
138 root -51 0 0 0 0 S 0,0 0,0 0:00.12 irq/21-ehci_hcd
144 root -51 0 0 0 0 S 0,0 0,0 0:00.00 irq/17-mmc0
[...]
What causes this large amount of simultaneous services? How to select
only the essential ones, or make them run distributed in time, so that
they do not overload the processor?
Thanks,
--
Hudson Lacerda
--
Reply to: