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

Re: Safe shutdown of apache2/subversion

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-08-09 14:15:41 CEST

On Mon, 2004-08-09 at 02:38, Lukas Ruf wrote:

> Access to the repository is granted over https only. Is there any
> danger in shutting down the apache server of which I must be aware?
> If so, i.e. the repository could be destroyed when I shutdown apache
> because someone would commit anythign, how could I avoid this danger?

As the FAQ says: a process which opens the repository needs to close it
correctly as well. If the process crashes or is forcibly killed, then
the repository is never closed correctly and is left in an inconsistent
state, needing recovery. Running 'apachectl stop', however, does not
"kill" httpd processes: it simply sends them signals meaning,
"terminate yourself when you're done processing your current request."
So it's perfectly safe.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Aug 9 14:17:53 2004

This is an archived mail posted to the Subversion Users mailing list.