Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.
I am using CruiseControl, and want to use ViewCVS (but it doesn't work after I installed it). How would I know if the "client fail[ed] to finish reading the output stream from the server process"? What can I do to prevent it from happening? ..David.. -----Original Message----- From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On Behalf Of Arthur Barrett Sent: Monday, January 23, 2006 4:44 PM To: David Jackman; Bo Berglund Cc: cvsnt at cvsnt.org Subject: RE: [cvsnt] Dead cvs.exe processes David, Are you using CruiseControl, ViewCVS or CVSWEB or any other "automated" processes which use CVS? If a client fails to finish reading the output stream from the server process then it can result in a hung server process. Otherwise please do the following: 1) download and install the SysInternals process explorer: http://www.sysinternals.com/Utilities/ProcessExplorer.html 2) download and install the CVSNT PDB files for your version of CVSNT, eg: http://www.cvsnt.org/archive/cvsnt-2.5.03.2214-pdb.zip (this absolutely must match your version of CVSNT). Wait till you have some "hung" processes and stop the cvsservice. Wait a while for normal CVS processes to stop and then use the SysInternals process explorer to examine the processes, in particular: * under process -> properties: + Threads - Stack + TCP/IP + Security + Environment * in the prcess explorer window: + everything, but especially the - Files - Semaphores Finally - do you have VS.NET 2003 installed on the CVS server? Are you licensed for it / could you install the debug libraries? If so then we may be able to send you a debug version so you can pinpoint the exact spot that it is waiting... Regards, Arthur Barrett -----Original Message----- From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On Behalf Of David Jackman Sent: 23 January 2006 19:03 To: Bo Berglund Cc: cvsnt at cvsnt.org Subject: RE: [cvsnt] Dead cvs.exe processes I made the changes on Saturday. Now that people are using the system, I'm already noticing lots of cvs.exe processes, and I again got a cvs server hang (which happens about once a day). (I consider a cvs server hang when it takes more than a minute to service an ls -l cvs command on a small directory.) When I stopped the cvs server, there were 391 cvs.exe processes, and after waiting 4 minutes, 11 were still alive. Apparently, starting with fresh CVSROOT files doesn't fix the problem. Any other ideas? ..David.. -----Original Message----- From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On Behalf Of Bo Berglund Sent: Friday, January 20, 2006 7:47 AM To: David Jackman Cc: cvsnt at cvsnt.org Subject: RE: [cvsnt] Dead cvs.exe processes When you "bring over" an existing repository tree from an older server you should proceed as follows: 1) Install the new CVSNT (2.5.03.2207 for example). Already done. 2) In the control panel of CVSNT add a new repository and let CVSNT initialize it (This means that the ./CVSROOT folder in the repo is created and populated) 3) Copy over the old repository files (all folders and files *except* the CVSROOT folder. 4) Check out CVSROOT somewhere and edit the scripts you want to use as appropriate. At this point you could even copy the script files from your old CVSNT server to the *sandbox* and overwrite the files you have checked out. But please convert the line endings (unix2dos) of these files unless you got them from a CVSROOT sandbox checked out from the old server. Of course you should *not* copy over the RCS files (those ending in ,v). 5) Commit the changed files back in Now I think you are set completely. Notice that all of the file revisions and tags, branches, log messages etc are stored in the RCS files and these are not affected the least by what you do in the CVSROOT folder. So your development content history is quite safe. Best regards, Bo Berglund -----Original Message----- From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On Behalf Of David Jackman Sent: den 20 januari 2006 15:26 To: Flávio Etrusco Cc: cvsnt at cvsnt.org Subject: RE: [cvsnt] Dead cvs.exe processes I'm not sure what you mean by "the module". I did do a standard installation of CVSNT, but the repositories were not created by this installation. They were brought over from a previous CVSNT 2.0.58d installation. Is that my problem? If so, how do I correct it without losing any of my content history? ..David.. -----Original Message----- From: Flávio Etrusco [mailto:flavio.etrusco at gmail.com] Sent: Wednesday, January 18, 2006 3:31 PM To: David Jackman Subject: Re: [cvsnt] Dead cvs.exe processes I indeed meant CVSROOT scripts (historyinfo, taginfo, notify, etc). AFAIK no scripts are setup by the default module init, though, and I don't have any other ideas :-( The module was initialized with your current version of cvsnt, right? (older cvs and cvsnt "servers" used to have a script to generate a 'history' file) -Flávio On 1/18/06, David Jackman <David.Jackman at fastsearch.com> wrote: > Thanks for the response. > I'm not sure what you mean by scripts. With a standard install, are > there scripts installed? I haven't set up any scripts personally. > Looking at these cvs.exe processes in ProcessExplorer I'm not seeing > any subprocesses or open file handles at all. > > ..David.. > > > -----Original Message----- > From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On > Behalf Of Flávio Etrusco > Sent: Wednesday, January 18, 2006 12:02 PM > To: David Jackman > Cc: cvsnt at cvsnt.org > Subject: Re: [cvsnt] Dead cvs.exe processes > > I also haven't seen these for quite some time. > I believe the most likely situation is hanging scripts, since CVS > doesn't have a timeout for running those... Hmmm, maybe it should > have? I guess you could use ProcessExplorer (from sysinternals.com) to > see whether there are subprocess and open files... > > Regards, > Flávio > > On 1/11/06, David Jackman <David.Jackman at fastsearch.com> wrote: > > I'm noticing lots of "dead" cvs.exe processes accumulating over time > > (at least I think they're dead). Is this a common situation? > > What's the likely cause and can it be avoided? > > > > On the devguy installation page > > (http://www.devguy.com/fp/cfgmgmt/cvs/cvs_admin_nt.htm), he talks > > about a nightly cron job to clean these up, but also says he doesn't > > see cvs processes hanging very much anymore. I see it all the time > > now that I've installed 2.5. > > > > ..David.. > _______________________________________________ > cvsnt mailing list > cvsnt at cvsnt.org http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt cvsnt downloads at march-hare.com https://www.march-hare.com/cvspro/en.asp#downcvs @CVSNT on Twitter CVSNT on Facebook > _______________________________________________ cvsnt mailing list cvsnt at cvsnt.org http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt cvsnt downloads at march-hare.com https://www.march-hare.com/cvspro/en.asp#downcvs @CVSNT on Twitter CVSNT on Facebook _______________________________________________ cvsnt mailing list cvsnt at cvsnt.org http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt cvsnt downloads at march-hare.com https://www.march-hare.com/cvspro/en.asp#downcvs @CVSNT on Twitter CVSNT on Facebook _______________________________________________ cvsnt mailing list cvsnt at cvsnt.org http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt cvsnt downloads at march-hare.com https://www.march-hare.com/cvspro/en.asp#downcvs @CVSNT on Twitter CVSNT on Facebook _______________________________________________ cvsnt mailing list cvsnt at cvsnt.org http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt