Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: "Robin H. Johnson" <robbat2@g.o>
Subject: wget abuse of sources.g.o must stop
Date: Fri, 11 Jul 2008 16:16:42 -0700
I was tracing into why sources.gentoo.org is so slow at times, and
gives errors, timeouts etc. I found that there is wget being used
against the site, with a lot of rapid-fire requests for the *checkout*
URLs - most often for entire directories. And very often, right when
wget is being used, the sources.g.o performance sucks badly.

The wget requests account for 25-30% of the daily requests to
sources.gentoo.org. It's meant for browsing, not pulling.

If you are pulling multiple files, or some file on a regular basis, you
should be using the anoncvs/anonsvn systems instead.

export ANON=":pserver:anonymous@g.o:/var/cvsroot"
Listing the files for a package:
# cvs -z0 -d $ANON rls gentoo-x86/$CAT/$PN/

Grabbing an entire package:
# T=`mktemp -d`
# cvs -z0 -d $ANON co -d $T gentoo-x86/$CAT/$PN

Grabbing a single file, without a temp:
# cvs -z0 -d $ANON co -p gentoo-x86/$CAT/$PN/$FILENAME >$OUTPUTFILE

Pursuant to the above, the any useragent matching /^Wget/ will be
blocked from the 'gentoo' and 'gentoo-x86' repos of sources.gentoo.org
as of July 14th.

Either change to using the proper anonymous service, or change your
useragent to describe what you are doing with the service, so that I can
specifically ban your user-agent if it's causing too much load.

-- 
Robin Hugh Johnson
Gentoo Linux Developer & Infra Guy
E-Mail     : robbat2@g.o
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85
Attachment:
pgprCmTS8rAhF.pgp (PGP signature)
Replies:
Re: wget abuse of sources.g.o must stop
-- Gokdeniz Karadag
Re: wget abuse of sources.g.o must stop
-- Fabian Groffen
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
new eclass and portage category: octave-forge.eclass and dev-octave
Next by thread:
Re: wget abuse of sources.g.o must stop
Previous by date:
Re: new eclass and portage category: octave-forge.eclass and dev-octave
Next by date:
Re: wget abuse of sources.g.o must stop


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.