hi all, I have still samba problems. After a while I see D processes, and all samba share get stucked. In the syslog I see: Apr 22 15:02:39 samba kernel: Call Trace: Apr 22 15:02:39 samba kernel: <IRQ> [<ffffffff8020e007>] __alloc_pages+0x2b8/0x2d1 Apr 22 15:02:39 samba kernel: [<ffffffff80215554>] cache_grow+0x136/0x343 Apr 22 15:02:39 samba kernel: [<ffffffff8025676e>] cache_alloc_refill+0x18f/0x1e0 Apr 22 15:02:39 samba kernel: [<ffffffff802b47e8>] __kmalloc+0x8a/0x94 Apr 22 15:02:39 samba kernel: [<ffffffff8022bef6>] __alloc_skb+0x5c/0x123 Apr 22 15:02:39 samba kernel: [<ffffffff88016945>] :forcedeth:nv_alloc_rx+0x5f/0x183 Apr 22 15:02:39 samba kernel: [<ffffffff88016e72>] :forcedeth:nv_nic_irq+0x96/0x1bc Apr 22 15:02:39 samba kernel: [<ffffffff8020f082>] handle_IRQ_event+0x29/0x58 Apr 22 15:02:39 samba kernel: [<ffffffff802a25fe>] __do_IRQ+0xa4/0x105 Apr 22 15:02:39 samba kernel: [<ffffffff8026647f>] nommu_map_single+0x3a/0x4d Apr 22 15:02:39 samba kernel: [<ffffffff80262dad>] do_IRQ+0x65/0x73 Apr 22 15:02:39 samba kernel: [<ffffffff80257689>] ret_from_intr+0x0/0xa Apr 22 15:02:39 samba kernel: [<ffffffff8022d546>] dev_queue_xmit+0x100/0x24e Apr 22 15:02:39 samba kernel: [<ffffffff8022f7f4>] ip_output+0x1fd/0x241 Apr 22 15:02:39 samba kernel: [<ffffffff80231da9>] ip_queue_xmit+0x40b/0x462 Apr 22 15:02:39 samba kernel: [<ffffffff8028088a>] printk+0x4e/0x56 Apr 22 15:02:39 samba kernel: [<ffffffff8028088a>] printk+0x4e/0x56 Apr 22 15:02:39 samba kernel: [<ffffffff8021fbd6>] tcp_transmit_skb+0x64d/0x677 Apr 22 15:02:39 samba kernel: [<ffffffff8022fc27>] del_timer+0x4e/0x57 Apr 22 15:02:39 samba kernel: [<ffffffff80219b96>] tcp_rcv_established+0x897/0x91c Apr 22 15:02:39 samba kernel: [<ffffffff880c1796>] :libata:ata_scsi_qc_complete+0xa7/0xb3 Apr 22 15:02:39 samba kernel: [<ffffffff802388d2>] tcp_v4_do_rcv+0x2a/0x306 Apr 22 15:02:39 samba kernel: [<ffffffff880be266>] :libata:ata_hsm_move+0x617/0x636 Apr 22 15:02:39 samba kernel: [<ffffffff8023438a>] ip_route_input+0x39/0xc30 Apr 22 15:02:39 samba kernel: [<ffffffff80224eb6>] tcp_v4_rcv+0x9d5/0xa29 Apr 22 15:02:39 samba kernel: [<ffffffff80231f9d>] ip_local_deliver+0x19d/0x263 Apr 22 15:02:39 samba kernel: [<ffffffff80232e6a>] ip_rcv+0x49c/0x4df Apr 22 15:02:39 samba kernel: [<ffffffff8021e1a0>] netif_receive_skb+0x36c/0x387 Apr 22 15:02:39 samba kernel: [<ffffffff8022e1af>] process_backlog+0x8b/0x10b Apr 22 15:02:39 samba kernel: [<ffffffff8020befe>] net_rx_action+0xae/0x1bf Apr 22 15:02:39 samba kernel: [<ffffffff802102dd>] __do_softirq+0x6e/0xe0 Apr 22 15:02:39 samba kernel: [<ffffffff80260e94>] default_idle+0x0/0x50 Apr 22 15:02:39 samba kernel: [<ffffffff80258364>] call_softirq+0x1c/0x28 Apr 22 15:02:39 samba kernel: [<ffffffff80262de7>] do_softirq+0x2c/0x7d Apr 22 15:02:39 samba kernel: [<ffffffff80262db2>] do_IRQ+0x6a/0x73 Apr 22 15:02:39 samba kernel: [<ffffffff80260e94>] default_idle+0x0/0x50 Apr 22 15:02:39 samba kernel: [<ffffffff80257689>] ret_from_intr+0x0/0xa Apr 22 15:02:39 samba kernel: <EOI> [<ffffffff80260ebd>] default_idle+0x29/0x50 Apr 22 15:02:39 samba kernel: [<ffffffff802449cd>] cpu_idle+0x95/0xb8 Apr 22 15:02:39 samba kernel: [<ffffffff8050d7a0>] start_kernel+0x20c/0x211 Apr 22 15:02:39 samba kernel: [<ffffffff8050d288>] _sinittext+0x288/0x28c Apr 22 15:02:39 samba kernel: Apr 22 15:02:39 samba kernel: Mem-info: Apr 22 15:02:39 samba kernel: Node 0 DMA per-cpu: Apr 22 15:02:39 samba kernel: cpu 0 hot: high 0, batch 1 used:0 Apr 22 15:02:39 samba kernel: cpu 0 cold: high 0, batch 1 used:0 Apr 22 15:02:39 samba kernel: cpu 1 hot: high 0, batch 1 used:0 Apr 22 15:02:39 samba kernel: cpu 1 cold: high 0, batch 1 used:0 Apr 22 15:02:39 samba kernel: Node 0 DMA32 per-cpu: Apr 22 15:02:39 samba kernel: cpu 0 hot: high 186, batch 31 used:30 Apr 22 15:02:39 samba kernel: cpu 0 cold: high 62, batch 15 used:49 Apr 22 15:02:39 samba kernel: cpu 1 hot: high 186, batch 31 used:31 Apr 22 15:02:39 samba kernel: cpu 1 cold: high 62, batch 15 used:57 Apr 22 15:02:39 samba kernel: Node 0 Normal per-cpu: empty Apr 22 15:02:39 samba kernel: Node 0 HighMem per-cpu: empty Apr 22 15:02:39 samba kernel: Free pages: 5396kB (0kB HighMem) Apr 22 15:02:39 samba kernel: Active:11863 inactive:214810 dirty:96874 writeback:76 unstable:0 free:1349 slab:23053 mapped:2414 pagetables:1675 Apr 22 15:02:39 samba kernel: Node 0 DMA free:3992kB min:48kB low:60kB high:72kB active:2380kB inactive:5132kB present:12356kB pages_scanned:32 all_unreclaimable? no Apr 22 15:02:39 samba kernel: lowmem_reserve[]: 0 993 993 993 Apr 22 15:02:39 samba kernel: Node 0 DMA32 free:1404kB min:4004kB low:5004kB high:6004kB active:45072kB inactive:854108kB present:1017200kB pages_scanned:0 all_unreclaimable? no Apr 22 15:02:39 samba kernel: lowmem_reserve[]: 0 0 0 0 Apr 22 15:02:39 samba kernel: Node 0 Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no Apr 22 15:02:39 samba kernel: lowmem_reserve[]: 0 0 0 0 Apr 22 15:02:39 samba kernel: Node 0 HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no Apr 22 15:02:39 samba kernel: lowmem_reserve[]: 0 0 0 0 Apr 22 15:02:39 samba kernel: Node 0 DMA: 0*4kB 1*8kB 1*16kB 0*32kB 0*64kB 1*128kB 1*256kB 1*512kB 1*1024kB 1*2048kB 0*4096kB = 3992kB Apr 22 15:02:39 samba kernel: Node 0 DMA32: 1*4kB 1*8kB 1*16kB 1*32kB 1*64kB 0*128kB 1*256kB 0*512kB 1*1024kB 0*2048kB 0*4096kB = 1404kB Apr 22 15:02:39 samba kernel: Node 0 Normal: empty Apr 22 15:02:39 samba kernel: Node 0 HighMem: empty Apr 22 15:02:39 samba kernel: Swap cache: add 22, delete 22, find 0/0, race 0+0 Apr 22 15:02:39 samba kernel: Free swap = 1959832kB Apr 22 15:02:39 samba kernel: Total swap = 1959920kB Apr 22 15:02:39 samba kernel: Free swap: 1959832kB Apr 22 15:02:39 samba kernel: 261920 pages of RAM Apr 22 15:02:39 samba kernel: 4908 reserved pages Apr 22 15:02:39 samba kernel: 246001 pages shared Apr 22 15:02:39 samba kernel: 0 pages swap cached Apr 22 15:02:39 samba kernel: swapper: page allocation failure. order:0, mode:0x20 Any idea? 10x tamas
On Apr 22, 2008 17:39 +0200, Papp Tam?s wrote:> I have still samba problems. > > After a while I see D processes, and all samba share get stucked. > > In the syslog I see: > > Apr 22 15:02:39 samba kernel: Call Trace: > Apr 22 15:02:39 samba kernel: <IRQ> [<ffffffff8020e007>] > __alloc_pages+0x2b8/0x2d1 > Apr 22 15:02:39 samba kernel: [<ffffffff80215554>] cache_grow+0x136/0x343 > Apr 22 15:02:39 samba kernel: [<ffffffff8025676e>] > cache_alloc_refill+0x18f/0x1e0 > Apr 22 15:02:39 samba kernel: [<ffffffff802b47e8>] __kmalloc+0x8a/0x94 > Apr 22 15:02:39 samba kernel: [<ffffffff8022bef6>] __alloc_skb+0x5c/0x123 > Apr 22 15:02:39 samba kernel: [<ffffffff88016945>] > :forcedeth:nv_alloc_rx+0x5f/0x183 > Apr 22 15:02:39 samba kernel: [<ffffffff88016e72>] > :forcedeth:nv_nic_irq+0x96/0x1bcThis is a thread stuck in memory allocation due to network IRQ handling. Are you running out of memory on the node? Are you running the Samba server on a client which is also running an OST?> Apr 22 15:02:39 samba kernel: Node 0 HighMem per-cpu: empty > Apr 22 15:02:39 samba kernel: Free pages: 5396kB (0kB HighMem) > Apr 22 15:02:39 samba kernel: Active:11863 inactive:214810 dirty:96874 > writeback:76 unstable:0 free:1349 slab:23053 mapped:2414 pagetables:1675 > Apr 22 15:02:39 samba kernel: Node 0 DMA free:3992kB min:48kB low:60kB > high:72kB active:2380kB inactive:5132kB present:12356kB pages_scanned:32 > all_unreclaimable? no > Apr 22 15:02:39 samba kernel: lowmem_reserve[]: 0 993 993 993 > Apr 22 15:02:39 samba kernel: Node 0 DMA32 free:1404kB min:4004kB > low:5004kB high:6004kB active:45072kB inactive:854108kB > present:1017200kB pages_scanned:0 all_unreclaimable? no > Apr 22 15:02:39 samba kernel: lowmem_reserve[]: 0 0 0 0 > Apr 22 15:02:39 samba kernel: Node 0 Normal free:0kB min:0kB low:0kB > high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 > all_unreclaimable? no > Apr 22 15:02:39 samba kernel: lowmem_reserve[]: 0 0 0 0 > Apr 22 15:02:39 samba kernel: Node 0 HighMem free:0kB min:128kB > low:128kB high:128kB active:0kB inactive:0kB present:0kB pages_scanned:0 > all_unreclaimable? noHmm, it appears there is no free memory for normal or highmem allocation.> Apr 22 15:02:39 samba kernel: lowmem_reserve[]: 0 0 0 0 > Apr 22 15:02:39 samba kernel: Node 0 DMA: 0*4kB 1*8kB 1*16kB 0*32kB > 0*64kB 1*128kB 1*256kB 1*512kB 1*1024kB 1*2048kB 0*4096kB = 3992kB > Apr 22 15:02:39 samba kernel: Node 0 DMA32: 1*4kB 1*8kB 1*16kB 1*32kB > 1*64kB 0*128kB 1*256kB 0*512kB 1*1024kB 0*2048kB 0*4096kB = 1404kB > Apr 22 15:02:39 samba kernel: Node 0 Normal: empty > Apr 22 15:02:39 samba kernel: Node 0 HighMem: empty > Apr 22 15:02:39 samba kernel: Swap cache: add 22, delete 22, find 0/0, > race 0+0 > Apr 22 15:02:39 samba kernel: Free swap = 1959832kB > Apr 22 15:02:39 samba kernel: Total swap = 1959920kB > Apr 22 15:02:39 samba kernel: Free swap: 1959832kB > Apr 22 15:02:39 samba kernel: 261920 pages of RAMCheers, Andreas -- Andreas Dilger Sr. Staff Engineer, Lustre Group Sun Microsystems of Canada, Inc.
On Wed, Apr 23, 2008 at 03:05:58PM -0600, Andreas Dilger wrote:> On Apr 22, 2008 17:39 +0200, Papp Tam???s wrote: > > I have still samba problems. > > > > After a while I see D processes, and all samba share get stucked. > > > > In the syslog I see: > > > > Apr 22 15:02:39 samba kernel: Call Trace: > > Apr 22 15:02:39 samba kernel: <IRQ> [<ffffffff8020e007>] > > __alloc_pages+0x2b8/0x2d1 > > Apr 22 15:02:39 samba kernel: [<ffffffff80215554>] cache_grow+0x136/0x343 > > Apr 22 15:02:39 samba kernel: [<ffffffff8025676e>] > > cache_alloc_refill+0x18f/0x1e0 > > Apr 22 15:02:39 samba kernel: [<ffffffff802b47e8>] __kmalloc+0x8a/0x94 > > Apr 22 15:02:39 samba kernel: [<ffffffff8022bef6>] __alloc_skb+0x5c/0x123 > > Apr 22 15:02:39 samba kernel: [<ffffffff88016945>] > > :forcedeth:nv_alloc_rx+0x5f/0x183 > > Apr 22 15:02:39 samba kernel: [<ffffffff88016e72>] > > :forcedeth:nv_nic_irq+0x96/0x1bc > > This is a thread stuck in memory allocation due to network IRQ handling. > Are you running out of memory on the node? Are you running the Samba > server on a client which is also running an OST?This machine is only a client with samba, it''s not an OST, cluster node.> > Apr 22 15:02:39 samba kernel: Node 0 HighMem per-cpu: empty > > Apr 22 15:02:39 samba kernel: Free pages: 5396kB (0kB HighMem) > > Apr 22 15:02:39 samba kernel: Active:11863 inactive:214810 dirty:96874 > > writeback:76 unstable:0 free:1349 slab:23053 mapped:2414 pagetables:1675 > > Apr 22 15:02:39 samba kernel: Node 0 DMA free:3992kB min:48kB low:60kB > > high:72kB active:2380kB inactive:5132kB present:12356kB pages_scanned:32 > > all_unreclaimable? no > > Apr 22 15:02:39 samba kernel: lowmem_reserve[]: 0 993 993 993 > > Apr 22 15:02:39 samba kernel: Node 0 DMA32 free:1404kB min:4004kB > > low:5004kB high:6004kB active:45072kB inactive:854108kB > > present:1017200kB pages_scanned:0 all_unreclaimable? no > > Apr 22 15:02:39 samba kernel: lowmem_reserve[]: 0 0 0 0 > > Apr 22 15:02:39 samba kernel: Node 0 Normal free:0kB min:0kB low:0kB > > high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 > > all_unreclaimable? no > > Apr 22 15:02:39 samba kernel: lowmem_reserve[]: 0 0 0 0 > > Apr 22 15:02:39 samba kernel: Node 0 HighMem free:0kB min:128kB > > low:128kB high:128kB active:0kB inactive:0kB present:0kB pages_scanned:0 > > all_unreclaimable? no > > Hmm, it appears there is no free memory for normal or highmem allocation.> > > Apr 22 15:02:39 samba kernel: lowmem_reserve[]: 0 0 0 0 > > Apr 22 15:02:39 samba kernel: Node 0 DMA: 0*4kB 1*8kB 1*16kB 0*32kB > > 0*64kB 1*128kB 1*256kB 1*512kB 1*1024kB 1*2048kB 0*4096kB = 3992kB > > Apr 22 15:02:39 samba kernel: Node 0 DMA32: 1*4kB 1*8kB 1*16kB 1*32kB > > 1*64kB 0*128kB 1*256kB 0*512kB 1*1024kB 0*2048kB 0*4096kB = 1404kB > > Apr 22 15:02:39 samba kernel: Node 0 Normal: empty > > Apr 22 15:02:39 samba kernel: Node 0 HighMem: empty > > Apr 22 15:02:39 samba kernel: Swap cache: add 22, delete 22, find 0/0, > > race 0+0 > > Apr 22 15:02:39 samba kernel: Free swap = 1959832kB > > Apr 22 15:02:39 samba kernel: Total swap = 1959920kB > > Apr 22 15:02:39 samba kernel: Free swap: 1959832kB > > Apr 22 15:02:39 samba kernel: 261920 pages of RAMWith free and top I didn''t see out of memory, but I check it again. The most strange thing about this, that this is an opteron with ''server main board'', but if I move the HDD to a desktop box with AX2 processor, it looks like, it''working. Does this mean is there something wrong about drivers? Thank you, tamas