[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-07 23:48:43 CEST

kfogel@collab.net writes:

> Stephen, I'm passing your mail along to dev@. If this is
> reproducable, it's a real problem. Folks, see below:

I think it must be an OSX thing, I can't reproduce it on my Linux box.

>> 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

>> PASS: diff-diff3-test 4: 3-way merge, non-overlapping changes
>> PASS: diff-diff3-test 5: 3-way merge, non-conflicting overlapping
>> changes
>> PASS: diff-diff3-test 6: 3-way merge, conflicting overlapping changes
>> PASS: diff-diff3-test 7: random trivial merge (seed:3366488657)
>> PASS: diff-diff3-test 8: random 3-way merge (seed:3461334650)
>> PASS: diff-diff3-test 9: merge with part already present (seed:
>> 1461195583)
>> PASS: diff-diff3-test 10: 3-way merge, adjacent changes
>> END: diff-diff3-test

On my linux box I can do 'ulimit -n 7' (max 7 open files) and run
diff-diff3-test without a problem. If I do 'ulimit -n 6' all the
tests fail. In particular the second test fails on the first of the
17 diffs, not on the tenth ('foo4' rather than 'bar10'):

svn_tests: Can't open file 'foo4': Too many open files
FAIL: lt-diff-diff3-test 2: 2-way unified diff and trivial merge

We need someone with an OSX box to debug this.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Aug 7 23:51:16 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.