[mirror-admin] enabling keep-alives

Matt_Domsch at Dell.com Matt_Domsch at Dell.com
Mon Mar 24 15:01:43 EDT 2008


It's easy to tell, just do something like this:

l='http://localhost/pub/fedora/linux/releases/8/Fedora/i386/os'
wget -S -O /dev/null ${l}/GPL ${l}/GPL > ${tmpdir}/hosts/${host} 2>&1

if you see "Reusing connection..." then keepalives are on.  If not,
they're not. :-)


I added a no-keepalives.sh script to the MM git tree to run to check all
the hosts in the future.

Thanks,
Matt

--
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux

-----Original Message-----
From: mirror-list-d-bounces at redhat.com
[mailto:mirror-list-d-bounces at redhat.com] On Behalf Of Scott Baker
Sent: Monday, March 24, 2008 1:33 PM
To: A private discussion group for official mirrors of ftp.redhat.com
Subject: Re: enabling keep-alives

Matt_Domsch at Dell.com wrote:
> Please enable HTTP keep-alives, even if the timeout is as low as 2
> seconds.  This will greatly increase the speed at which the
> mirrormanager crawler can crawl your site, and will increase the speed
> at which clients are able to download packages, as yum will use
> keep-alives too.
> 
> http://fedoraproject.org/wiki/Infrastructure/Mirroring has
instructions
> for how to do this in Apache.  Lighttpd enables keep-alives by
default.
> 
> Here's a list of public mirrors serving F8 via HTTP that do not have
> keep-alives enabled:
> 
> distro.ibiblio.org
> fedora.omnispring.com
> fedora.tu-chemnitz.de
> ftp.cc.uoc.gr
> ftp.gui.uva.es
> ftp.jaist.ac.jp
> ftp.linux.ncsu.edu
> ftp.linux.org.uk
> ftp.univie.ac.at
> ftp.wcss.pl
> mirror.newnanutilities.org
> mirror.steadfast.net
> mirror.web-ster.com
> sunsite.rediris.es
> ultra.linux.cz
> www.mirrorservice.org

Oooooooh good catch. I just turned them on, is there a way to verify 
that it's actually working?

-- 
Scott Baker - Canby Telcom
RHCE - System Administrator - 503.266.8253

--

--


More information about the Mirror-admin mailing list