ISPConfig out of memory -- mysqladmin flush hosts

Discussion in 'Installation/Configuration' started by mxc, Mar 3, 2007.

  1. mxc

    mxc ISPConfig Developer

    Hi all,

    We have a test version of ISPConfig running on Debian 3.1 with php 5 from backports. It is running in a domU on a virtualised Xen server. We want to take the site live and already have one of our sites running on it to test.

    On a regular basis we get the following error page when trying to login to ispconfig which tell us to run "mysqladmin flush hosts" as there has been to many dropped connection from the relevant ip. (Sorry I cant remember the full message now and I have just flushed mysql.)

    I also noticed the following in dmesg

    Code:
    oom-killer: gfp_mask=0x201d2, order=0
     [<c0141f21>] out_of_memory+0x161/0x180
     [<c0143aed>] __alloc_pages+0x26d/0x2d0
     [<c014591a>] __do_page_cache_readahead+0x14a/0x300
     [<c01a6950>] ext3_get_block+0x0/0xc0
     [<c03450f8>] io_schedule+0x28/0x40
     [<c034593b>] __wait_on_bit_lock+0x5b/0x70
     [<c013e1d0>] sync_page+0x0/0x50
     [<c01457ad>] max_sane_readahead+0x2d/0x50
     [<c01413fe>] filemap_nopage+0x2ee/0x3e0
     [<c014bedf>] __handle_mm_fault+0x16f/0xc00
     [<c012610c>] try_to_del_timer_sync+0x4c/0x60
     [<c0126138>] del_timer_sync+0x18/0x20
     [<c0143384>] free_hot_cold_page+0x114/0x1b0
     [<c0174ad4>] poll_freewait+0x44/0x60
     [<c0111840>] do_page_fault+0x4a0/0x7ac
     [<c01113a0>] do_page_fault+0x0/0x7ac
     [<c0105273>] error_code+0x2b/0x30
    Mem-info:
    DMA per-cpu:
    cpu 0 hot: high 90, batch 15 used:11
    cpu 0 cold: high 30, batch 7 used:28
    DMA32 per-cpu: empty
    Normal per-cpu: empty
    HighMem per-cpu: empty
    Free pages:        2348kB (0kB HighMem)
    Active:30152 inactive:30122 dirty:0 writeback:0 unstable:0 free:587 slab:2234 mapped:60257 pagetables:413
    DMA free:2348kB min:2076kB low:2592kB high:3112kB active:120608kB inactive:120488kB present:270336kB pages_scanned:187350 all_unreclaimable? no
    lowmem_reserve[]: 0 0 0 0
    DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
    lowmem_reserve[]: 0 0 0 0
    Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
    lowmem_reserve[]: 0 0 0 0
    HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
    lowmem_reserve[]: 0 0 0 0
    DMA: 71*4kB 4*8kB 1*16kB 1*32kB 1*64kB 1*128kB 1*256kB 1*512kB 1*1024kB 0*2048kB 0*4096kB = 2348kB
    DMA32: empty
    Normal: empty
    HighMem: empty
    Swap cache: add 260371, delete 260371, find 21451/25337, race 0+0
    Free swap  = 0kB
    Total swap = 511992kB
    Free swap:            0kB
    67584 pages of RAM
    0 pages of HIGHMEM
    1604 reserved pages
    298 pages shared
    0 pages swap cached
    0 pages dirty
    0 pages writeback
    60257 pages mapped
    2234 pages slab
    413 pages pagetables
    Out of Memory: Kill process 557 (ispconfig_httpd) score 30974 and children.
    Out of memory: Killed process 557 (ispconfig_httpd).
    
    I have already edited my.cnf and change the maxconnection variable. I am not sure what else to try.

    Any help appreciated.
     
  2. falko

    falko Super Moderator

    What's the output of
    Code:
    top
    ?
     

Share This Page