[cvsnt] 2.5.04.3125 (RC8) Very slow to start processing!

Andy Southby asouthby at drumgrange.co.uk
Wed Oct 29 13:51:53 GMT 2008


Arthur,

I have performed more tests with the 'local' protocol on my local client
(i.e. CVSNT server and repository on client, PDC/BDC should not be
involved) running:

CVSNT 2.5.04.3125 (RC8) (Complete server install) All except for 'CVSNT
enumeration protocol' plug-in disabled.
CVSNT 2.5.04.3229 (RC9) (Complete server install) All except for 'CVSNT
enumeration protocol' plug-in disabled.

Windows XP Pro SP3 (No AV running) as a member of a Win 2003 SP2 AD
domain (PDC & BDC) [Kaspersky AV Vn6.0.2.678 on PDC].

I'm still looking into sniffers, Group Policy changes and open source
delay settings :)

[On a side issue (in case its relevant) when uninstalling RC8 and RC9
the uninstall progress dialogs contain rows of square box characters in
stead of readable ones! The only exception being the version number. I
have some .png files of these dialogs but understand I can't post them
to the list. Did you want me to email them direct to you?]


The new RC9 is even slower than RC8! The initial ~15 second delay prior
to any trace output has now extended to ~60 seconds!

I am totally baffled. :(

Hopefully the following will give you a clue as to where I should go
next? (Sorry for the long post!)

Network cable disconnected: #########################################

// Test 1: (Instant response)
C:\Sandpit>cvs
Output as expected...


// Test 2: (Instant response)
C:\Sandpit>cvs -ver
Output as expected...


// Test 3: (Completed in ~1 second)
C:\Sandpit>cvs -ttt -d :local:C:/CVSNTRepo/KeywordTesting ls
11:16:40:   -> Tracelevel set to 3.  PID is 3264
11:16:40:   -> Session ID is cc04908461829f4
11:16:40:   -> Session time is Wed Oct 29 11:16:40 2008
11:16:40:   -> Client was compiled Oct 28 2008 06:17:19
11:16:40:   -> Client was compiled with MSVC C/C++ 1310
11:16:40:   -> Client build platform is microsoft-windows-x86
11:16:40:   -> Client running on "Microsoft Windows XP Professional
Service Pack 3 (Build 2600) [5.1.2600] (Service Pack 3)"
11:16:40:   -> main loop with CVSROOT=:local:C:/CVSNTRepo/KeywordTesting
11:16:40:   -> Using local lockserver on port 2402
11:16:40:   -> normalize_path(C:/CVSNTRepo/KeywordTesting)
11:16:40:   -> ...returns C:/CVSNTRepo/KeywordTesting
11:16:40:   -> Lock server connect to 127.0.0.1 port 2402
11:16:40:   -> wrap_add(*.a -kb, 0, 0, 0, 0)
...
11:16:40:   -> default_trigger:
open(C:/CVSNTRepo/KeywordTesting/CVSROOT/premodule) cwd(C:\Sandpit)
Listing modules on server

11:16:40:   -> map_repository(C:/CVSNTRepo/KeywordTesting)
...
11:16:41:   -> do_dir_proc() -- If we're doing the actual processing,
call direntproc.
CVSROOT
11:16:41:   -> do_dir_proc() -- cannot process the dir because the
return code was R_SKIP_ALL.
...
11:16:41:   -> free_directory() directory_stack_size = 0, rubbish = 0
11:16:41:   -> free_modules2() directory_stack_size and rubbish set to
zero


// Test 4: (Instant response)
// Lockserver stopped and file renamed '~cvslock.exe'.
C:\Sandpit>cvs -ttt -d :local:C:/CVSNTRepo/KeywordTesting ls
11:26:50:   -> Tracelevel set to 3.  PID is 3224
11:26:50:   -> Session ID is c984908487a31bc
11:26:50:   -> Session time is Wed Oct 29 11:26:50 2008
11:26:50:   -> Client was compiled Oct 28 2008 06:17:19
11:26:50:   -> Client was compiled with MSVC C/C++ 1310
11:26:50:   -> Client build platform is microsoft-windows-x86
11:26:50:   -> Client running on "Microsoft Windows XP Professional
Service Pack 3 (Build 2600) [5.1.2600] (Service Pack 3)"
11:26:50:   -> main loop with CVSROOT=:local:C:/CVSNTRepo/KeywordTesting
11:26:50:   -> Using local lockserver on port 2402
11:26:50:   -> normalize_path(C:/CVSNTRepo/KeywordTesting)
11:26:50:   -> ...returns C:/CVSNTRepo/KeywordTesting
11:26:50:   -> Lock server connect to 127.0.0.1 port 2402
cvs ls: connect to 127.0.0.1(127.0.0.1):2402 failed: No connection could
be made because the target machine actively refused it.
cvs [ls aborted]: Couldn't connect to lock server


Network cable connected: ##########################################
// Lockserver stopped and file named back to 'cvslock.exe'.


// Test 5: (Stalled for ~60 seconds then completed )
C:\Sandpit>cvs
Output as expected...

// Locserver did not start.


// Test 6: (Stalled for ~60 seconds then completed )
C:\Sandpit>cvs -ver
Output as expected...

// Locserver did not start.


// Test 7: (Stalled for ~60 seconds then paused again for ~15 seconds
then completed )
C:\Sandpit>cvs -ttt -d :local:C:/CVSNTRepo/KeywordTesting ls
11:43:00:   -> Tracelevel set to 3.  PID is 3892
11:43:00:   -> Session ID is f3449084c443e1b
11:43:00:   -> Session time is Wed Oct 29 11:43:00 2008
11:43:00:   -> Client was compiled Oct 28 2008 06:17:19
11:43:00:   -> Client was compiled with MSVC C/C++ 1310
11:43:00:   -> Client build platform is microsoft-windows-x86
11:43:00:   -> Client running on "Microsoft Windows XP Professional
Service Pack 3 (Build 2600) [5.1.2600] (Service Pack 3)"
11:43:00:   -> main loop with CVSROOT=:local:C:/CVSNTRepo/KeywordTesting
11:43:00:   -> Using local lockserver on port 2402
11:43:00:   -> normalize_path(C:/CVSNTRepo/KeywordTesting)
11:43:00:   -> ...returns C:/CVSNTRepo/KeywordTesting
11:43:00:   -> Lock server connect to 127.0.0.1 port 2402
11:43:00:   -> wrap_add(*.a -kb, 0, 0, 0, 0)
...
11:43:00:   -> LoadTrigger(script.dll)
11:43:00:   -> CLibraryAccess::Load loading
C:\PROGRA~1\CVSNT/triggers/script.dll
11:43:15:   -> Not loading disabled trigger script.dll.
11:43:15:   -> Couldn't load trigger script.dll
...

// Locserver started after ~75 seconds 'CVSNT Locserver debug window'
contained nothing.
// After a further ~25 seconds the 'CVSNT Locserver debug window'
displayed:
Publishing mdns records for OLD-BADGER._cvspserver._tcp
No valid ipv6 address found for host


// Test 8: (Stalled for ~60 seconds then paused again for ~15 seconds
then completed )
// C:\Sandpit>cvs -ttt -d :local:C:/CVSNTRepo/KeywordTesting ls
Output as for Test 7 above.

// CVSNT Locserver left running from previous test.                    
// After completion the 'CVSNT Locserver debug window' was displaying: 
Starting thread 00000f80
Lock Client #2(localhost) opened
(#2) New client ASouthby() root C:/CVSNTRepo/KeywordTesting
Destroyed 0 locks
No more clients
Lock Client #2 closed
(#2) Close request
Terminating thread 00000f80


// Test 9: (Stalled for ~90 seconds then completed )
// Lockserver stopped and file renamed '~cvslock.exe'.

C:\Sandpit>cvs -ttt -d :local:C:/CVSNTRepo/KeywordTesting ls
12:11:30:   -> Tracelevel set to 3.  PID is 1912
12:11:30:   -> Session ID is 778490852f253eb
12:11:30:   -> Session time is Wed Oct 29 12:11:30 2008
12:11:30:   -> Client was compiled Oct 28 2008 06:17:19
12:11:30:   -> Client was compiled with MSVC C/C++ 1310
12:11:30:   -> Client build platform is microsoft-windows-x86
12:11:30:   -> Client running on "Microsoft Windows XP Professional
Service Pack 3 (Build 2600) [5.1.2600] (Service Pack 3)"
12:11:30:   -> main loop with CVSROOT=:local:C:/CVSNTRepo/KeywordTesting
12:11:30:   -> Using local lockserver on port 2402
12:11:30:   -> normalize_path(C:/CVSNTRepo/KeywordTesting)
12:11:30:   -> ...returns C:/CVSNTRepo/KeywordTesting
12:11:30:   -> Lock server connect to 127.0.0.1 port 2402
cvs ls: connect to 127.0.0.1(127.0.0.1):2402 failed: No connection could
be made because the target machine actively refused it.
cvs [ls aborted]: Couldn't connect to lock server


Regards,
Andy.


More information about the cvsnt mailing list