inode usage: when to delete transactions files after committing failed

2018-01-03 Thread Keva-Slient
there are many transactions files after committing failed in my svn server. they cost lots of inodes. when and how can i delete them? i've found out that server will generate new transaction dir xx/db/transactions/[0-9]+\-[0-9]+.txn dir after each failed committing. any tool can delete them

Re: inodes usage of svn server

2018-01-03 Thread Branko Čibej
On 03.01.2018 22:04, Bo Berglund wrote: > On Wed, 3 Jan 2018 21:16:02 +0100, Branko ?ibej > wrote: > >> And there's your answer to the question of day to day performance of the >> repository: Subversion also has to open many vs. just one file when its >> reading historical revisions, so packing wi

Re: inodes usage of svn server

2018-01-03 Thread Bo Berglund
On Wed, 3 Jan 2018 21:16:02 +0100, Branko ?ibej wrote: >And there's your answer to the question of day to day performance of the >repository: Subversion also has to open many vs. just one file when its >reading historical revisions, so packing will definitely help to reduce >the number of directo

Re: inodes usage of svn server

2018-01-03 Thread Branko Čibej
On 03.01.2018 21:13, Dave Huang wrote: > On 1/3/2018 13:19, Nico Kadel-Garcia wrote: >> NTFS also has limits on the maximum number of files for a filesystem. > > FWIW, that limit is 2^32 - 1 files, or approximately 4 billion (see > Table 3.12 of https://technet.microsoft.com/en-us/library/cc938432.

Re: inodes usage of svn server

2018-01-03 Thread Dave Huang
On 1/3/2018 13:19, Nico Kadel-Garcia wrote: NTFS also has limits on the maximum number of files for a filesystem. FWIW, that limit is 2^32 - 1 files, or approximately 4 billion (see Table 3.12 of https://technet.microsoft.com/en-us/library/cc938432.aspx) There are also notable performance l

Re: inodes usage of svn server

2018-01-03 Thread Nico Kadel-Garcia
On Wed, Jan 3, 2018 at 11:54 AM, Bo Berglund wrote: > On Wed, 3 Jan 2018 09:52:32 -0500, Nico Kadel-Garcia > wrote: > >>Please stop confusing "inode" with "disk space" It's more like you've >>run out of boxes to put things in, i.e. inodes, than running out of >>space to store store the boxes (i.e

Re: inodes usage of svn server

2018-01-03 Thread Bo Berglund
On Wed, 3 Jan 2018 09:52:32 -0500, Nico Kadel-Garcia wrote: >Please stop confusing "inode" with "disk space" It's more like you've >run out of boxes to put things in, i.e. inodes, than running out of >space to store store the boxes (i.e., disk space). Please do not confuse me with the original p

Re: inodes usage of svn server

2018-01-03 Thread Nico Kadel-Garcia
On Wed, Jan 3, 2018 at 1:50 AM, Bo Berglund wrote: > On Tue, 2 Jan 2018 22:20:13 -0500, Nico Kadel-Garcia > wrote: > >>On Tue, Jan 2, 2018 at 9:37 PM, Keva-Slient <356730...@qq.com> wrote: >>> >>> inodes usage of my svn server grows up quickly as repositories commits >>> increasing. >>> there ar

Re: inodes usage of svn server

2018-01-03 Thread Daniel Shahaf
Bo Berglund wrote on Wed, 03 Jan 2018 07:50 +0100: > Is this a one-time cleanup operation or does it need to be executed > regularly? Regularly. > I.e. does running "svnadmin pack" on the repo consolidate > the many files into a smaller number of big files and set some > repository property such