[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Quirky Bug: "cat /dev/urandom"


  • To: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
  • From: William Schaller <wschalle@xxxxxxxxx>
  • Date: Tue, 14 Jun 2005 08:32:44 -0400
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 15 Jun 2005 08:25:26 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=K5Onj54ED006rEDf4JCJdgoXwbZm+zKsd55/0w8iwEHqBpqeq8iuxChTXgrq2Xa2FpA5nLtIKMFHDRHfq3IZYIYioHaECULTN+YIhqd7PkCgpInxbbdAIeQ8HelMVt+suORIk1EXedHNMg2tX5JZpPSXecrqt0lKVHRxjK7wPW4=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Here's the scenario: I'm using two ssh windows to control the box.
With one, I start xend, create the domain. With the other, I use xm
console to log into the domain. Logged into the domain, I exec cat
/dev/urandom. Predictably, the screen starts to fill with junk. At
this point, ctrl-c, nor any other method of escaping either cat or
this console will work. Attempting any command using xm or xend in the
other window simply hangs until I ctrl-c. Stopping and restarting xend
has no effect. I can kill the bash process the other window is
running, but if I reconnect to the console, I get the same garbage
dumping endlessly.

I discovered this while testing out the balloon driver. I was going to
cat /dev/urandom > file for a while until I had about 60 GB, then gzip
the file to see if I would get a OOM. But I left off the > file and
ended up with the above conundrum.

-Bill

On 6/14/05, Mark Williamson <mark.williamson@xxxxxxxxxxxx> wrote:
> Since Xend handles console output, splurging huge amounts of text to the
> console is probably breaking it. (which is still a known issue, AFAIK)
> 
> Does the domain actually keep outputting to the console?  Can you disconnect
> and reconnect to the console?  What happens then?
> 
> Cheers,
> Mark
> 
> On Tuesday 14 June 2005 10:45, aq wrote:
> > On 6/14/05, William Schaller <wschalle@xxxxxxxxx> wrote:
> > > If you execute cat /dev/urandom at the xm console of a guest domain,
> > > it will spew garbage forever.
> >
> > one question: what do you expect to get from /dev/urandom?
> >
> > regards,
> > aq
> >
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
>

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.