[debian-mysql] Bug#607489: mysql-server-5.1: mysql processes kernel segfault when out of memory

Radek Antoniuk radek.antoniuk at gmail.com
Sun Dec 19 00:22:44 UTC 2010


Package: mysql-server-5.1
Version: 5.1.41-3
Severity: normal



Dec 19 00:35:00 db mysqld: 101219  0:35:00 [ERROR] /usr/sbin/mysqld: Out of memory (Needed 402653152 bytes)
Dec 19 00:35:01 db mysqld: 101219  0:35:01 [ERROR] /usr/sbin/mysqld: Out of memory (Needed 402653152 bytes)
Dec 19 00:35:48 db mysqld: 101219  0:35:48 [ERROR] /usr/sbin/mysqld: Out of memory (Needed 402653152 bytes)
Dec 19 00:36:13 db mysqld: 101219  0:36:13 [ERROR] /usr/sbin/mysqld: Out of memory (Needed 402653152 bytes)
Dec 19 00:42:21 db kernel: ff80226b40>] default_wake_function+0x0/0x10
Dec 19 00:42:21 db kernel: [<ffffffff80226b40>] default_wake_function+0x0/0x10
Dec 19 00:42:21 db kernel: [<ffffffff802516d5>] filemap_nopage+0x155/0x330
Dec 19 00:42:21 db kernel: [<ffffffff802607e8>] __handle_mm_fault+0x428/0x10c0
Dec 19 00:42:21 db kernel: [<ffffffff80217349>] do_page_fault+0xe79/0x1280
Dec 19 00:42:21 db kernel: [<ffffffff806699e7>] error_exit+0x0/0x79
Dec 19 00:42:21 db kernel:
Dec 19 00:42:21 db kernel: Mem-info:
Dec 19 00:42:21 db kernel: DMA per-cpu:
Dec 19 00:42:21 db kernel: CPU    0: Hot: hi:  186, btch:  31 usd:   8   Cold: hi:   62, btch:  15 usd:  29
Dec 19 00:42:47 db kernel: CPU    1: Hot: hi:  186, btch:  31 usd:  30   Cold: hi:   62, btch:  15 usd:  56
Dec 19 00:42:47 db kernel: CPU    2: Hot: hi:  186, btch:  31 usd:  21   Cold: hi:   62, btch:  15 usd:  51
Dec 19 00:42:47 db kernel: CPU    3: Hot: hi:  186, btch:  31 usd:  45   Cold: hi:   62, btch:  15 usd:  57
Dec 19 00:42:47 db kernel: Active:820946 inactive:3215019 dirty:0 writeback:0 unstable:0
Dec 19 00:42:47 db kernel: free:4026 slab:3419 mapped:67 pagetables:13310 bounce:0
Dec 19 00:42:47 db kernel: DMA free:16104kB min:16176kB low:20220kB high:24264kB active:3283784kB inactive:12860076kB present:16362000kB pages_scanned:26765877 all_unreclaimable? yes
Dec 19 00:42:47 db kernel: lowmem_reserve[]: 0 0 0
Dec 19 00:42:47 db kernel: DMA: 42*4kB 10*8kB 19*16kB 2*32kB 2*64kB 0*128kB 0*256kB 0*512kB 1*1024kB 1*2048kB 3*4096kB = 16104kB
Dec 19 00:42:47 db kernel: Swap cache: add 9812591, delete 9812564, find 3490319/3929515, race 13+97
Dec 19 00:42:47 db kernel: Free swap  = 0kB
Dec 19 00:42:47 db kernel: Total swap = 10485752kB
Dec 19 00:42:47 db kernel: Free swap:            0kB
Dec 19 00:42:47 db kernel: 4147200 pages of RAM
Dec 19 00:42:47 db kernel: 80986 reserved pages
Dec 19 00:42:47 db kernel: 2136 pages shared
Dec 19 00:42:47 db kernel: 42 pages swap cached
Dec 19 00:42:47 db kernel: mysqld invoked oom-killer: gfp_mask=0x201d2, order=0, oomkilladj=0
Dec 19 00:42:47 db kernel:
Dec 19 00:42:47 db kernel: Call Trace:
Dec 19 00:42:47 db kernel: [<ffffffff802524a0>] out_of_memory+0x70/0x1e0
Dec 19 00:42:47 db kernel: [<ffffffff80253dcb>] __alloc_pages+0x24b/0x2f0
Dec 19 00:42:47 db kernel: [<ffffffff8047efcd>] gnttab_free_grant_references+0x1d/0xb0
Dec 19 00:42:47 db kernel: [<ffffffff8025582b>] __do_page_cache_readahead+0x12b/0x2e0
Dec 19 00:42:47 db kernel: [<ffffffff80667d78>] io_schedule+0x28/0x40
Dec 19 00:42:47 db kernel: [<ffffffff8024f0e0>] sync_page+0x0/0x50
Dec 19 00:42:47 db kernel: [<ffffffff806680d7>] __wait_on_bit_lock+0x67/0x80
Dec 19 00:42:47 db kernel: [<ffffffff8024f0bf>] __lock_page+0x5f/0x70
Dec 19 00:42:47 db kernel: [<ffffffff802516d5>] filemap_nopage+0x155/0x330
Dec 19 00:42:47 db kernel: [<ffffffff802607e8>] __handle_mm_fault+0x428/0x10c0
Dec 19 00:42:47 db kernel: [<ffffffff80226b1c>] try_to_wake_up+0x3dc/0x400
Dec 19 00:42:47 db kernel: [<ffffffff80668ff6>] __down_read+0xd6/0xf2
Dec 19 00:42:47 db kernel: [<ffffffff80217349>] do_page_fault+0xe79/0x1280
Dec 19 00:42:47 db kernel: [<ffffffff80226b40>] default_wake_function+0x0/0x10
Dec 19 00:42:47 db kernel: [<ffffffff802669a3>] sys_mprotect+0xae3/0xbc0
Dec 19 00:42:47 db kernel: [<ffffffff806699e7>] error_exit+0x0/0x79

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (700, 'stable'), (650, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.21-xxxx-xen0-ipv4-64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mysql-server-5.1 depends on:
ii  adduser                3.110             add and remove users and groups
ii  debconf [debconf-2.0]  1.5.24            Debian configuration management sy
ii  libc6                  2.7-18            GNU C Library: Shared libraries
ii  libdbi-perl            1.605-1           Perl5 database interface by Tim Bu
ii  libgcc1                1:4.3.2-1.1       GCC support library
ii  libmysqlclient16       5.1.41-3          MySQL database client library
ii  libstdc++6             4.3.2-1.1         The GNU Standard C++ Library v3
ii  libwrap0               7.6.q-16          Wietse Venema's TCP wrappers libra
ii  lsb-base               3.2-20            Linux Standard Base 3.2 init scrip
ii  mysql-client-5.1       5.1.41-3          MySQL database client binaries
ii  mysql-common           5.1.41-3          MySQL database common files (e.g. 
ii  passwd                 1:4.1.1-6         change and administer password and
ii  perl                   5.10.0-19lenny2   Larry Wall's Practical Extraction 
ii  psmisc                 22.6-1            Utilities that use the proc filesy
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages mysql-server-5.1 recommends:
ii  bsd-mailx [mailx]  8.1.2-0.20071201cvs-3 A simple mail user agent
ii  libhtml-template-p 2.9-1                 HTML::Template : A module for usin
ii  mailx              1:20071201-3          Transitional package for mailx ren

Versions of packages mysql-server-5.1 suggests:
pn  tinyca                        <none>     (no description available)

-- debconf information excluded





More information about the pkg-mysql-maint mailing list