The DB got hung again. I did the usual routine, with one minor
variation: at Greg Stein's suggestion, I shut down Apache before
running recover. Recovery took less than a minute this time:
[svn@svn db]$ ps aux | grep apach
root 20235 0.0 0.7 4352 1976 ? S 14:32 0:00 /usr/local/apache
svn 20236 0.9 8.6 24972 22020 ? S 14:32 1:47 /usr/local/apache
svn 20237 0.0 6.5 20320 16628 ? S 14:32 0:11 /usr/local/apache
svn 20238 1.5 17.9 49052 45792 ? S 14:32 3:06 /usr/local/apache
svn 20239 0.0 2.7 9444 7104 ? S 14:32 0:02 /usr/local/apache
svn 20240 0.3 5.7 16976 14760 ? S 14:32 0:37 /usr/local/apache
svn 20242 0.0 1.5 6488 3984 ? S 14:32 0:00 /usr/local/apache
svn 20254 0.0 2.3 8344 5900 ? S 14:35 0:02 /usr/local/apache
svn 20267 0.2 16.0 45872 41036 ? S 14:39 0:26 /usr/local/apache
svn 20274 0.0 2.8 9552 7268 ? S 14:41 0:01 /usr/local/apache
svn 20290 0.1 6.0 18664 15372 ? S 14:46 0:21 /usr/local/apache
svn 20291 0.1 11.3 32540 29032 ? S 14:46 0:16 /usr/local/apache
svn 21510 0.0 1.0 5220 2784 ? S 17:42 0:00 /usr/local/apache
svn 21511 0.0 0.7 4412 2036 ? S 17:43 0:00 /usr/local/apache
svn 21512 0.0 0.7 4412 2036 ? S 17:44 0:00 /usr/local/apache
svn 21513 0.0 0.7 4412 2036 ? S 17:47 0:00 /usr/local/apache
svn 21514 0.0 0.7 4412 2036 ? S 17:47 0:00 /usr/local/apache
svn 21515 0.0 0.7 4412 2036 ? S 17:47 0:00 /usr/local/apache
[svn@svn db]$ su
[root@svn db]# /usr/local/apache2/bin/apachectl stop
/usr/local/apache2/bin/apachectl stop: httpd stopped
[root@svn db]# exit
[svn@svn db]$ ls
__db.001 __db.003 __db.005 nodes revisions transactions
__db.002 __db.004 log.0000000135 representations strings
[svn@svn db]$ /usr/local/BerkeleyDB.4.0/bin/db_recover -ve
db_recover: Finding last valid log LSN: file: 135 offset 8145058
db_recover: Checkpoint at: [135][8144597]
db_recover: Checkpoint LSN: [135][8139917]
db_recover: Previous checkpoint: [135][7880280]
db_recover: Checkpoint at: [135][7880280]
db_recover: Checkpoint LSN: [135][7880280]
db_recover: Previous checkpoint: [135][7469824]
db_recover: Recovery starting from [135][7880280]
db_recover: Recovery complete at Thu Jan 24 17:49:40 2002
db_recover: Maximum transaction ID 80045ee9 Recovery checkpoint [135][8145519]
db_recover: Recovery complete at Thu Jan 24 17:49:40 2002
db_recover: Maximum transaction id 80000000 Recovery checkpoint [135][8145519]
[svn@svn db]$ su
[root@svn db]# /usr/local/apache2/bin/apachectl start
/usr/local/apache2/bin/apachectl start: httpd started
[root@svn db]# exit
[svn@svn db]$
-Karl
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:59 2006