pdflush frisst massig CPU

Welches Modul/Treiber für welche Hardware, Kernel compilieren...
Antworten
Benutzeravatar
fitti70
Beiträge: 75
Registriert: 27.11.2002 10:33:49

pdflush frisst massig CPU

Beitrag von fitti70 » 06.11.2008 16:25:00

Hallo,
ich habe einen Root-Server bei Serverloft gemietet, der komplett konfiguriert übergeben wurde.
Es ist ein Debian 4.0/64Bit System mit drei 500GB SAS-Platten , Hardware-RAID 5, ZCR, Hot-Swap.
Leider bietet Serverloft absolut keinen Support, wenn es sich nicht um Hardwarefehler handelt.
Der Server schmiert des Öfteren ab, ein Prozess namens pdflush nimmt fast 100% der CPU in Anspruch und scheint für die Abstürze und folgende Meldungen (haufenweise in messages und syslog) verantwortlich zu sein:
/

Code: Alles auswählen

var/log/messages
Nov  6 13:54:01 loft1296 kernel: CPU 7:
Nov  6 13:53:49 loft1296 kernel:
Nov  6 13:53:49 loft1296 kernel:  [<ffffffff8020cc3e>] child_rip+0x0/0x12
Nov  6 13:53:49 loft1296 kernel:  [<ffffffff8024809b>] kthread+0x0/0x75
Nov  6 13:53:49 loft1296 kernel:  [<ffffffff8020cc48>] child_rip+0xa/0x12
Nov  6 13:53:49 loft1296 kernel:  [<ffffffff802480e2>] kthread+0x47/0x75
Nov  6 13:53:49 loft1296 kernel:  [<ffffffff80278699>] wb_kupdate+0x0/0x113
Nov  6 13:53:49 loft1296 kernel:  [<ffffffff80278c20>] pdflush+0x15a/0x204
Nov  6 13:53:49 loft1296 kernel:  [<ffffffff80278ac6>] pdflush+0x0/0x204
Nov  6 13:53:49 loft1296 kernel:  [<ffffffff80278737>] wb_kupdate+0x9e/0x113
Nov  6 13:53:49 loft1296 kernel:  [<ffffffff802b3d61>] writeback_inodes+0x69/0xbb
Nov  6 13:53:49 loft1296 kernel:  [<ffffffff802b3941>] sync_sb_inodes+0x1b6/0x273
Nov  6 13:53:49 loft1296 kernel:  [<ffffffff802b34ad>] __writeback_single_inode+0x18d/0x2e0
Nov  6 13:53:49 loft1296 kernel:  [<ffffffff80277f00>] do_writepages+0x27/0x2d
Nov  6 13:53:49 loft1296 kernel:  [<ffffffff8022db21>] find_busiest_group+0x248/0x703
Nov  6 13:53:49 loft1296 kernel:  [<ffffffff802778e5>] __writepage+0x0/0x23
Nov  6 13:53:49 loft1296 kernel:  [<ffffffff80277d6b>] write_cache_pages+0x159/0x2ab
Nov  6 13:53:49 loft1296 kernel:  [<ffffffff80277a1e>] clear_page_dirty_for_io+0x50/0xb4
Nov  6 13:53:49 loft1296 kernel:  [<ffffffff8028737b>] page_mkclean+0x100/0x15a
Nov  6 13:53:49 loft1296 kernel:  [<ffffffff8021c1a3>] flush_tlb_page+0x8a/0x91
Nov  6 13:53:49 loft1296 kernel: Call Trace:
Nov  6 13:53:49 loft1296 kernel:
Nov  6 13:53:49 loft1296 kernel: DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Nov  6 13:53:49 loft1296 kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Nov  6 13:53:49 loft1296 kernel: CR2: 00000000005cdd08 CR3: 0000000000201000 CR4: 00000000000006e0
Nov  6 13:53:49 loft1296 kernel: CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
Nov  6 13:53:49 loft1296 kernel: FS:  00000000412a2960(0000) GS:ffff81041f9bf7c0(0000) knlGS:00000000f7e246b0
Nov  6 13:53:49 loft1296 kernel: R13: ffff81041cde0140 R14: 0000000000000000 R15: ffff81041c9e34c0
Nov  6 13:53:49 loft1296 kernel: R10: 0000000000000000 R11: 0000000000000040 R12: 0000000000000000
Nov  6 13:53:49 loft1296 kernel: RBP: ffff810235045448 R08: 0000000000000038 R09: 0000000000000040
Nov  6 13:53:49 loft1296 kernel: RDX: 00000000000008f7 RSI: 00000000000000f7 RDI: 0000000000000004
Nov  6 13:53:49 loft1296 kernel: RAX: 00000000000008f7 RBX: ffff810001071500 RCX: 0000000000000008
Nov  6 13:53:49 loft1296 kernel: RSP: 0018:ffff81041d651b80  EFLAGS: 00000202
Nov  6 13:53:49 loft1296 kernel: RIP: 0010:[<ffffffff8021beb4>]  [<ffffffff8021beb4>] flush_tlb_others+0x65/0x8b
Nov  6 13:53:49 loft1296 kernel: Pid: 315, comm: pdflush Not tainted 2.6.24-etchnhalf.1-amd64 #1
Nov  6 13:53:49 loft1296 kernel: Modules linked in: ipv6 quota_v2 ext2 dm_snapshot dm_mirror dm_mod ipmi_devintf ipmi_si ipmi_msghandler serio_raw evdev i2c_piix4 button container psmouse i2c_core shpchp pci_hotplug pcspkr ext3 jbd mbcache generic ata_generic sata_svw megaraid_sas ehci_hcd ohci_hcd thermal processor fan tg3 sd_mod sata_nv sata_sis pata_sis sata_via ata_piix libata piix ide_core 3w_xxxx scsi_mod
Kann mir jemand sagen, was das zu bedeuten hat und wie ich das Problem lösen kann? Einen Hardwarefehler konnte ich nicht feststellen.
Noch ein paar Infos zum Server:

Code: Alles auswählen

tac cpuinfo

power management: ts ttp tm stc 100mhzsteps hwpstate
address sizes   : 48 bits physical, 48 bits virtual
cache_alignment : 64
clflush size    : 64
TLB size        : 1024 4K pages
bogomips        : 3391.76
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs
wp              : yes
cpuid level     : 5
fpu_exception   : yes
fpu             : yes
cpu cores       : 4
core id         : 3
siblings        : 4
physical id     : 1
cache size      : 512 KB
cpu MHz         : 1695.751
stepping        : 3
model name      : Quad-Core AMD Opteron(tm) Processor 2344 HE
model           : 2
cpu family      : 16
vendor_id       : AuthenticAMD
processor       : 7

power management: ts ttp tm stc 100mhzsteps hwpstate
address sizes   : 48 bits physical, 48 bits virtual
cache_alignment : 64
clflush size    : 64
TLB size        : 1024 4K pages
bogomips        : 3391.34
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs
wp              : yes
cpuid level     : 5
fpu_exception   : yes
fpu             : yes
cpu cores       : 4
core id         : 2
siblings        : 4
physical id     : 1
cache size      : 512 KB
cpu MHz         : 1695.751
stepping        : 3
model name      : Quad-Core AMD Opteron(tm) Processor 2344 HE
model           : 2
cpu family      : 16
vendor_id       : AuthenticAMD
processor       : 6

power management: ts ttp tm stc 100mhzsteps hwpstate
address sizes   : 48 bits physical, 48 bits virtual
cache_alignment : 64
clflush size    : 64
TLB size        : 1024 4K pages
bogomips        : 3391.42
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs
wp              : yes
cpuid level     : 5
fpu_exception   : yes
fpu             : yes
cpu cores       : 4
core id         : 1
siblings        : 4
physical id     : 1
cache size      : 512 KB
cpu MHz         : 1695.751
stepping        : 3
model name      : Quad-Core AMD Opteron(tm) Processor 2344 HE
model           : 2
cpu family      : 16
vendor_id       : AuthenticAMD
processor       : 5

power management: ts ttp tm stc 100mhzsteps hwpstate
address sizes   : 48 bits physical, 48 bits virtual
cache_alignment : 64
clflush size    : 64
TLB size        : 1024 4K pages
bogomips        : 3391.92
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs
wp              : yes
cpuid level     : 5
fpu_exception   : yes
fpu             : yes
cpu cores       : 4
core id         : 0
siblings        : 4
physical id     : 1
cache size      : 512 KB
cpu MHz         : 1695.751
stepping        : 3
model name      : Quad-Core AMD Opteron(tm) Processor 2344 HE
model           : 2
cpu family      : 16
vendor_id       : AuthenticAMD
processor       : 4

power management: ts ttp tm stc 100mhzsteps hwpstate
address sizes   : 48 bits physical, 48 bits virtual
cache_alignment : 64
clflush size    : 64
TLB size        : 1024 4K pages
bogomips        : 3391.03
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs
wp              : yes
cpuid level     : 5
fpu_exception   : yes
fpu             : yes
cpu cores       : 4
core id         : 3
siblings        : 4
physical id     : 0
cache size      : 512 KB
cpu MHz         : 1695.751
stepping        : 3
model name      : Quad-Core AMD Opteron(tm) Processor 2344 HE
model           : 2
cpu family      : 16
vendor_id       : AuthenticAMD
processor       : 3

power management: ts ttp tm stc 100mhzsteps hwpstate
address sizes   : 48 bits physical, 48 bits virtual
cache_alignment : 64
clflush size    : 64
TLB size        : 1024 4K pages
bogomips        : 3390.84
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs
wp              : yes
cpuid level     : 5
fpu_exception   : yes
fpu             : yes
cpu cores       : 4
core id         : 2
siblings        : 4
physical id     : 0
cache size      : 512 KB
cpu MHz         : 1695.751
stepping        : 3
model name      : Quad-Core AMD Opteron(tm) Processor 2344 HE
model           : 2
cpu family      : 16
vendor_id       : AuthenticAMD
processor       : 2

power management: ts ttp tm stc 100mhzsteps hwpstate
address sizes   : 48 bits physical, 48 bits virtual
cache_alignment : 64
clflush size    : 64
TLB size        : 1024 4K pages
bogomips        : 3392.59
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs
wp              : yes
cpuid level     : 5
fpu_exception   : yes
fpu             : yes
cpu cores       : 4
core id         : 1
siblings        : 4
physical id     : 0
cache size      : 512 KB
cpu MHz         : 1695.751
stepping        : 3
model name      : Quad-Core AMD Opteron(tm) Processor 2344 HE
model           : 2
cpu family      : 16
vendor_id       : AuthenticAMD
processor       : 1

power management: ts ttp tm stc 100mhzsteps hwpstate
address sizes   : 48 bits physical, 48 bits virtual
cache_alignment : 64
clflush size    : 64
TLB size        : 1024 4K pages
bogomips        : 3393.86
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs
wp              : yes
cpuid level     : 5
fpu_exception   : yes
fpu             : yes
cpu cores       : 4
core id         : 0
siblings        : 4
physical id     : 0
cache size      : 512 KB
cpu MHz         : 1695.751
stepping        : 3
model name      : Quad-Core AMD Opteron(tm) Processor 2344 HE
model           : 2
cpu family      : 16
vendor_id       : AuthenticAMD
processor       : 0

Code: Alles auswählen

tac meminfo
Hugepagesize:     2048 kB
HugePages_Surp:      0
HugePages_Rsvd:      0
HugePages_Free:      0
HugePages_Total:     0
VmallocChunk: 34359717203 kB
VmallocUsed:     21144 kB
VmallocTotal: 34359738367 kB
Committed_AS:  4270796 kB
CommitLimit:   8219968 kB
Bounce:              0 kB
NFS_Unstable:        0 kB
PageTables:       9152 kB
SUnreclaim:       8984 kB
SReclaimable:     6528 kB
Slab:            15512 kB
Mapped:           3684 kB
AnonPages:     4201804 kB
Writeback:           0 kB
Dirty:               0 kB
SwapFree:            0 kB
SwapTotal:           0 kB
Inactive:       157284 kB
Active:        4303680 kB
SwapCached:          0 kB
Cached:         177856 kB
Buffers:         81340 kB
MemFree:      11933396 kB
MemTotal:     16439940 kB
Kernel Infos
./var/cache/apt/archives/linux-kernel-headers_2.6.18-7_amd64.deb
./var/cache/apt/archives/kernel-image-2.6-amd64-k8-smp_1%3a2.6.18+6etch3_amd64.deb

Danke und Gruß,

fitti

Benutzeravatar
fitti70
Beiträge: 75
Registriert: 27.11.2002 10:33:49

Re: pdflush frisst massig CPU

Beitrag von fitti70 » 07.11.2008 08:33:52

Diesmal ist er mit einer anderen Fehlermeldung abgestürzt:

Code: Alles auswählen

Nov  7 02:56:12 loft1296 kernel: CPU 7:
Nov  7 02:56:00 loft1296 kernel:
Nov  7 02:56:00 loft1296 kernel:  [<ffffffff8020be2e>] system_call+0x7e/0x83
Nov  7 02:56:00 loft1296 kernel:  [<ffffffff8023917a>] sys_exit_group+0x0/0xe
Nov  7 02:56:00 loft1296 kernel:  [<ffffffff80238b56>] do_exit+0x1f1/0x796
Nov  7 02:56:00 loft1296 kernel:  [<ffffffff8024ab24>] hrtimer_cancel+0xc/0x16
Nov  7 02:56:00 loft1296 kernel:  [<ffffffff8024aabe>] hrtimer_try_to_cancel+0x16/0x70
Nov  7 02:56:00 loft1296 kernel:  [<ffffffff8024aa4b>] lock_hrtimer_base+0x1b/0x3c
Nov  7 02:56:00 loft1296 kernel: Call Trace:
Nov  7 02:56:00 loft1296 kernel:
Nov  7 02:56:00 loft1296 kernel: DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Nov  7 02:56:00 loft1296 kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Nov  7 02:56:00 loft1296 kernel: CR2: 00002b619151eea8 CR3: 00000001f29da000 CR4: 00000000000006e0
Nov  7 02:56:00 loft1296 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Nov  7 02:56:00 loft1296 kernel: FS:  00002b618cc515c0(0000) GS:ffff81041f9bf7c0(0000) knlGS:00000000f7d726b0
Nov  7 02:56:00 loft1296 kernel: R13: 000000001cc24900 R14: ffff810227c8f450 R15: 00000000000008f0
Nov  7 02:56:00 loft1296 kernel: R10: 0000000000000000 R11: 0000000000000246 R12: 00002b618a589000
Nov  7 02:56:00 loft1296 kernel: RBP: 00002b618a388fff R08: 0000000000000000 R09: ffffffffffffffc0
Nov  7 02:56:00 loft1296 kernel: RDX: ffff81041c929800 RSI: ffff81041dca7ef8 RDI: ffff810001047060
Nov  7 02:56:00 loft1296 kernel: RAX: 0000000000000286 RBX: ffff81041d14e130 RCX: 0000000000000000
Nov  7 02:56:00 loft1296 kernel: RSP: 0018:ffff81041dca7ec0  EFLAGS: 00000286
Nov  7 02:56:00 loft1296 kernel: RIP: 0010:[<ffffffff80415d7c>]  [<ffffffff80415d7c>] _spin_lock_irqsave+0x12/0x24
Nov  7 02:56:00 loft1296 kernel: Pid: 10764, comm: apache2 Not tainted 2.6.24-etchnhalf.1-amd64 #1
Nov  7 02:56:00 loft1296 kernel: Modules linked in: iptable_nat nf_nat iptable_mangle ipt_REJECT xt_tcpudp nf_conntrack_ipv4 xt_state nf_conntrack iptable_filter ip_tables x_tables ipv6 quota_v2 ext2 dm_snapshot dm_mirror dm_mod ipmi_devintf ipmi_si ipmi_msghandler i2c_piix4 serio_raw i2c_core button container psmouse shpchp pci_hotplug evdev pcspkr ext3 jbd mbcache ide_generic generic ata_generic megaraid_sas sata_svw ehci_hcd ohci_hcd thermal processor fan tg3 sd_mod sata_nv sata_sis pata_sis sata_via ata_piix libata piix ide_core 3w_xxxx scsi_mod
Hat jemand eine Ahnung, was da los sein könnte?

Grüße,
fitti

Antworten