<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 04/01/2014 08:03 PM, Pavel Emelyanov
wrote:<br>
</div>
<blockquote cite="mid:533AF150.9010805@parallels.com" type="cite">
<pre wrap="">On 04/01/2014 04:11 PM, Deyan Doychev wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi!
When I try dumping a mysqld process (along with the mysqld_safe one) I
get the following errors:
Error (proc_parse.c:419): Can't handle non-regular mapping on 3487's map
140731902361600
</pre>
</blockquote>
<pre wrap="">
Damn, this is vma start and should be %x :)
</pre>
<blockquote type="cite">
<pre wrap="">Error (cr-dump.c:1426): Collect mappings (pid: 3487) failed with -1
Error (cr-dump.c:1855): Dumping FAILED.
As far as I can see these are caused by these mappings:
7ffeb7588000-7ffeb758d000 rw-s 00000000 00:09 2016904
/[aio] (deleted)
7ffeb758d000-7ffeb7592000 rw-s 00000000 00:09 2016903
/[aio] (deleted)
7ffeb7592000-7ffeb7597000 rw-s 00000000 00:09 2016902
/[aio] (deleted)
</pre>
</blockquote>
<pre wrap="">
Wow... These are mappings created by sys_io_setup(). We have never met
any application using this before, looks like your mysql is brand new :)
</pre>
</blockquote>
<br>
It is actually a Percona server version 5.5.36-34.0.<br>
<br>
I dug deeper into this and checked where Percona uses the io_setup
syscall. It is in the InnoDB<em> </em>code since 2009 and is
controlled by the innodb_use_native_aio config option.<br>
<br>
Dumping a MySQL daemon started with the following my.cnf succeds:<br>
<br>
[mysqld]<br>
innodb_use_native_aio = false<br>
<br>
I will stick to using MySQL this way.<br>
<br>
<blockquote cite="mid:533AF150.9010805@parallels.com" type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">Has anyone tried to dump a mysql daemon and if so how do you deal with
this problem?
</pre>
</blockquote>
<pre wrap="">
I did dumped MySQL daemon from Fedora-19, but haven't met this.
Thanks,
Pavel
</pre>
</blockquote>
<br>
Thanks,<br>
Deyan<br>
</body>
</html>