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

"svnadmin dump" run as Windows service killed by user logoff event

From: Nicolas Hannebicque <nhannebicque_at_cofisun.com>
Date: Wed, 6 Jan 2010 06:04:46 -0800 (PST)

Hello

In my company, we use a homemade Windows service to launch processes on remote servers (one service per server). A central scheduling program connects to the remote service and then fires jobs on the machine.

This way, backup of our SVN repository is scheduled and the command "svnadmin.exe dump D:\SVN_repos > D:\SVN_backups\myfile.dmp" is launched through this Windows service.

Yesterday, while testing and stressing this solution, I noticed svnadmin.exe has been killed during its dump when I was logging off the server ("2010-01-05 16:23:12,682 TRACE [Service] svnadmin: Caught signal" in the log). After searching a bit on my favourite search engine, I realized that, on Windows, every process (even services!) receives a CTRL_LOGOFF_EVENT, and if this signal is not caught by the program, process is killed.

Did you run into such a situation? If yes how did you make it work? If no, don't you think I should file an issue? I could suggest be add a parameter to svnadmin to reduce OS signals usage [like -Xrs flag for several JVMs].

Thanks in advance for your help,

Nicolas

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2435167

Please start new threads on the <users_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.
Received on 2010-01-06 15:12:33 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.