All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] Xend configuration option for console memory limit
@ 2005-10-11 19:15 Dan Smith
  2005-10-11 19:29 ` Anthony Liguori
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Smith @ 2005-10-11 19:15 UTC (permalink / raw)
  To: Xen Developers; +Cc: Ian.Pratt

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?

-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms@us.ibm.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [RFC] Xend configuration option for console memory limit
  2005-10-11 19:15 [RFC] Xend configuration option for console memory limit Dan Smith
@ 2005-10-11 19:29 ` Anthony Liguori
  0 siblings, 0 replies; 2+ messages in thread
From: Anthony Liguori @ 2005-10-11 19:29 UTC (permalink / raw)
  To: Dan Smith; +Cc: Xen Developers, Ian.Pratt

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?
>
>  
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-10-11 19:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-11 19:15 [RFC] Xend configuration option for console memory limit Dan Smith
2005-10-11 19:29 ` Anthony Liguori

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.