Closed Bug 76462 Opened 24 years ago Closed 24 years ago

cvs mirror spewing errors

Categories

(mozilla.org Graveyard :: Server Operations, task)

task
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: timeless, Assigned: drew.streib)

Details

Attachments

(3 files)

cvs-mirror is virtually unusable. Most times i try to cvs diff, i get a timeout. right now i'm using a pull script (config/fast-update.pl) to cvs update files, it's only supposed to update 24hrs worth of files. I have a good net connection (and it's past 3am, so even normal college students should be sleeping).
I have seen this too since last night, and it still happens this morning. When doing a checkout I often get "resource temporarily unavailable", and when it sometimes actually starts it's *horribly* slow.
It's unusable from here in the UK as well, I'm not seeing any error message, just no response, or a response if you care to wait an hour or two.
It does "work", it's just veeeeeeeryyyyy slow. I'm running an CVS update for 5 hours now and strace the cvs process. About 2 files per hour get through.
cvs [login aborted]: recv() from server cvs-mirror.mozilla.org: Connection reset by peer
It's conceivable that there are networking problems between you and cvs-mirror. Try searching http://freshmeat.net/ for a program called "mtr" and install that. It can be extremely helpful diagnosing this sort of thing.
If it is happening for different people on different networks, surely it is related to the cvs server's network link to the outside world.
there is no problem ping'ing the server - response times seem normal - no packetloss.
Sure, but mtr can provide you with useful info about where the problem actually is, whether it's directly at sourceforge, or at one of the carriers along the way (and which carrier).
Attached file mtr: all looks fine
The report I've attached is based on 50 echos sent.. the minimum neccessary for any accurate reporting, and shows some packet loss, but not nearly enough to cause any problems.
Attached file dacapo
Sourceforge crew are now rebooting the box to work on it.
started this 40 minutes ago. This is how far it's gotten - and how far it's getting. In another hour or two the server will burp out a handfull files, give me a lock on something - and then let me hang again. Tried that once before - hang with a lock for 40 minutes. Then i didn't dare sit on it any longer so i broke the pull. Afterwards i got thrown out with the "disconnected by peer" several times when trying to log in again. That's not a cvs "feature". Something is just plain wrong - and it's on the server. make -f mozilla/client.mk checkout checkout start: Wed Apr 18 22:46:25 CEST 2001 cvs -q -z3 co -P mozilla/client.mk mozilla/build/unix/modules.mk M mozilla/client.mk make[1]: Entering directory `/home/dark/DISK' cvs -q -z3 co -P -r NSPRPUB_CLIENT_BRANCH mozilla/nsprpub
JG: In my experience, 10% packet loss is more than enough to cause significant problems with CVS.
The box is back up, and I'm marking this one FIXED.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Reopening since it's now spewing with problems, updating summary.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Summary: cvs mirror is slow and timing out → cvs mirror spewing errors
OK the story is that Drew is apparently offsite, and I'm talking with a guy via irc at VA who has physical access to the box but no root. It spent an alarmingly long time shutting down each service/daemon, rebooted fine, and looked ok for a few mins. Now people including myself are getting unrecoverable locks and other fun problems. The guy at VA is paging Drew for further assistance.
Are someone pulling full sources via 300bps modems? In addition to locks queueing up at an alarming rate, it quits here for me now: cvs [server aborted]: unable to parse /cvsroot/mozilla/modules/libimg/jpgcom/win32.order,v; `state' not in the expected place gmake[1]: *** [real_checkout] Error 1 gmake[1]: Leaving directory `/home/dark/DISK' gmake: *** [checkout] Error 2 [dark@localhost mozilla]$ I deleted the whole file + occurance of it in CVS/Entries, but that didn't change anything.
I get: cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot -q -z 3 co -P -D Wed Apr 18 17:50:23 EDT 2001 mozilla/modules/libpr0n cvs [server aborted]: unable to parse /cvsroot/mozilla/modules/libpr0n/Makefile.in,v; `state' not in the expected place do we just have corrupt RCS files floating around?
If you try to login to the server you get: cvs [login aborted]: connect to cvs-mirror.mozilla.org:2401 failed: Connection refused
The sympthoms kinda indicate the box has been about to swap itself to death. Perhaps a leak - more likely just plain low on RAM/swapspace. Someone in n.p.m.builds told the badness started around the time Slashdot announced that the QT version of moz was now in CVS :)
cvs access has been switched off. I've been liasing with Patrick at VA onsite and he's now rebuilding the entire mirror... We could have just rsynced again, but who knows what else could have been around the corner. The rebuild is from thelizzard.mozilla.org so it's taking a while to complete... I'll keep ya updated.
OK, the rebuild happened, and we got cvs errors... Dawn got in telephone contact with Patrick and ran a disk check, this turned out to be too long a process so the disk was formatted and a new mirror built. This mirror is finished but only half the size of the original. *shrug* The current problem is that it won't give us anonymous cvs access. It's 3.20am here and I can't stay up any longer, so I'll come back tomorrow and hope it's fixed. (Our thanks to Patrick who has lept into this problem at no notice and spent most of his day on it.)
I mark this fixed. My checkout works without problems now !
Status: REOPENED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → FIXED
I believe I have fixed the problem. I just did a CVS checkout to my workstation and it seems to have pulled everything in just fine. Please let me know if there still exists any problems. Thanks!
I can confirm it is working as well.
vrfy anonymous checkouts from cvs-mirror are working for me right now, thanks everyone.
Status: RESOLVED → VERIFIED
(.. or could have been a full /var/log or /tmp directory...) Downloaded source.tar.gz from April 15 and just ran a good checkout. Only files missing were these - prolly has a natural explanation: cvs server: cannot open directory /cvsroot/mozilla/layout/html/tests/frameset/core: No such file or directory cvs server: skipping directory mozilla/layout/html/tests/frameset/core cvs server: cannot open directory /cvsroot/mozilla/layout/html/tests/table/core: No such file or directory cvs server: skipping directory mozilla/layout/html/tests/table/core cvs server: cannot open directory /cvsroot/mozilla/layout/html/tests/tags: No such file or directory cvs server: skipping directory mozilla/layout/html/tests/tags
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: