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

Re: svn eats all memory, OOM killer kicks in

From: Marcelo E. Magallon <marcelo.magallon_at_bigfoot.com>
Date: 2002-04-14 10:11:45 CEST

>> cmpilato@collab.net writes:

> > At this point I assume the repository has been corrupted. How can I
> > verify or deny this?
>
> You could use the `svnadmin' and `svnlook' tools to see what your
> youngest revision is, what paths exist in it, etc. That would be
> really useful information.

 Hmm... ok...

[46 ysabell:~/tmp/wmaker/work/svn] svn ci -m "test"
Adding branches/upstream/src/DI.h

svn_error: #21068 : <File already exists in revision>
  Commit failed (details follow):

svn_error: #21068 : <File already exists in revision>
  file already exists: filesystem `/home/marcelo/tmp/wmaker/svn/db', transaction `2', path `/branches/upstream/src/DI.h'

[50 ysabell:~/tmp/wmaker/work/svn] svnadmin lscr /home/marcelo/tmp/wmaker/svn /branches/upstream/src/DI.h
1

[55 ysabell:~/tmp/wmaker/work/svn] svnadmin lstxns --long /home/marcelo/tmp/wmaker/svn
Txn 1:
Created: Sun 14 Apr 2002 09:51:08.211195 (day 104, dst 1, gmt_off 007200)
Author: marcelo
Log (4 bytes):
test
==========================================
 branches/ <1.1>
  upstream/ <2.1>
   src/ <568.1>
    DI.h <569.1> [7515]

Txn 2:
Created: Sun 14 Apr 2002 09:52:44.540481 (day 104, dst 1, gmt_off 007200)
Author: marcelo
Log (4 bytes):
test
==========================================
 branches/ <1.1>
  upstream/ <2.1>
   src/ <568.1>
    DI.h <569.1> [7515]

(I hope I didn't trim much information)

[58 ysabell:~/tmp/wmaker/work/svn] svnlook /home/marcelo/tmp/wmaker/svn tree
/
 branches/
  upstream/
   src/
    DI.h

[61 ysabell:~/tmp/wmaker/work/svn] svn status | grep DI.h
A ./branches/upstream/src/DI.h

[62 ysabell:~/tmp/wmaker/work/svn] svn status | grep ^A | wc -l
    194

[63 ysabell:~/tmp/wmaker/work/svn] find -name .svn -prune -o -type f -print | wc -l
    733

If I'm reading the output of those last three commands correctly, some
files were recorded as added to the repository and some are still
scheduled for addition.

If I check out everything from the repository I get:

[73 ysabell:~/tmp/wmaker/work/tmp] find -name .svn -prune -o -type f -print | wc -l
    733
[77 ysabell:~/tmp/wmaker/work] diff -ruN -x .svn svn/ tmp/svn/
[78 ysabell:~/tmp/wmaker/work]

where svn/ contains the original checked-in files and tmp/svn/ is the
fresh checkout.

There doesn't seem to be differences between the working copy where I
performed the check-in and a newly checked-out copy. It seems the
repository is ok but the working copy was left in an inconsistent state.
An 'svn update' in the original working copy spin on:

select(0, NULL, NULL, NULL, {0, 1000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 2000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 4000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 8000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 16000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 32000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 64000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 128000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 256000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 512000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
...

I hope this is useful,

Marcelo

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Apr 14 10:12:51 2002

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.