All of lore.kernel.org
 help / color / mirror / Atom feed
From: Samuel Thibault <admin@listes.aquilenet.fr>
To: admin@listes.aquilenet.fr, Dongli Zhang <dongli.zhang@oracle.com>
Cc: Hans van Kranenburg <hans@knorrie.org>,
	xen-devel <xen-devel@lists.xenproject.org>,
	Debian Xen Team <pkg-xen-devel@lists.alioth.debian.org>
Subject: Re: [admin] [Pkg-xen-devel] [BUG] task jbd2/xvda4-8:174 blocked for more than 120 seconds.
Date: Wed, 20 Feb 2019 00:49:46 +0100	[thread overview]
Message-ID: <20190219234946.wsjvht2fdbfnfdf7@function> (raw)
In-Reply-To: <29cb64d5-1d7f-30d5-d294-c3556b3e02e1@oracle.com>

Dongli Zhang, le lun. 18 févr. 2019 08:09:56 +0800, a ecrit:
> 
> 
> On 2/18/19 5:29 AM, Samuel Thibault wrote:
> > Hello,
> > 
> > Dongli Zhang, le mar. 12 févr. 2019 12:11:20 +0800, a ecrit:
> >> On 02/12/2019 06:10 AM, Samuel Thibault wrote:
> >>> Hans van Kranenburg, le lun. 11 févr. 2019 22:59:11 +0100, a ecrit:
> >>>> On 2/11/19 2:37 AM, Dongli Zhang wrote:
> >>>>>
> >>>>> On 2/10/19 12:35 AM, Samuel Thibault wrote:
> >>>>>>
> >>>>>> Hans van Kranenburg, le sam. 09 févr. 2019 17:01:55 +0100, a ecrit:
> >>>>>>>> I have forwarded the original mail: all VM I/O get stuck, and thus the
> >>>>>>>> VM becomes unusable.
> >>>>>>>
> >>>>>>> These are in many cases the symptoms of running out of "grant frames".
> >>>>>>
> >>>>>> Oh!  That could be it indeed.  I'm wondering what could be monopolizing
> >>>>>> them, though, and why +deb9u11 is affected while +deb9u10 is not.  I'm
> >>>>>> afraid increasing the gnttab max size to 32 might just defer filling it
> >>>>>> up.
> >>>>>>
> >>>>>>>   -# ./xen-diag  gnttab_query_size 5
> >>>>>>>   domid=5: nr_frames=11, max_nr_frames=32
> >>>>>>
> >>>>>> The current value is 31 over max 32 indeed.
> >>>>>
> >>>>> Assuming this is grant v1, there are still 4096/8=512 grant references available
> >>>>> (32-31=1 frame available). I do not think the I/O hang can be affected by the
> >>>>> lack of grant entry.
> >>>>
> >>>> I suspect that 31 measurement was taken when the domU was not hanging yet.
> >>>
> >>> Indeed, I didn't have the hanging VM offhand.  I have looked again, it's
> >>> now at 33. We'll have to monitor to check that it doesn't continue just
> >>> increasing.
> >>
> >> If the max used to be 32 and the current is already 33, this indicates the grant
> >> entries might be used up in the past before the max_nr_frames is tuned.
> > 
> > The number seems to be going up by about one every day. So probably a
> > grant entry leak somewhere :/
> 
> This might not be a grant leak. The block pv driver would hold the persistent
> grant for a long time.
> 
> Juergen has introduced the feature to reclaim the stale grants.
> 
> blkfront since a46b53672b2c2e3770b38a4abf90d16364d2584b
> 
> blkback since 973e5405f2f67ddbb2bf07b3ffc71908a37fea8e

Ok, that hasn't reached Debian Stretch yet :/

Let's keep monitoring for now.

Samuel

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

  reply	other threads:[~2019-02-19 23:49 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-08 17:00 [BUG] task jbd2/xvda4-8:174 blocked for more than 120 seconds Sacha
2019-02-08 17:13 ` [admin] " Samuel Thibault
2019-02-08 19:18   ` [Pkg-xen-devel] " Hans van Kranenburg
2019-02-08 23:16     ` [admin] [Pkg-xen-devel] " Samuel Thibault
2019-02-09 16:01       ` Hans van Kranenburg
2019-02-09 16:35         ` Samuel Thibault
2019-02-11  1:37           ` Dongli Zhang
2019-02-11  8:18             ` Samuel Thibault
2019-02-11 21:59             ` Hans van Kranenburg
2019-02-11 22:10               ` Samuel Thibault
2019-02-12  4:11                 ` Dongli Zhang
2019-02-17 21:29                   ` Samuel Thibault
2019-02-18  0:09                     ` Dongli Zhang
2019-02-19 23:49                       ` Samuel Thibault [this message]
2019-06-01 19:47                       ` Samuel Thibault
2019-06-01 19:47                         ` [Xen-devel] " Samuel Thibault

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190219234946.wsjvht2fdbfnfdf7@function \
    --to=admin@listes.aquilenet.fr \
    --cc=dongli.zhang@oracle.com \
    --cc=hans@knorrie.org \
    --cc=pkg-xen-devel@lists.alioth.debian.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.