From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54658) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBPXz-0003v7-Gv for qemu-devel@nongnu.org; Thu, 06 Feb 2014 09:03:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBPXv-0003gy-GD for qemu-devel@nongnu.org; Thu, 06 Feb 2014 09:03:19 -0500 Received: from mail-ph.de-nserver.de ([85.158.179.214]:55245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBPXv-0003gq-5r for qemu-devel@nongnu.org; Thu, 06 Feb 2014 09:03:15 -0500 Message-ID: <52F3961C.3000807@profihost.ag> Date: Thu, 06 Feb 2014 15:03:08 +0100 From: Stefan Priebe - Profihost AG MIME-Version: 1.0 References: <80ddf64b-2a0a-40c6-ae63-a5ce3f68991f@mailpro> <52F37BBF.7060203@profihost.ag> In-Reply-To: <52F37BBF.7060203@profihost.ag> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [pve-devel] QEMU LIve Migration - swap_free: Bad swap file entry List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexandre DERUMIER Cc: qemu-devel , pve-devel@pve.proxmox.com some more things which happen during migration: php5.2[20258]: segfault at a0 ip 0000000000740656 sp 00007fff53b694a0 error 4 in php-cgi[400000+6d7000] php5.2[20249]: segfault at c ip 00007f1fb8ecb2b8 sp 00007fff642d9c20 error 4 in ZendOptimizer.so[7f1fb8e71000+147000] cron[3154]: segfault at 7f0008a70ed4 ip 00007fc890b9d440 sp 00007fff08a6f9b0 error 4 in libc-2.13.so[7fc890b67000+182000] Stefan Am 06.02.2014 13:10, schrieb Stefan Priebe - Profihost AG: > May be, > > sadly i've no idea. Only using 3.10 Kernel with XFS. > > Stefan > > Am 06.02.2014 12:40, schrieb Alexandre DERUMIER: >>>> PS: all my guests do not even have !!SWAP!! >> >> Not sure is related to swap file. >> >> I found an similar problem here, triggered with suspend/resume on ext4 >> >> http://lkml.indiana.edu/hypermail/linux/kernel/1106.3/01340.html >> >> >> Maybe is it a guest kernel bug ? >> >> ----- Mail original ----- >> >> De: "Stefan Priebe - Profihost AG" >> À: "Alexandre DERUMIER" >> Cc: pve-devel@pve.proxmox.com, "qemu-devel" >> Envoyé: Jeudi 6 Février 2014 12:19:36 >> Objet: Re: [pve-devel] QEMU LIve Migration - swap_free: Bad swap file entry >> >> >> Am 06.02.2014 12:14, schrieb Alexandre DERUMIER: >>> Do you force rbd_cache=true in ceph.conf? >> >> no >> >>> if yes, do you use cache=writeback ? >> >> yes >> >> So this should be safe. >> >> PS: all my guests do not even have !!SWAP!! >> >> # free|grep Swap >> Swap: 0 0 0 >> >> Stefan >> >>> according to ceph doc: >>> http://ceph.com/docs/next/rbd/qemu-rbd/ >>> >>> "Important If you set rbd_cache=true, you must set cache=writeback or risk data loss. Without cache=writeback, QEMU will not send flush requests to librbd. If QEMU exits uncleanly in this configuration, filesystems on top of rbd can be corrupted." >>> >>> >>> >>> ----- Mail original ----- >>> >>> De: "Stefan Priebe" >>> À: pve-devel@pve.proxmox.com, "qemu-devel" >>> Envoyé: Mercredi 5 Février 2014 18:51:15 >>> Objet: [pve-devel] QEMU LIve Migration - swap_free: Bad swap file entry >>> >>> Hello, >>> >>> after live migrating machines with a lot of memory (32GB, 48GB, ...) i >>> see pretty often crashing services after migration and the guest kernel >>> prints: >>> >>> [1707620.031806] swap_free: Bad swap file entry 00377410 >>> [1707620.031806] swap_free: Bad swap file entry 00593c48 >>> [1707620.031807] swap_free: Bad swap file entry 03201430 >>> [1707620.031807] swap_free: Bad swap file entry 01bc5900 >>> [1707620.031807] swap_free: Bad swap file entry 0173ce40 >>> [1707620.031808] swap_free: Bad swap file entry 011c0270 >>> [1707620.031808] swap_free: Bad swap file entry 03c58ae8 >>> [1707660.749059] BUG: Bad rss-counter state mm:ffff88064d09f380 idx:1 >>> val:1536 >>> [1707660.749937] BUG: Bad rss-counter state mm:ffff88064d09f380 idx:2 >>> val:-1536 >>> >>> Qemu is 1.7 >>> >>> Does anybody know a fix? >>> >>> Greets, >>> Stefan >>> _______________________________________________ >>> pve-devel mailing list >>> pve-devel@pve.proxmox.com >>> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel >>>