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

Re: Repository "hung"

From: Brandon Ehle <azverkan_at_yahoo.com>
Date: 2002-12-18 18:17:36 CET

>
>
>Some 10 minutes later with nothing more, I ctrl-c the job. Think. DAMN!
>apache is still running. Stop apache. Now try to recover. Same result
>"Please stand by . . ." then nothing. Checking the process usage, svnadmin
>is sitting at 10-15% of CPU.
>
>
Verify that ALL the "httpd" processes are gone, as shutting down apache
normally when something wedges the repository rarely ever results in all
apache processes exiting, then manually removed the leaked semaphores
with "ipcs" and "ipcrm -s". Any semaphores under the user/group
"apache" that are still alive after apache exited need to be removed, if
not, then eventually your machine will run out of semaphores and need a
reboot.

>Check filesystem. It's full. Bother. Remove heaps of stuff. Filesystem
>now down to 60%. Try recover again. Same result "Please stand by . . ."
>then nothing more after 5-10 minutes.
>
>
Before running recover, goto the repository/db directory and run "lsof
*". If you see anything accessing the files kill it. Then run
recover. While recover is running you can use "lsof *" to watch its
progress (in a catastrophic recovery, it will walk through the log files
a few at a time).

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 18 15:13:48 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.