[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn 1.2.1 os x: make check fails b/c of too many open files

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-08-09 21:11:45 CEST

Stephen Davis <stephendavis@mac.com> writes:

> Apparently, I left out an important piece of the puzzle (oops).
>
> I'm building against Apache 2.1.6-alpha. When I remove the "--with-
> apr=/usr/local/apache2/bin/apr-1-config --with-apr-util=/usr/local/
> apache2/bin/apu-1-config" part from my configure script, the tests
> pass.

It looks like it's a bug in APR.

> Anybody else tried this configuration?
>
>>>> START: diff-diff3-test
>>>> PASS: diff-diff3-test 1: these dump core
>>>> svn_tests: Can't open file 'bar10': Too many open files
>>>> FAIL: diff-diff3-test 2: 2-way unified diff and trivial merge
>>
>> This test runs 17 diffs one after the other, it doesn't use an explict
>> subpool. 'bar10' is one of the files in the 10th diff, so it appears
>> to have run 9 diffs before running out of file handles.
>>
>>>> PASS: diff-diff3-test 3: 2-way unified diff where output is suspect
>>
>> main() clears the test pool before running each test. That appears to
>> be enough to make test 3 work after test 2 above fails

Clearing the pool closes the files, which indicates that APR is
tracking the file descriptors. Subversion appears to be closing all
files it opens so it looks like APR is opening extra files 'under the
hood'. I don't know where, mmap or iconv perhaps?

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 9 21:14:26 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.