xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Mark van Dijk <lists+xen@internecto.net>
To: Keir Fraser <keir@xen.org>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>, xen-devel@lists.xen.org
Subject: Re: Possible bug with huge unflushed console buffer
Date: Fri, 10 Aug 2012 11:29:12 +0200	[thread overview]
Message-ID: <20120810112912.6df40924@internecto.net> (raw)
In-Reply-To: <CC48557F.484FE%keir@xen.org>

Greetings,

> > The behaviour I encountered i.e. a system lock seems to suggest that
> > there was some kind of buffer overflow. And this can be achieved by
> > something as simple as 'iptables -I INPUT -j LOG'. Perhaps it is a
> > wise idea to consider xl console -c to clear the console's history,
> > then at least I could exit the console and clear unsent messages...
> 
> Is your VM logging to its virtual serial line? You could just not do
> that...

Correct, it is logging to the virtual serial line and you're right, I
could just not do that. But isn't that just a workaround?

I just think that if you emulate something like a serial line, it should
be emulated properly. Why don't we just discard the data that is sent
to a detached serial line? That's what bare metal servers do too, right?

> I think this is due to the guest's qemu-dm process stuffing its
> transmitted serial data into a pty, to be consumed by 'xl console',
> and if that doesn't happen the buffers fill up, serial processing
> stops, and we back up all the way to the guest.

Right. So the issue is only with the guest, not with the hypervisor.
That's a relief. :)

-- 
Stay in touch,
Mark van Dijk.               ,--------------------------------
----------------------------'        Fri Aug 10 09:11 UTC 2012
Today is Boomtime, the 3rd day of Bureaucracy in the YOLD 3178

      reply	other threads:[~2012-08-10  9:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-08 15:43 Possible bug with huge unflushed console buffer Mark van Dijk
2012-08-08 16:42 ` Keir Fraser
2012-08-10  9:29   ` Mark van Dijk [this message]

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=20120810112912.6df40924@internecto.net \
    --to=lists+xen@internecto.net \
    --cc=keir@xen.org \
    --cc=konrad.wilk@oracle.com \
    --cc=xen-devel@lists.xen.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).