Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8BA1290B5 for ; Thu, 27 Oct 2011 08:48:30 +0000 (UTC) Received: (qmail 35790 invoked by uid 500); 27 Oct 2011 08:48:29 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 35752 invoked by uid 500); 27 Oct 2011 08:48:23 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 35745 invoked by uid 99); 27 Oct 2011 08:48:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2011 08:48:21 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bra@fsn.hu designates 195.228.252.137 as permitted sender) Received: from [195.228.252.137] (HELO people.fsn.hu) (195.228.252.137) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2011 08:48:14 +0000 Received: by people.fsn.hu (Postfix, from userid 1001) id 509A9ACABDD; Thu, 27 Oct 2011 10:47:52 +0200 (CEST) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MF-ACE0E1EA [pR: 13.3473] X-CRM114-CacheID: sfid-20111027_10475_823717C3 X-CRM114-Status: Good ( pR: 13.3473 ) X-DSPAM-Result: Whitelisted X-DSPAM-Processed: Thu Oct 27 10:47:52 2011 X-DSPAM-Confidence: 0.9948 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 4ea91ab823741046420866 X-DSPAM-Factors: 27, From*Attila Nagy , 0.00010, wrote+>, 0.00174, svn, 0.00221, svn, 0.00221, cache, 0.00258, >+>, 0.00280, ||, 0.00295, ||, 0.00295, buffer, 0.00326, tree, 0.00386, >+>>, 0.00386, >+>>, 0.00386, to+1, 0.00412, wrote, 0.00480, disks, 0.00561, I'm+trying, 0.00617, 1+>, 0.00685, core, 0.00739, References*fsn.hu>, 0.00770, writes, 0.00770, solved, 0.00770, >+The, 0.00810, files, 0.00839, a+working, 0.00879, inode, 0.00879, writes+>, 0.01000, X-Spambayes-Classification: ham; 0.00 Received: from japan.t-online.private (japan.t-online.co.hu [195.228.243.99]) by people.fsn.hu (Postfix) with ESMTPSA id C5949ACABCF; Thu, 27 Oct 2011 10:47:51 +0200 (CEST) Message-ID: <4EA91AB7.7050903@fsn.hu> Date: Thu, 27 Oct 2011 10:47:51 +0200 From: Attila Nagy User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.23) Gecko/20090817 Thunderbird/2.0.0.23 Mnenhy/0.7.6.0 MIME-Version: 1.0 To: Philip Martin CC: users@subversion.apache.org Subject: Re: Assertion failed and crash with 1.7.1 References: <4EA7CC74.5000406@fsn.hu> <87y5w73mcb.fsf@stat.home.lan> In-Reply-To: <87y5w73mcb.fsf@stat.home.lan> X-Stationery: 0.7.5 Content-Type: multipart/alternative; boundary="------------040303000005050603020504" This is a multi-part message in MIME format. --------------040303000005050603020504 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 10/26/11 15:37, Philip Martin wrote: > Attila Nagy writes: > >> I'm trying to update a working copy of some tens of GBs with svn 1.7.1 > Did you upgrade with 1.7.0 or 1.7.1? I've upgraded the WC with 1.7.0, then switched to 1.7.1, which I'm currently using. The upgrade took nearly one week (I can't afford a clean checkout, because I have to preserve the files' inode numbers), at the start it was running very fast, and at the end of the week it could print a new directory in every 8-10 seconds, while the svn processes CPU usage was 100%. The disks weren't touched, it seems that even with a database completely in the OS's buffer cache the SQL operations are pretty slow with a lot of files. Could it be because some indexes are missing (or not optimized for this amount of files), or it is what we could get from SQLite? > >> $ svn up >> Updating '.': >> svn: E235000: In file 'subversion/libsvn_wc/update_editor.c' line >> 1582: assertion failed (action == svn_wc_conflict_action_edit || >> action == svn_wc_conflict_action_delete || action == >> svn_wc_conflict_action_replace) >> Abort (core dumped) > Can you show us a gdb stack trace? I'm sorry, this is a production machine and this error caused a major lockup in our business processes, so I've had to work around it, and I lost the core file in the process. BTW, there was one tree conflict somewhere, it seems that an svn resolve solved the issue. > > How many working nodes do you have? > sqlite3 .svn/wc.db "select count (*) from nodes where op_depth> 0" > The query say that I have one. (now, after the conflict resolution) --------------040303000005050603020504 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 10/26/11 15:37, Philip Martin wrote:
Attila Nagy <bra@fsn.hu> writes:

I'm trying to update a working copy of some tens of GBs with svn 1.7.1
Did you upgrade with 1.7.0 or 1.7.1?
I've upgraded the WC with 1.7.0, then switched to 1.7.1, which I'm currently using.
The upgrade took nearly one week (I can't afford a clean checkout, because I have to preserve the files' inode numbers), at the start it was running very fast, and at the end of the week it could print a new directory in every 8-10 seconds, while the svn processes CPU usage was 100%.
The disks weren't touched, it seems that even with a database completely in the OS's buffer cache the SQL operations are pretty slow with a lot of files.
Could it be because some indexes are missing (or not optimized for this amount of files), or it is what we could get from SQLite?

$ svn up
Updating '.':
svn: E235000: In file 'subversion/libsvn_wc/update_editor.c' line
1582: assertion failed (action == svn_wc_conflict_action_edit ||
action == svn_wc_conflict_action_delete || action ==
svn_wc_conflict_action_replace)
Abort (core dumped)
Can you show us a gdb stack trace?
I'm sorry, this is a production machine and this error caused a major lockup in our business processes, so I've had to work around it, and I lost the core file in the process.
BTW, there was one tree conflict somewhere, it seems that an svn resolve solved the issue.

How many working nodes do you have?
sqlite3 .svn/wc.db "select count (*) from nodes where op_depth > 0"

The query say that I have one. (now, after the conflict resolution)

--------------040303000005050603020504--