Branch for xorg-server

James Westby james.westby at canonical.com
Thu Dec 10 12:54:28 GMT 2009


On Thu Dec 10 12:46:22 +0000 2009 Matt Zimmerman wrote:
> On Thu, Dec 10, 2009 at 12:42:19PM +0000, James Westby wrote:
> > On Thu Dec 10 09:11:08 +0000 2009 Matt Zimmerman wrote:
> > > On Thu, Dec 10, 2009 at 01:38:54AM +0000, James Westby wrote:
> > > > > 2- if so, should we put them into bugs? against udd?
> > > > 
> > > > I do point people to the udd project when they ask, and that's
> > > > where most reports are now coming in.
> > > > 
> > > > xorg-server running again now. Let's see if it hits the OOPS again.
> > > 
> > > http://package-import.ubuntu.com/failures/.bzr/failures/xorg-server says it
> > > failed with:
> > > 
> > > chmod:
> > > `xorg-server-1.5.99.3.orig.tmp-nest/xorg-server-1.5.99.3/hw/dmx/doc/html': Too
> > > many open files
> > > 
> > > which seems more than a little suspicious.  Is it running inside of Xen or
> > > something like that?
> > 
> > I don't think so. It's likely that I am leaking file descriptors somewhere.
> > 
> > I will audit the code some more, but I would be interested in ideas from the
> > bzr team as to what operations may leak descriptors if I am not careful, or
> > how to track them down. I never use bare open() calls, so the leaks are
> > coming from elsewhere.
> 
> It seemed suspicious to me because chmod() should have a low and fixed
> maximum number of open files, and yet it seems to be succeeding on most of
> the tree but failing on others.  I assume the program calling it is simply
> waiting for it to exit, so it shouldn't be opening extra files during the
> run.  Maybe it's hitting a global limit rather than a per-process limit (due
> to other stuff running on the machine at the same time)?

There can be several imports running in different processes at once, so
that's possible.

All we are doing at this point is running dpkg-source, which is probably
just running and waiting for chmod -R, so your analysis would seem correct.

Thanks,

James



More information about the ubuntu-distributed-devel mailing list