All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <aliguori@us.ibm.com>
To: Dan Smith <danms@us.ibm.com>
Cc: Xen Developers <xen-devel@lists.xensource.com>, Ian.Pratt@cl.cam.ac.uk
Subject: Re: [RFC] Xend configuration option for console memory limit
Date: Tue, 11 Oct 2005 14:29:29 -0500	[thread overview]
Message-ID: <434C1299.8090502@us.ibm.com> (raw)
In-Reply-To: <87ek6rj25k.fsf@us.ibm.com>

I think this is a reasonable solution.  One thing to discuss is what the 
default limit should be.  4k was the old limit w/xcs and that was 
obviously unacceptable.  Something like 1MB is probably more than 
enough.  I'm of course wary to see there being any possibility of 
console data loss but this is neccessary to avoid DoS attacks.

Regards,

Anthony Liguori

Dan Smith wrote:

>Bug #296 describes the possible Out-Of-Memory outcome of a console
>flood.  Currently, xenconsoled has the ability to obey a limit, but
>Xend does not set it, to prevent console message loss.
>
>I propose that a configuration option be added to xend-config.sxp that
>sets the limit.  That way, a user with a large console buffer
>requirement can easily set it, and OOM situations can be avoided.
>
>I'll be happy to knock up a patch if this sounds reasonable.
>
>Thoughts?
>
>  
>

      reply	other threads:[~2005-10-11 19:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-11 19:15 [RFC] Xend configuration option for console memory limit Dan Smith
2005-10-11 19:29 ` Anthony Liguori [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=434C1299.8090502@us.ibm.com \
    --to=aliguori@us.ibm.com \
    --cc=Ian.Pratt@cl.cam.ac.uk \
    --cc=danms@us.ibm.com \
    --cc=xen-devel@lists.xensource.com \
    /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.