[cvsnt] cvsnt running slow on new (virtual) machine
Joelle Tegwen
tegwe002 at umn.edu
Mon Jan 12 15:15:29 GMT 2009
We are moving our test server (which also hosts our cvs repository) from
an old physical box to a virtual box. The cvs server on the virtual
server is running unacceptably slow. I need help figuring out why.
Some stats:
Function: Old server time: New server time
cvs info : <1 second : 1.5 min
cvs -version : <1 second : 1.5 min
local checkout of small repository with wincvs: 5 seconds : 1.5 minutes
Configuration information:
Old Server
CVS version 2.5.03 build 2151
Windows version: Server 2003 SE
Connection speed: 10 MB
New Server
cvs version: 2.5.04 build 3236
Windows version: Server 2003 R2 Enterprise Edition
Connection speed: 1 Gb
I checked out the FAQ online
(http://www.march-hare.com/cvspro/faq/faq5.asp#4d) and asked my server
admin about these issues. His responses are below.
I'm not really much of an administrator, and what I know is mostly Linux
so I'm pretty far out of my comfort zone.
Can someone help me diagnose this issue?
Thanks
Joelle
-------- Original Message --------
OK Joelle:
I tried to accumulate more info:
Memory usage for the month of Jan - averages 612.7 MG 15%
CPU utilization for the month of Jan - averages 355. Mhz - 17%
So it doesn't appear we are taxing the server.
I reviewed the outlined steps. Comments in *bold*
-----------------
Normally the connection to the server should complete very quickly -
less than a second in most cases. If you find that it is taking a long
time there may be one of two problems:
* Misconfigured reverse DNS.
o CVSNT does a reverse DNS lookup on startup to verify the client
hostname. This will usually complete very quickly, however it is
possible to misconfigure the reverse DNS in such a way that the lookup
hangs and eventually times out after around 10 seconds. Your network
administrator will usually be able to sort this out in a few minutes, as
its usually a simple misconfiguration. On NT4 machines there is a
setting "Use NetBIOS for DNS resolution" which may help. (Q: Is there an
equivalent for W2K or do they always do it?)
*This host has a correct .ptr record. *
* Very slow connection to PDC
o CVSNT needs to contact the PDC to verify identities and check
privileges. Normally across a LAN this will be quite quick, but over a
saturated network or over a Dialup (in local mode) it can be very slow.
* *
*This host is NOT a member of a domain therefore it can not connect to a
PDC. But I don’t think your other host was either.*
* See also
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q308512 for a
possible solution.
*The KB article is not applicable to this issue.*
* Another thing to try: Disable the virus checker on the machine that
hosts the CVS server.
*OK – I disabled the virus checker.*
* *
*1. **Is there any way to test this function – directly from the server
to the server itself to confirm it’s network related?*
*2. **Is there a way to test this from a different workstation ?*
*3. **Try again now that the AV has been disabled*
*4. **What logging does the software give us to determine dropped
connections.*
*5. **I am willing for testing sake to increase the memory if other
avenues have been explored.*
*6. **Also I don’t know if you are needing a proxy somehow – perhaps
this could be an issue due to the software configuration. *
* *
*Let me know.*
*Mike*
* *
More information about the cvsnt
mailing list