This happens to be a post from an experience on a Ubuntu machine... although the machine was practically unused, an entire CPU was consumed (by ksoftirqd)
Resolution:
# date -s "`date`"
root@wwwsrv01:~# uname -a
Linux wwwsrv01 2.6.32-32-server #62-Ubuntu SMP Wed Apr 20 22:07:43 UTC 2011 x86_64 GNU/Linux
root@wwwsrv01:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.2 LTS
Release: 10.04
Codename: lucid
root@wwwsrv01:~# top
top - 23:02:11 up 491 days, 12:35, 1 user, load average: 1.45, 1.37, 1.30
Tasks: 206 total, 2 running, 204 sleeping, 0 stopped, 0 zombie
Cpu(s): 6.3%us, 12.0%sy, 0.0%ni, 81.6%id, 0.0%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 8253648k total, 7464608k used, 789040k free, 448916k buffers
Swap: 19771384k total, 3140k used, 19768244k free, 5471676k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
7 root 20 0 0 0 0 R 12 0.0 22251:58 ksoftirqd/1
13 root 20 0 0 0 0 S 12 0.0 23523:10 ksoftirqd/3
4 root 20 0 0 0 0 S 11 0.0 20969:03 ksoftirqd/0
10 root 20 0 0 0 0 S 10 0.0 20349:29 ksoftirqd/2
root@wwwsrv01:~# cat /proc/interrupts
CPU0 CPU1 CPU2 CPU3 CPU4 CPU5 CPU6 CPU7
0: 141593 0 0 0 0 0 0 0 IO-APIC-edge timer
1: 2 0 0 0 0 0 0 0 IO-APIC-edge i8042
7: 2 0 0 0 0 0 0 0 IO-APIC-edge
8: 1 0 0 0 0 0 0 0 IO-APIC-edge rtc0
9: 75 0 0 0 0 0 0 0 IO-APIC-fasteoi acpi
10: 91 0 0 0 0 0 0 0 IO-APIC-fasteoi sata_svw
11: 123 0 0 0 0 0 0 0 IO-APIC-fasteoi ehci_hcd:usb1, ohci_hcd:usb2, ohci_hcd:usb3
12: 4 0 0 0 0 0 0 0 IO-APIC-edge i8042
37: 18129 156077862 26272 0 0 0 0 0 IO-APIC-fasteoi megasas
80: 0 0 0 0 0 0 0 0 PCI-MSI-edge aerdrv
81: 0 0 0 0 0 0 0 0 PCI-MSI-edge aerdrv
82: 0 0 0 0 0 0 0 0 PCI-MSI-edge aerdrv
83: 0 0 0 0 0 0 0 0 PCI-MSI-edge aerdrv
84: 0 0 0 0 0 0 0 0 PCI-MSI-edge aerdrv
89: 709933902 0 0 0 0 0 0 0 PCI-MSI-edge eth0
NMI: 0 0 0 0 0 0 0 0 Non-maskable interrupts
LOC: 2256128861 2589012639 3627874637 3826038395 3949501889 2439241460 26457107 4261066274 Local timer interrupts
SPU: 0 0 0 0 0 0 0 0 Spurious interrupts
PMI: 0 0 0 0 0 0 0 0 Performance monitoring interrupts
PND: 0 0 0 0 0 0 0 0 Performance pending work
RES: 1621900349 345575279 2713531435 3786193932 3684814249 1064081969 47543173 28060846 Rescheduling interrupts
CAL: 161318244 5250 190 234 211 221 229 231 Function call interrupts
TLB: 1207114 2695308 3909688 14876996 1122807 1581252 684022 551056 TLB shootdowns
TRM: 0 0 0 0 0 0 0 0 Thermal event interrupts
THR: 0 0 0 0 0 0 0 0 Threshold APIC interrupts
MCE: 0 0 0 0 0 0 0 0 Machine check exceptions
MCP: 141549 141549 141549 141549 141549 141549 141549 141549 Machine check polls
ERR: 2
MIS: 0
root@wwwsrv01:~# top
top - 23:15:04 up 491 days, 12:48, 1 user, load average: 0.21, 0.90, 1.13
Tasks: 205 total, 1 running, 204 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.1%sy, 0.0%ni, 99.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 8253648k total, 7467608k used, 786040k free, 448928k buffers
Swap: 19771384k total, 3140k used, 19768244k free, 5472860k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
16436 www-data 20 0 22464 3852 1912 S 1 0.0 0:00.02 getuploadworksv
27 root 20 0 0 0 0 S 0 0.0 116:26.99 events/0
16432 root 20 0 42152 1280 912 S 0 0.0 0:00.01 cron
16437 www-data 20 0 37208 2160 1700 S 0 0.0 0:00.01 sendmail
16440 www-data 20 0 37196 2152 1688 S 0 0.0 0:00.01 postdrop
1 root 20 0 23712 1832 1196 S 0 0.0 0:01.88 init
2 root 20 0 0 0 0 S 0 0.0 0:00.01 kthreadd
3 root RT 0 0 0 0 S 0 0.0 0:01.20 migration/0
4 root 20 0 0 0 0 S 0 0.0 20970:11 ksoftirqd/0
Resolution:
# date -s "`date`"
root@wwwsrv01:~# uname -a
Linux wwwsrv01 2.6.32-32-server #62-Ubuntu SMP Wed Apr 20 22:07:43 UTC 2011 x86_64 GNU/Linux
root@wwwsrv01:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.2 LTS
Release: 10.04
Codename: lucid
root@wwwsrv01:~# top
top - 23:02:11 up 491 days, 12:35, 1 user, load average: 1.45, 1.37, 1.30
Tasks: 206 total, 2 running, 204 sleeping, 0 stopped, 0 zombie
Cpu(s): 6.3%us, 12.0%sy, 0.0%ni, 81.6%id, 0.0%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 8253648k total, 7464608k used, 789040k free, 448916k buffers
Swap: 19771384k total, 3140k used, 19768244k free, 5471676k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
7 root 20 0 0 0 0 R 12 0.0 22251:58 ksoftirqd/1
13 root 20 0 0 0 0 S 12 0.0 23523:10 ksoftirqd/3
4 root 20 0 0 0 0 S 11 0.0 20969:03 ksoftirqd/0
10 root 20 0 0 0 0 S 10 0.0 20349:29 ksoftirqd/2
root@wwwsrv01:~# cat /proc/interrupts
CPU0 CPU1 CPU2 CPU3 CPU4 CPU5 CPU6 CPU7
0: 141593 0 0 0 0 0 0 0 IO-APIC-edge timer
1: 2 0 0 0 0 0 0 0 IO-APIC-edge i8042
7: 2 0 0 0 0 0 0 0 IO-APIC-edge
8: 1 0 0 0 0 0 0 0 IO-APIC-edge rtc0
9: 75 0 0 0 0 0 0 0 IO-APIC-fasteoi acpi
10: 91 0 0 0 0 0 0 0 IO-APIC-fasteoi sata_svw
11: 123 0 0 0 0 0 0 0 IO-APIC-fasteoi ehci_hcd:usb1, ohci_hcd:usb2, ohci_hcd:usb3
12: 4 0 0 0 0 0 0 0 IO-APIC-edge i8042
37: 18129 156077862 26272 0 0 0 0 0 IO-APIC-fasteoi megasas
80: 0 0 0 0 0 0 0 0 PCI-MSI-edge aerdrv
81: 0 0 0 0 0 0 0 0 PCI-MSI-edge aerdrv
82: 0 0 0 0 0 0 0 0 PCI-MSI-edge aerdrv
83: 0 0 0 0 0 0 0 0 PCI-MSI-edge aerdrv
84: 0 0 0 0 0 0 0 0 PCI-MSI-edge aerdrv
89: 709933902 0 0 0 0 0 0 0 PCI-MSI-edge eth0
NMI: 0 0 0 0 0 0 0 0 Non-maskable interrupts
LOC: 2256128861 2589012639 3627874637 3826038395 3949501889 2439241460 26457107 4261066274 Local timer interrupts
SPU: 0 0 0 0 0 0 0 0 Spurious interrupts
PMI: 0 0 0 0 0 0 0 0 Performance monitoring interrupts
PND: 0 0 0 0 0 0 0 0 Performance pending work
RES: 1621900349 345575279 2713531435 3786193932 3684814249 1064081969 47543173 28060846 Rescheduling interrupts
CAL: 161318244 5250 190 234 211 221 229 231 Function call interrupts
TLB: 1207114 2695308 3909688 14876996 1122807 1581252 684022 551056 TLB shootdowns
TRM: 0 0 0 0 0 0 0 0 Thermal event interrupts
THR: 0 0 0 0 0 0 0 0 Threshold APIC interrupts
MCE: 0 0 0 0 0 0 0 0 Machine check exceptions
MCP: 141549 141549 141549 141549 141549 141549 141549 141549 Machine check polls
ERR: 2
MIS: 0
root@wwwsrv01:~# date -s "`date`"
root@wwwsrv01:~# top
top - 23:15:04 up 491 days, 12:48, 1 user, load average: 0.21, 0.90, 1.13
Tasks: 205 total, 1 running, 204 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.1%sy, 0.0%ni, 99.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 8253648k total, 7467608k used, 786040k free, 448928k buffers
Swap: 19771384k total, 3140k used, 19768244k free, 5472860k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
16436 www-data 20 0 22464 3852 1912 S 1 0.0 0:00.02 getuploadworksv
27 root 20 0 0 0 0 S 0 0.0 116:26.99 events/0
16432 root 20 0 42152 1280 912 S 0 0.0 0:00.01 cron
16437 www-data 20 0 37208 2160 1700 S 0 0.0 0:00.01 sendmail
16440 www-data 20 0 37196 2152 1688 S 0 0.0 0:00.01 postdrop
1 root 20 0 23712 1832 1196 S 0 0.0 0:01.88 init
2 root 20 0 0 0 0 S 0 0.0 0:00.01 kthreadd
3 root RT 0 0 0 0 S 0 0.0 0:01.20 migration/0
4 root 20 0 0 0 0 S 0 0.0 20970:11 ksoftirqd/0
Comments
Post a Comment