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

Re: Monitoring subversion usage

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-03-15 15:46:02 CET

On Mar 15, 2005, at 2:45 AM, Jean Lofts wrote:

> Hello All
> I'm fairly new to subversion but have a (simple?) question
> about monitoring usage.
> Each user has a folder at the top level of our single
> repository. They only have write access in their own folder.
> We are using the Berkeley DB backend.
> On a traditional filesystem it's easy for me to monitor how
> much disk space each user is consuming and send off an
> email if somebody is being too greedy.

You realize that BDB just grows and grows, right? It never, ever gets
smaller? If a user commits a huge file to his repository area, then
gets scolded and deletes the file, the file still remains in history
forever. The database doesn't shrink.

That said, you can certainly write a program to use the svn_fs.h API to
walk the repository filesystem and add up file-sizes. I'm just not
sure that your quota idea makes any sense to enforce anymore.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 15 15:48:38 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.