The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
October 04, 2022, 09:45:03 am
Home Help Search Login Register
News: Paul & Fred have reached a settlement with Stardock!

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  Technical Issues (Moderator: Death 999)
| | |-+  Problems with CVS server?
« previous next »
Pages: [1] Print
Author Topic: Problems with CVS server?  (Read 1718 times)
Paxtez
*Many bubbles*
***
Offline Offline

Gender: Male
Posts: 130


Joystick Jedi


View Profile
Problems with CVS server?
« on: July 09, 2003, 06:28:13 am »

For the last week or so, I've been having problems connected to the CVS server, I keep getting a 'cvs [diff aborted]: Error reading from server cvs.sourceforge.net: -1' error.  I can ping the server fine.  Sometimes I have to try connect a few times but then a lot of the time that doesn't even work.

Anyone else having problems?
Logged

....Paxtez....
Nic.
Guest


Email
Re: Problems with CVS server?
« Reply #1 on: July 09, 2003, 07:39:15 am »

SourceForge instituted a "connection cap" for anonymous CVS access a few months back, this was to help alleviate some server stability problems they were having.  Put simply, if too many people try getting updates via CVS, the pserver will start dropping connections.

More details are available here.

One of the suggested workarounds is to have the developer-types on a project create daily "snapshot" tarballs and post them somewhere (e.g., on the home page) so that folks can get the latest-and-greatest without clogging up CVS, but that option is useless for people like you who like to monkey with the code (as there is no possibility of merging)

To get around this, I've taken to performing most CVS commands like so (I'm a tcsh user, this won't work for ksh/bash users and users of CMD.EXE):

Code:
while ( ! { cvs update } )
:
end

...it ain't pretty, but it gets the job done.  Smiley
Logged
Paxtez
*Many bubbles*
***
Offline Offline

Gender: Male
Posts: 130


Joystick Jedi


View Profile
Re: Problems with CVS server?
« Reply #2 on: July 09, 2003, 02:35:52 pm »

I don't see how that makes sense?

Wouldn't downloading the entire source every night take up a lot more bandwidth downloading a few files when you need it?

But that explains it, I'll just keep trying.
Logged

....Paxtez....
Nic.
Guest


Email
Re: Problems with CVS server?
« Reply #3 on: July 09, 2003, 07:15:28 pm »

All things being equal, yes it is better to download only the differences; however, CVS is not at all equal to HTTP/FTP/etc.

For one, they run on different servers; which means if someone is downloading via a non-CVS method, they're leaving the CVS server alone.  By definition, that is better for the CVS server.  Smiley

Non-CVS methods of retrieval are almost exclusively I/O-bound (server-wise), meaning that the only thing keeping you from your file is the speed (or utter lack thereof) of the network between you.  CVS servers, on the other hand, become more and more CPU-bound as the number of concurrent connections rises, since the CVS server needs to determine what has changed and what needs to be sent to each user.  Each instance requires a bit of RAM/CPU, and on the scale with which SourceForge operates, it really adds up fast.  HTTP servers, by contrast, are told exactly what to do by the client, and as such have far lower overhead.

So basically my point is, it's better for them if you download whole files, not necessarily better for you.
Logged
Culture20
Enlightened
*****
Offline Offline

Posts: 917


Thraddash Flower Child


View Profile
Re: Problems with CVS server?
« Reply #4 on: July 10, 2003, 02:33:39 am »

I'm usually a little nicer, and put a "sleep 1" in the while loop (of course, that means it takes a while before I connect).
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!