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

RE: Apache SVN commit fail

From: Bill Huang-黃靖翔 <Bill.Huang_at_unizyx.com.tw>
Date: Thu, 25 Jan 2018 10:14:01 +0000

Dear Sir:

Thanks for your reply

1.
Good thing that you reproduced it on a new, clean repository. This new repository is on a similar environment, with the same SVN server version?

Yes , same SVN server version .


2.
Since you mentioned that the error only occurs if the total size of the commit gets large, the first suspect is the back-end filesystem. I think SVN internally has no (practical) limit on the total size of the commit. But in the end a commit becomes a single "rev" file on the back-end. The size of that rev file depends on the incoming files, and compression and deltification that the server applies.

In the error message above that back-end filesystem is on '/var/lib/svn/0_IT_test/Bill/db'. If you take a look there, you'll see directories 'revs', 'transactions', 'txn-protorevs', ... Is there a maximum file size limit on the level of the filesystem there? Is there enough diskspace? Is there anything special with the way you set things up? Are these local filesystems, or networked filesystems connected via NFS or SMB? Did you perhaps mount 'revs' and 'transactions' from different filesystems? Any special write-caching options that could be playing a role here? ... Those are all potential areas for further investigation.


May I know how do I setting it ? which file can I adjust ?
I think my SVN server is default setting, because I do not have adjust any setting.
And my server is physical machine Dell-R230 and free space is 1.4T , so I think diskspace is normal

Attachments for my settings and server status
And I just setting attachments file 02 and 03
May I know have any more setting about SVN how can I try to setting it



Thanks





-----Original Message-----
From: Johan Corveleyn [mailto:jcorvel_at_gmail.com]
Sent: Thursday, January 25, 2018 5:23 PM
To: Bill Huang-黃靖翔 <Bill.Huang_at_unizyx.com.tw>
Cc: 黃靖翔 <mushboy8520_at_yahoo.com.tw>; Subversion <users_at_subversion.apache.org>
Subject: Re: Apache SVN commit fail

Hi Bill,

Please use "reply all" to keep the mailinglist in cc, so others can help as well.
And as I said before, we prefer "bottom-posting" on this list, or inline replying (if at all possible). Anyway, some more info below ...

On Thu, Jan 25, 2018 at 3:10 AM, Bill Huang-黃靖翔
<Bill.Huang_at_unizyx.com.tw> wrote:
> Dear Johan
>
>
> Thanks for your relpy !
>
> I create a new SVN server and create new repository But commit file
> still have a problem
>
> May I know SVN commit file have any limit ?
> Such as commit file size total can't exceed 10GB ?
>
> Because when I commit less file (total size 1G) it can normal.
> But when commit a lot of file (total size about 50GB) it will fail
>
> Error message as I submitted to you before

For context, I'm pasting the error messages from the previous mail:

    [Thu Jan 18 18:59:47.799933 2018] Could not MERGE resource "/svn/0_IT_test/Bill/!svn/txn/4-e" into "/svn/0_IT_test/Bill". [500, #0]
    [Thu Jan 18 18:59:47.799948 2018] An error occurred while committing the transaction. [500, #160014]
    [Thu Jan 18 18:59:47.799950 2018] Reference to non-existent node '_2j3j.0.t4-e' in filesystem '/var/lib/svn/0_IT_test/Bill/db' [500, #160014]

You also said:
>> > SVN server is ubuntu 16.04
>> > SVN version is 1.9.3

Good thing that you reproduced it on a new, clean repository. This new repository is on a similar environment, with the same SVN server version?

Since you mentioned that the error only occurs if the total size of the commit gets large, the first suspect is the back-end filesystem. I think SVN internally has no (practical) limit on the total size of the commit. But in the end a commit becomes a single "rev" file on the back-end. The size of that rev file depends on the incoming files, and compression and deltification that the server applies.

In the error message above that back-end filesystem is on '/var/lib/svn/0_IT_test/Bill/db'. If you take a look there, you'll see directories 'revs', 'transactions', 'txn-protorevs', ... Is there a maximum file size limit on the level of the filesystem there? Is there enough diskspace? Is there anything special with the way you set things up? Are these local filesystems, or networked filesystems connected via NFS or SMB? Did you perhaps mount 'revs' and 'transactions' from different filesystems? Any special write-caching options that could be playing a role here? ... Those are all potential areas for further investigation.

--
Johan
This email and any files transmitted with it may contain information of Unizyx Holding Corporation that are privileged / confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the named addressee you should not disseminate, disclose, distribute, copy, or use this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.

01.png
02.png
03.png
Received on 2018-01-25 11:14:19 CET

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.