From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUZHP-00063u-PH for qemu-devel@nongnu.org; Thu, 18 Sep 2014 06:49:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XUZHG-000777-NI for qemu-devel@nongnu.org; Thu, 18 Sep 2014 06:49:39 -0400 Received: from mail-wi0-x22d.google.com ([2a00:1450:400c:c05::22d]:56087) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUZHG-000768-G4 for qemu-devel@nongnu.org; Thu, 18 Sep 2014 06:49:30 -0400 Received: by mail-wi0-f173.google.com with SMTP id em10so2846020wid.0 for ; Thu, 18 Sep 2014 03:49:24 -0700 (PDT) Date: Thu, 18 Sep 2014 11:49:22 +0100 From: Stefan Hajnoczi Message-ID: <20140918104922.GF8847@stefanha-thinkpad.redhat.com> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cz6wLo+OExbGG7q/" Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] qemu process stuck in Rl state List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andrey Korolyov Cc: "qemu-devel@nongnu.org" --cz6wLo+OExbGG7q/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 17, 2014 at 11:56:57PM +0400, Andrey Korolyov wrote: > I`ve faced an issue with qemu VMs with very large uptime spans - half > of year or so. They are hanging in running state forever and are not > killable in any imaginable fashion. Tried to freeze it via freezer cg > without any luck. VM itself went unresponsive with zero cpu > consumption after reaching 'forever running' point. >=20 > I am going to reset the host in a couple of hours, so any timed ideas > for debugging this state will be very appreciated. A couple of shots at figuring out what the process is doing: cat /proc/$PID/stack cat /proc/$PID/syscall gdb $PID (gdb) thread apply all bt --cz6wLo+OExbGG7q/ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUGriyAAoJEJykq7OBq3PIkpwIALXzF73LwIIHVAo1MKwc6YQo q60rXsieAWxeKMwW2RshHFamDpTDZxqkTCiMxabbnzNmlKhmcgyhNJPY6V2+aCS+ fVxZEyWh7IG18GWiGGu+QqPbSFo3yfKckhciztSskAXT3XV5Qfw2UfGO240ytKpX 11n4Fj+VA00v14tarRBr9BCEYGo0rnwm0X9QFBu3GYyQ9P6U72tzu2eHHei1wA7+ QJswaDnkSWQd+GKXcz8n23OseO8oas1cmrHOeaucbmHyjTtFLnR40/ahZ/acF6sP zoIlk1+ujG5BnJ0Apos6020KnYTxhYEnRH0N1NciVhW+xPWFHYBMQR1dVu5PWXs= =QroD -----END PGP SIGNATURE----- --cz6wLo+OExbGG7q/--