AW: bzr selftest (on solaris 10): too may open files

Voelker, Bernhard bernhard.voelker at siemens.com
Fri Nov 21 11:18:20 GMT 2008


John Arbash Meinel wrote:

> Well, according to the earlier parts of this thread, the open handles
> are sockets. And I'm pretty sure you can't open a socket with fopen.

yes, that's clear.

> You could try exercising that by having a simple server and connecting
> to it many times.

On that Solaris 5.20 host, the client fails at:

	opening socket 2044
	opening socket 2045
	Traceback (most recent call last):
	  File "client.py", line 6, in ?
	  File "/usr/lib/python2.4/socket.py", line 148, in __init__
	socket.error: (24, 'Too many open files')

So it hits the real ulimit, not that FILE structure limitation.

For `bzr selftest`, this means that either
a) one of the tests fopen()s a lot of files, or
b) the threads don't get GCed,
or a combination of them.

Have a nice day,
Berny



More information about the bazaar mailing list