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

Re: [Xen-devel] hg 0.7 released


  • To: Matt Mackall <mpm@xxxxxxxxxxx>
  • From: Kip Macy <kip.macy@xxxxxxxxx>
  • Date: Tue, 20 Sep 2005 18:19:57 -0700
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, mercurial@xxxxxxxxxxx, Hollis Blanchard <hollisb@xxxxxxxxxx>
  • Delivery-date: Wed, 21 Sep 2005 01:17:40 +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:references; b=lRFLZ84yD0ljbsapK9ELQ4eJxk6fxP8El6UyF3kuemgbID6yuFbs+9Fx5QUy65NqtKkcimT6mEPxqqRq8u428s380P8IQcITMLQnbNbyLIEiS8syDlWqXEuDxY747qUp8tCTGB0YD750PcQ2r2i2dE8mzk+iKvvtoa5fzToHkT4=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hmm -
What are you doing differently in 0.7 that is causing the server to use more memory?

      -Kip

On 9/20/05, Matt Mackall <mpm@xxxxxxxxxxx> wrote:
On Tue, Sep 20, 2005 at 06:07:34PM -0700, Kip Macy wrote:
> nifty - but 0.7 is not backward compatible with 0.6b:
> %hg clone http://xenbits.xensource.com/xen-unstable.hg
> requesting all changes
> adding changesets
> adding manifests
> adding file changes
> added 6917 changesets with 0 changes to 0 files
> ** unknown exception encountered, details follow
> ** report bug details to mercurial@xxxxxxxxxxx

Not so hasty. The bug is in fact that xenbits is sometimes running out
of memory. Other times it works just fine. Here are the relevant bits
from my diagnosis this morning:

----

And then I added exception handling to the pull code, so that it now
does this:

abort: premature EOF reading chunk (got 75478 bytes, expected
1651992944)!

That expected number says there's probably something else in the
stream. Firing up Ethereal and tracing a connection shows:

<!-- The above is a description of an error in a Python program,
formatted
     for a Web browser because the 'cgitb' module was enabled.  In
     case you
     are not reading this in a Web browser, here is the original
     traceback:

Traceback (most recent call last):
  File "/var/www/html/xen- unstable.hg", line 9, in ?
    h.run()
  File "/usr/local/hg-0.6c/lib/python/mercurial/hgweb.py", line 701,
  in run
    chunk = f.read(4096)
  File "/usr/local/hg-0.6c/lib/python/mercurial/hg.py", line 1442, in
  read
    self.buf += self.g.next()
  File "/usr/local/hg-0.6c/lib/python/mercurial/hg.py", line 1469, in
  gengroup
    for y in self.manifest.group(linkmap): yield y
  File "/usr/local/hg- 0.6c/lib/python/mercurial/revlog.py", line 433,
  in group
    chunks[r] = decompress(data[pos: pos + l])
  File "/usr/local/hg-0.6c/lib/python/mercurial/revlog.py", line 33,
  in decompress
    if t == 'x': return zlib.decompress(bin)
MemoryError

-->

So the server ran out of memory trying to decompress a manifest.

--
Mathematics is the supreme nostalgia of our time.

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

 


Rackspace

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