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

Re: ISSUE: "To many open files" not being logged by master server when sync fails.

From: Kenneth Miles <kmiles_at_voyagergaming.com>
Date: Mon, 21 May 2012 10:54:57 +1000

On 17/05/12 02:05, Philip Martin wrote:
> Kenneth Miles<kmiles_at_voyagergaming.com> writes:
>
>
>> On 04/05/12 20:09, Philip Martin wrote:
>>
>>> Kenneth Miles<kmiles_at_voyagergaming.com> writes:
>>>
>>>
>>>
>>>>> I'm not sure if a specific revision is causing the issue. But it
>>>>> always fails replaying on a certain revision number as seen in the
>>>>> stack trace.
>>>>>
>>>>> It is definitely opening multiple files more than once. It closes
>>>>> all file handles once the abort-edit is sent.
>>>>>
>>>>> Can i check anything else?
>>>>>
>>>>>
>>>>>
>>>> There are 1054 file adds and 1054 property changes on those files.
>>>>
>>>>
>>> I can't reproduce it. Are you able to come up with a complete recipe?
>>> Starting with "svnadmin create", doing a checkout, adding files, setting
>>> properties, commiting, "svnsync init", etc.
>>>
>>> Failing that can you tell us which files are open? Look in /proc/NNN/fd
>>> or perhaps
>>>
>>> strace -etrace=open,close -fp NNN
>>>
>>> where NNN is the svnserve process ID will help.
>>>
>>>
>>>
>> /tmp/work/svn/egm/db/revs/1/1487
>> /tmp/work/svn/egm/db/revs/1/1487
>> /tmp/work/svn/egm/db/revs/1/1487
>> /tmp/work/svn/egm/db/revs/1/1487
>> /tmp/work/svn/egm/db/revs/1/1487
>> /tmp/work/svn/egm/db/revs/1/1487
>> /tmp/work/svn/egm/db/revs/1/1487
>> /tmp/work/svn/egm/db/revs/1/1487
>> /tmp/work/svn/egm/db/revs/1/1487
>> /tmp/work/svn/egm/db/revs/1/1487
>> /tmp/work/svn/egm/db/revs/1/1487
>> /tmp/work/svn/egm/db/revs/1/1487
>>
> You didn't say whether these are the files opened sequentially during an
> strace run or files open simultaneously from /proc/NNN/fd.
>
> I'm still not able to reproduce the bug. Which version of svnserve are
> you running? If you do:
>
> svnadmin create ...
> svnsync init ...
> svnsync sync ...
>
> to get a fail and then you repeat
>
> svnsync sync ...
>
> does it fail a second time? If it fails a second time that indicates a
> problem with that one revision, otherwise it may be a problem that
> accumulates over multiple revisions.
>
> When you say:
>
> "There are 1054 file adds and 1054 property changes on those files."
>
> are those simple adds, or are they copies? Are they all in one dir or
> spread out over multiple dirs?
>
>

The problem replicates when i create a new repository and init and sync.

The files are simple adds ( *.png ) and they are in 2 directories.

-- 
Kenneth Miles
(Software Engineer)
Voyager Gaming Technologies
Ph: +61 7 3482 9124
Mobile: 0407178204
20 Duntroon Street
Brendale Qld 4500

Received on 2012-05-21 02:54:33 CEST

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

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