[CRIU] Issues dumping MySQL process

Deyan Doychev deyan at 1h.com
Wed Apr 2 00:53:58 PDT 2014


On 04/01/2014 08:03 PM, Pavel Emelyanov wrote:
> On 04/01/2014 04:11 PM, Deyan Doychev wrote:
>> 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
> Damn, this is vma start and should be %x :)
>
>> 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)
> 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 :)

It is actually a Percona server version 5.5.36-34.0.

I dug deeper into this and checked where Percona uses the io_setup
syscall. It is in the InnoDB//code since 2009 and is controlled by the
innodb_use_native_aio config option.

Dumping a MySQL daemon started with the following my.cnf succeds:

[mysqld]
innodb_use_native_aio = false

I will stick to using MySQL this way.

>> Has anyone tried to dump a mysql daemon and if so how do you deal with
>> this problem?
> I did dumped MySQL daemon from Fedora-19, but haven't met this.
>
> Thanks,
> Pavel
>

Thanks,
Deyan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20140402/7ef0e50b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openvz.org/pipermail/criu/attachments/20140402/7ef0e50b/attachment.sig>


More information about the CRIU mailing list