List:General Discussion« Previous MessageNext Message »
From:Reindl Harald Date:November 24 2011 8:20am
Subject:'myisam_use_mmap' unstable like hell
View as plain text  
introduced with 5.1 myisam_use_mmap leads in 5.5.18
after some days to table crashes - will this be ever
useful on servers with thousands of tables?

111124  8:20:17 - mysqld got signal 11 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.

It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 418015 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x2a4bd50
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0x7f507cf70d40 thread_stack 0x40000

Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x7f4ffc0058a0): is an invalid pointer
Connection ID (thread ID): 460043

The manual page at contains
information that should help you find out what is causing the crash.

The "--memlock" argument, which was enabled, uses system calls that are
unreliable and unstable on some operating systems and operating-system
versions (notably, some versions of Linux).  This crash could be due to use
of those buggy OS calls.  You should consider whether you really need the
"--memlock" parameter and/or consult the OS distributer about "mlockall"
111124 08:20:18 mysqld_safe Number of processes running now: 0
111124 08:20:18 mysqld_safe mysqld restarted
111124  8:20:18 [Note] Plugin 'InnoDB' is disabled.
111124  8:20:18 [Note] Plugin 'FEDERATED' is disabled.
111124  8:20:18 [Note] Plugin 'BLACKHOLE' is disabled.
111124  8:20:18 [Note] Plugin 'ARCHIVE' is disabled.
111124  8:20:18 [Note] Plugin 'partition' is disabled.
111124  8:20:19 [Note] Event Scheduler: Loaded 0 events
111124  8:20:19 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.5.18-log'  socket: '/var/lib/mysql/mysql.sock'  port: 3306
111124  8:20:19 [ERROR] /usr/libexec/mysqld: Table './afi/cms1_global_cache' is marked as
crashed and should be
111124  8:20:19 [Warning] Checking table:   './afi/cms1_global_cache'
111124  8:20:19 [ERROR] Got an error from unknown thread,

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
'myisam_use_mmap' unstable like hellReindl Harald24 Nov
  • Fwd: 'myisam_use_mmap' unstable like hellReindl Harald24 Nov
    • Re: 'myisam_use_mmap' unstable like hellRob Wultsch15 Dec
      • Re: 'myisam_use_mmap' unstable like hellReindl Harald15 Dec
        • Re: 'myisam_use_mmap' unstable like hellAndrĂ©s Tello15 Dec
          • Re: 'myisam_use_mmap' unstable like hellReindl Harald15 Dec
            • Re: 'myisam_use_mmap' unstable like hellPaul DuBois15 Dec
              • Re: 'myisam_use_mmap' unstable like hellReindl Harald15 Dec