<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.csclub.uwaterloo.ca/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dtbartle</id>
	<title>CSCWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.csclub.uwaterloo.ca/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dtbartle"/>
	<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/Special:Contributions/Dtbartle"/>
	<updated>2026-04-06T00:10:11Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Past_Executive&amp;diff=2803</id>
		<title>Past Executive</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Past_Executive&amp;diff=2803"/>
		<updated>2010-08-20T01:37:51Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Winter */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
= Definitions =&lt;br /&gt;
 #define PR President&lt;br /&gt;
 #define VP Vice-president&lt;br /&gt;
 #define TR Treasurer&lt;br /&gt;
 #define SE Secretary&lt;br /&gt;
 #define SA Sysadmin&lt;br /&gt;
 #define OF Office Manager&lt;br /&gt;
 #define LI Librarian&lt;br /&gt;
 #define FL Flasher&lt;br /&gt;
 #define DE Diety&lt;br /&gt;
 #define WW Webmaster&lt;br /&gt;
 #define SE-TR Secretary-Treasurer (Position was split)&lt;br /&gt;
&lt;br /&gt;
=Founding 1967-1968=&lt;br /&gt;
&lt;br /&gt;
 Sponsor - J. Peter Sprung&lt;br /&gt;
 PR: K. Rugger&lt;br /&gt;
 VP: R. Jaques&lt;br /&gt;
 SE-TR: G. Sutherland&lt;br /&gt;
&lt;br /&gt;
 Founding Members:&lt;br /&gt;
 B. Kindree&lt;br /&gt;
 R. Melen&lt;br /&gt;
 V. Neglia&lt;br /&gt;
 R. Charney&lt;br /&gt;
 R. Truman&lt;br /&gt;
 Glenn Berry&lt;br /&gt;
 D. Meek&lt;br /&gt;
&lt;br /&gt;
=1968-1969=&lt;br /&gt;
&lt;br /&gt;
 SE-TR: Glenn Berry&lt;br /&gt;
&lt;br /&gt;
=1969-1970=&lt;br /&gt;
&lt;br /&gt;
Unknown, only one letter found in the folder &#039;ACM History&#039; addressed to Glenn Berry, which makes it likely that he was SE-TR once again. May be indicated in membership lists. The club appears to have died this academic year.&lt;br /&gt;
&lt;br /&gt;
===A note on ACM affiliation===&lt;br /&gt;
&lt;br /&gt;
The first attempt at joining the ACM was started with an informal inquiry Dec 5, 1967. This lead to a series of constitution edits (working towards affiliation) in Winter 1968. There was a break for the spring (no correspondence found, I presume we were waiting on a reply). In the fall records indicate that our constitution and chartering was rejected, further correspondence was sent in Fall 1968 by Glenn Berry. A new inquiry, seemingly unaware of the first was sent Dec 7, 1970 &lt;br /&gt;
&lt;br /&gt;
=1971=&lt;br /&gt;
&lt;br /&gt;
James W. Welch is the only person sending letters for the club. Later signs them Vice-President. Continues this for most of the year. Either he was VP throughout 3 terms or we were on calendar year elections then. &lt;br /&gt;
&lt;br /&gt;
=1972=&lt;br /&gt;
&lt;br /&gt;
It appears we visited Western and Western visited us this year (there is some reference to a similar occurrence the year previous). Documents from 1973 indicate a termly exec structure, this probably goes back to 1972.&lt;br /&gt;
&lt;br /&gt;
===Winter===&lt;br /&gt;
&lt;br /&gt;
 PR: Mike Campbell&lt;br /&gt;
 SE: Doug Lacy&lt;br /&gt;
&lt;br /&gt;
there is also stuff from James W. Welch without a position. Considering his work in the founding and that the letters are speaker invitations he is, with high probability, VP this term.&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
&lt;br /&gt;
===Fall===&lt;br /&gt;
&lt;br /&gt;
 PR: Ian McIntosh&lt;br /&gt;
&lt;br /&gt;
=1973=&lt;br /&gt;
&lt;br /&gt;
 Faculty Sponsor: M. Gentleman&lt;br /&gt;
&lt;br /&gt;
===Winter===&lt;br /&gt;
===Spring===&lt;br /&gt;
&lt;br /&gt;
Either secretary or VP: Jim Parry (sent the only letter on file, but it is a speaker invite, did not sign his position).&lt;br /&gt;
&lt;br /&gt;
===Fall===&lt;br /&gt;
&lt;br /&gt;
 PR: Jim Parry&lt;br /&gt;
 VP: Ray Walden&lt;br /&gt;
 TR: Slavko Stemberger&lt;br /&gt;
 SE: Mario Festival&lt;br /&gt;
&lt;br /&gt;
=1974-1988=&lt;br /&gt;
&lt;br /&gt;
James B- was president in Winter 88 (signature hard to read).&lt;br /&gt;
Tim Timar - cc&#039;d on memos/mentioned on mathsoc minutes in 1987/88.&lt;br /&gt;
The Sysadmin and Office Manager positions seem to have been created somewhere in here. The &#039;Record Management Profile&#039; that Robyn Stewart did as an assignment in 1991-1992 for some class at UBC&lt;br /&gt;
indicates the existence of both positions. As we acquired an HP-9000 in 1987 and this is likely our first computer (previously we only had a terminal?), the sysadmin was created then.&lt;br /&gt;
&lt;br /&gt;
=1989=&lt;br /&gt;
===Winter===&lt;br /&gt;
&lt;br /&gt;
 PR: Kevin W. Smith ?? (derived from a signature, may be a bad reading)&lt;br /&gt;
 VP: Angela Chambers&lt;br /&gt;
 TR:&lt;br /&gt;
 SE: Sean Goggin&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
===Fall===&lt;br /&gt;
&lt;br /&gt;
 PR: Sean Goggin&lt;br /&gt;
&lt;br /&gt;
=1990=&lt;br /&gt;
===Winter===&lt;br /&gt;
===Spring===&lt;br /&gt;
===Fall===&lt;br /&gt;
 PR: Wade Richards&lt;br /&gt;
 Kivi Shapiro - attended mathsoc meeting on our behalf. - Censured by mathsoc for his actions during the election.&lt;br /&gt;
 Shannon Mann - attended mathsoc meeting on our behalf.&lt;br /&gt;
 Robyn Stewart - attended mathsoc meeting on our behalf.&lt;br /&gt;
&lt;br /&gt;
=1991=&lt;br /&gt;
===Winter===&lt;br /&gt;
 Shannon Mann - attended mathsoc meeting on our behalf.&lt;br /&gt;
 Ed Bourne - attended mathsoc meeting on our behalf.&lt;br /&gt;
===Spring===&lt;br /&gt;
 Jason Knell - attended mathsoc meeting on our and PMC&#039;s behalf.&lt;br /&gt;
===Fall===&lt;br /&gt;
 Wiktor Wiewiorowski - attended mathsoc meeting on our behalf this term.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=1995=&lt;br /&gt;
===Winter===&lt;br /&gt;
===Spring===&lt;br /&gt;
===Fall===&lt;br /&gt;
 PR: Amy Brown (arbrown) &lt;br /&gt;
 VP: Christina Norman (cbnorman)&lt;br /&gt;
 TR: Steven Mills (samills)&lt;br /&gt;
 SE: Allison Graham (akgraham)&lt;br /&gt;
 SA: Gavin Peters&lt;br /&gt;
&lt;br /&gt;
=1996=&lt;br /&gt;
===Winter===&lt;br /&gt;
 PR: Nikita Borisov (nborisov)&lt;br /&gt;
 VP: Joseph Deu Ngoc (dtdeungo) &lt;br /&gt;
 TR: Stephen Mills (samills)&lt;br /&gt;
 SE: Sharlene Schmeichel (saschmei)&lt;br /&gt;
 SA: Dave Brown (dagbrown)&lt;br /&gt;
 OF: Somsack Tsai (stsai)&lt;br /&gt;
 LI: Devin Carless (dccarles)&lt;br /&gt;
 FL: Allyson Graham (akgraham)&lt;br /&gt;
 DE: Ian Goldberg (iagoldbe)&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
 PR: Blake Winton (bwinton)&lt;br /&gt;
 VP: Nick Harvey (njaharve)&lt;br /&gt;
 TR: Nikita Borisov (nborisov)&lt;br /&gt;
 SE: Viet-Trung Luu (vluu)&lt;br /&gt;
 SA: Drew Hamilton (awhamilt)&lt;br /&gt;
 OF: Jillian Arnott (jarnott)&lt;br /&gt;
 LI: Ross Ridge (rridge)&lt;br /&gt;
 FL: Devin Carless (dccarles)&lt;br /&gt;
&lt;br /&gt;
=== Fall ===&lt;br /&gt;
 PR: Shannon Mann (sjbmann) &lt;br /&gt;
 VP: Joe &amp;quot;Frosh&amp;quot; Deu Ngoc (jtdeungo)    resigned (heavy workload)&lt;br /&gt;
 TR: Michal Van Biesbrouck (mlvanbie) &lt;br /&gt;
 SE: Nikita Borisov (nborisov) &lt;br /&gt;
 SA: Chris Rovers &lt;br /&gt;
 OF: Dax Hutcheon (ddhutche) &lt;br /&gt;
 LI: Aliz Csenki (acsenki) &lt;br /&gt;
 FL: Aaron Chmielowiec (archmiel) &lt;br /&gt;
 DE: Skuld (no uwuserid yet...)&lt;br /&gt;
&lt;br /&gt;
=1997 =&lt;br /&gt;
&lt;br /&gt;
===Winter===&lt;br /&gt;
 PR:Dima Brodsky &lt;br /&gt;
 VP: Nikita Borisov &lt;br /&gt;
 TR: Stephen Mills&lt;br /&gt;
 SE: ejones&lt;br /&gt;
 SA: Alex Brodsky&lt;br /&gt;
 OF: Chris Doherty&lt;br /&gt;
 LI: Matt Corks &lt;br /&gt;
 FL: Paul Prescod&lt;br /&gt;
&lt;br /&gt;
=== Fall ===&lt;br /&gt;
 PR: Chris Rovers (cdrovers) &lt;br /&gt;
 VP: Viet-Trung Luu (vluu) &lt;br /&gt;
 TR: Somsack Tsai (stsai) &lt;br /&gt;
 SE: Matt Corks (mvcorks)&lt;br /&gt;
&lt;br /&gt;
= 1998 =&lt;br /&gt;
=== Winter ===&lt;br /&gt;
 PR: Suresh Naidu  &lt;br /&gt;
 VP: Viet-Trung Luu &lt;br /&gt;
 TR: Tim Coleman &lt;br /&gt;
 SE: Dax Hutcheon &lt;br /&gt;
 Librarian: Dax Hutcheon &lt;br /&gt;
 Flasher: Dax Hutcheon &lt;br /&gt;
 Webmaster: Dax Hutcheon &lt;br /&gt;
 SA:  &lt;br /&gt;
 OF: Aaron Chmielowiec&lt;br /&gt;
&lt;br /&gt;
=== Spring ===&lt;br /&gt;
&lt;br /&gt;
 Position	Name	You might call them...&lt;br /&gt;
 President	roconnor	Russell O&#039;Connor&lt;br /&gt;
 Vice-president	trwcolem	Tim Coleman&lt;br /&gt;
 Treasurer	knzarysk	Karl Zaryski&lt;br /&gt;
 Secretary	(bwinton)	(Blake Winton)&lt;br /&gt;
 Sysadmin	wbiggs	Billy Biggs&lt;br /&gt;
 Librarian	snaidu	Suresh Naidu&lt;br /&gt;
 Flasher	pechrysl	Paul Chrysler&lt;br /&gt;
 Office Manager	dccarles	Devin Carless&lt;br /&gt;
 WWWW	trwcolem	Tim Coleman&lt;br /&gt;
&lt;br /&gt;
=== Fall ===&lt;br /&gt;
&lt;br /&gt;
 President	Joe Deu Ngoc	jtdeungo&lt;br /&gt;
 Vice-President	Wai Ling Yee	wlyee&lt;br /&gt;
 Treasurer	Fjord	j2lynn&lt;br /&gt;
 Secretary	Matt Corks	mvcorks&lt;br /&gt;
 Sysadmin	Andrew Hamilton	awhamilt&lt;br /&gt;
&lt;br /&gt;
 World Wide Web Wench	Dax Hutcheon	ddhutche&lt;br /&gt;
 Office Manager	Richard Bell	rlbell&lt;br /&gt;
 Librarian	Damian Gryski	dgryski&lt;br /&gt;
 Flasher	Paul Chrysler	pechrysl&lt;br /&gt;
 Official Deity	Ian Goldberg	iagoldbe&lt;br /&gt;
 Official Chairbeing	Calum T. Dalek	calum&lt;br /&gt;
&lt;br /&gt;
=1999=&lt;br /&gt;
&lt;br /&gt;
=== Winter ===&lt;br /&gt;
&lt;br /&gt;
=== Spring ===&lt;br /&gt;
&lt;br /&gt;
=== Fall ===&lt;br /&gt;
&lt;br /&gt;
=2000=&lt;br /&gt;
=== Winter ===&lt;br /&gt;
&lt;br /&gt;
=== Spring ===&lt;br /&gt;
&lt;br /&gt;
=== Fall ===&lt;br /&gt;
&lt;br /&gt;
=2001=&lt;br /&gt;
=== Winter ===&lt;br /&gt;
&lt;br /&gt;
=== Spring ===&lt;br /&gt;
&lt;br /&gt;
=== Fall ===&lt;br /&gt;
&lt;br /&gt;
=2002=&lt;br /&gt;
http://www.mathnews.uwaterloo.ca/Issues/mn8902/cscflash.php&lt;br /&gt;
=== Winter ===&lt;br /&gt;
 PR: Billy Biggs&lt;br /&gt;
 VP: Stefanus Du Toit&lt;br /&gt;
 TR: Melissa Basinger&lt;br /&gt;
 SE: James Perry&lt;br /&gt;
 SA: Barry Genova&lt;br /&gt;
 Librarian: Ryan Golbeck&lt;br /&gt;
 Webmaster: Jonathan Beverley&lt;br /&gt;
 Office Manager: Sayan Li&lt;br /&gt;
&lt;br /&gt;
=== Spring ===&lt;br /&gt;
 PR: Alex Pop&lt;br /&gt;
 VP: Melissa Basinger&lt;br /&gt;
 TR: Siyan Li&lt;br /&gt;
 SE: James A Morrison&lt;br /&gt;
 SA: Jonathan Beverley&lt;br /&gt;
 Webmaster: Stefanus Du Toit&lt;br /&gt;
&lt;br /&gt;
=== Fall ===&lt;br /&gt;
 PR: James A. Morrison&lt;br /&gt;
 VP: Stefanus Du Toit&lt;br /&gt;
 TR: James Perry&lt;br /&gt;
 SE: Michael Biggs&lt;br /&gt;
 SA: Ryan Golbeck&lt;br /&gt;
 Librarian: Mark Sherry, Cassandra Schopf&lt;br /&gt;
 Webmaster: Stefanus Du Toit&lt;br /&gt;
&lt;br /&gt;
=2003=&lt;br /&gt;
=== Winter ===&lt;br /&gt;
 PR: Kannan Vijayan &lt;br /&gt;
 VP: Meg Darragh &lt;br /&gt;
 TR: James Perry &lt;br /&gt;
 SE: Wojtek Kosnik &lt;br /&gt;
 SA: Stefanus Du Toit&lt;br /&gt;
 Librarian: Simon Law &lt;br /&gt;
 Webmaster: Julie Lavoie&lt;br /&gt;
&lt;br /&gt;
=== Spring===&lt;br /&gt;
===Fall===&lt;br /&gt;
 PR: sjdutoit&lt;br /&gt;
 VP: m3darrag&lt;br /&gt;
 TR: tmyklebu&lt;br /&gt;
 SE: jeperry&lt;br /&gt;
 SA: sfllaw&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=2004=&lt;br /&gt;
===Winter===&lt;br /&gt;
 PR: sfllaw&lt;br /&gt;
 VP: fspacek&lt;br /&gt;
 TR: ljain&lt;br /&gt;
 SE: jlavoie&lt;br /&gt;
 SA: tmyklebu&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
 PR: dnmorton ?&lt;br /&gt;
 VP: tloach&lt;br /&gt;
 TR: mbiggs&lt;br /&gt;
 SE: lanortha&lt;br /&gt;
 SA: &lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Fall ===&lt;br /&gt;
 PR: jeperry&lt;br /&gt;
 VP: mtsay&lt;br /&gt;
 TR: msherry&lt;br /&gt;
 SE: tmyklebu&lt;br /&gt;
 SA: jlavoie&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
=2005=&lt;br /&gt;
===Winter===&lt;br /&gt;
&lt;br /&gt;
 PR: mtsay&lt;br /&gt;
 VP: lanortha&lt;br /&gt;
 TR: hkarau&lt;br /&gt;
 SE: domorton&lt;br /&gt;
 SA: tmyklebu&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
&lt;br /&gt;
 PR: msherry&lt;br /&gt;
 VP: mdkess&lt;br /&gt;
 TR: apiccon&lt;br /&gt;
 SE: mbiggs&lt;br /&gt;
 SA: tmyklebu&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Fall===&lt;br /&gt;
&lt;br /&gt;
 PR: Tim Loach&lt;br /&gt;
 VP: Lesley Northam&lt;br /&gt;
 TR: Caelyn McAulay&lt;br /&gt;
 SE: The Professor&lt;br /&gt;
 SA: hkarau&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
=2006=&lt;br /&gt;
&lt;br /&gt;
===Winter===&lt;br /&gt;
&lt;br /&gt;
 PR: tmyklebu&lt;br /&gt;
 VP: mdruker&lt;br /&gt;
 TR: &lt;br /&gt;
 SE: &lt;br /&gt;
 SA:&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
 PR: dtbartle&lt;br /&gt;
 VP:&lt;br /&gt;
 TR: &lt;br /&gt;
 SE: &lt;br /&gt;
 SA:&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Fall===&lt;br /&gt;
&lt;br /&gt;
 PR: mdkess&lt;br /&gt;
 VP: mdsherry&lt;br /&gt;
 TR: slmably&lt;br /&gt;
 SE: cmcaulay &lt;br /&gt;
 SA: woconnor&lt;br /&gt;
&lt;br /&gt;
=2007=&lt;br /&gt;
&lt;br /&gt;
===Winter===&lt;br /&gt;
 PR: dtbartle&lt;br /&gt;
 VP: dbelange &lt;br /&gt;
 TR: cmcaulay&lt;br /&gt;
 SE: dtenty&lt;br /&gt;
 SA: hkarau&lt;br /&gt;
 Webmaster: jnopporn&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
 PR: gdcosta&lt;br /&gt;
 VP: kmlarose&lt;br /&gt;
 TR: kspaans&lt;br /&gt;
 SE: elouie&lt;br /&gt;
 SA: mspang&lt;br /&gt;
 Librarian: daltenty&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Fall ===&lt;br /&gt;
 PR: hkarau&lt;br /&gt;
 VP: amccausl&lt;br /&gt;
 TR: dchlobow &lt;br /&gt;
 SE: sgcummin&lt;br /&gt;
 SA: &lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
=2008=&lt;br /&gt;
===Winter ===&lt;br /&gt;
 PR: sgcummin&lt;br /&gt;
 VP: m3lawren&lt;br /&gt;
 TR: mtarkows&lt;br /&gt;
 SE: ebering&lt;br /&gt;
 SA: jmsaunde&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Summer ===&lt;br /&gt;
 PR: b4taylor&lt;br /&gt;
 VP: qxi&lt;br /&gt;
 TR: m3lawren&lt;br /&gt;
 SE:&lt;br /&gt;
 SA:&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Fall ===&lt;br /&gt;
 PR: Matthew Lawrence (m3lawren)&lt;br /&gt;
 VP: Edgar Bering (ebering)&lt;br /&gt;
 TR: Michael Gregson (mgregson)&lt;br /&gt;
 SE: James Simpson (j2simpso) resigned for medical reasons, replaced by Dominik &#039;Domo&#039; Chłobowski&lt;br /&gt;
 SA: Kyle Spaans (kspaans)&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
=2009=&lt;br /&gt;
===Winter===&lt;br /&gt;
 PR: Michael Gregson (mgregson)&lt;br /&gt;
 VP: Edgar Bering (ebering)&lt;br /&gt;
 TR: Brennan Taylor (b4taylor)&lt;br /&gt;
 SE: James Simpson (j2simpso)  resigned for business reasons, replaced by Rebecca Putinski (rjputins) &lt;br /&gt;
 SA: Jacob Parker (j3parker) &lt;br /&gt;
 OF: XinChi Yang / Sapphyre Gervais (x23yang / sagervai) (both)&lt;br /&gt;
&lt;br /&gt;
===Spring ===&lt;br /&gt;
 PR: Michael Spang (mspang)&lt;br /&gt;
 VP: Jacob Parker (j3parker)&lt;br /&gt;
 TR: Sapphyre Gervais (sagervai)&lt;br /&gt;
 SE: Matthew McPherrin (mimcpher)&lt;br /&gt;
 SA: Anthony Brennan (a2brenna)&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Fall===&lt;br /&gt;
 PR: Jacob Parker (j3parker)&lt;br /&gt;
 VP: Edgar Bering (ebering)&lt;br /&gt;
 TR: Michael Spang (mspang)&lt;br /&gt;
 SE: Brennan Taylor (b4taylor)&lt;br /&gt;
 SA: Michael Ellis (m2ellis)&lt;br /&gt;
 OF: Rebecca Putinski (rputinski)&lt;br /&gt;
&lt;br /&gt;
=2010=&lt;br /&gt;
===Winter===&lt;br /&gt;
 PR: Kyle Spaans (kspaans)&lt;br /&gt;
 VP: Edgar Bering (ebering)&lt;br /&gt;
 TR: Sapphyre Gervais (sagervai)&lt;br /&gt;
 SE: Ajnu Jacob (ajacob)&lt;br /&gt;
 SA: Matthew Thiffault (mthiffau)&lt;br /&gt;
 OF: Jacob Parker (j3parker)&lt;br /&gt;
&lt;br /&gt;
 Keyed office staffers: j3camero,jdonland,m2ellis,mimcpher,nsasherr&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
 PR: Jeff Cameron (j3camero)&lt;br /&gt;
 VP: Brennan Taylor (b4taylor)&lt;br /&gt;
 TR: Vardhan Mudunuru (vmudunur)&lt;br /&gt;
 SE: Matthew Lawrence (m3lawren)&lt;br /&gt;
 SA: Michael Ellis (m2ellis)&lt;br /&gt;
 OF: Edgar Bering (ebering)&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Past_Executive&amp;diff=2802</id>
		<title>Past Executive</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Past_Executive&amp;diff=2802"/>
		<updated>2010-08-20T01:35:19Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* 2002 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
= Definitions =&lt;br /&gt;
 #define PR President&lt;br /&gt;
 #define VP Vice-president&lt;br /&gt;
 #define TR Treasurer&lt;br /&gt;
 #define SE Secretary&lt;br /&gt;
 #define SA Sysadmin&lt;br /&gt;
 #define OF Office Manager&lt;br /&gt;
 #define LI Librarian&lt;br /&gt;
 #define FL Flasher&lt;br /&gt;
 #define DE Diety&lt;br /&gt;
 #define WW Webmaster&lt;br /&gt;
 #define SE-TR Secretary-Treasurer (Position was split)&lt;br /&gt;
&lt;br /&gt;
=Founding 1967-1968=&lt;br /&gt;
&lt;br /&gt;
 Sponsor - J. Peter Sprung&lt;br /&gt;
 PR: K. Rugger&lt;br /&gt;
 VP: R. Jaques&lt;br /&gt;
 SE-TR: G. Sutherland&lt;br /&gt;
&lt;br /&gt;
 Founding Members:&lt;br /&gt;
 B. Kindree&lt;br /&gt;
 R. Melen&lt;br /&gt;
 V. Neglia&lt;br /&gt;
 R. Charney&lt;br /&gt;
 R. Truman&lt;br /&gt;
 Glenn Berry&lt;br /&gt;
 D. Meek&lt;br /&gt;
&lt;br /&gt;
=1968-1969=&lt;br /&gt;
&lt;br /&gt;
 SE-TR: Glenn Berry&lt;br /&gt;
&lt;br /&gt;
=1969-1970=&lt;br /&gt;
&lt;br /&gt;
Unknown, only one letter found in the folder &#039;ACM History&#039; addressed to Glenn Berry, which makes it likely that he was SE-TR once again. May be indicated in membership lists. The club appears to have died this academic year.&lt;br /&gt;
&lt;br /&gt;
===A note on ACM affiliation===&lt;br /&gt;
&lt;br /&gt;
The first attempt at joining the ACM was started with an informal inquiry Dec 5, 1967. This lead to a series of constitution edits (working towards affiliation) in Winter 1968. There was a break for the spring (no correspondence found, I presume we were waiting on a reply). In the fall records indicate that our constitution and chartering was rejected, further correspondence was sent in Fall 1968 by Glenn Berry. A new inquiry, seemingly unaware of the first was sent Dec 7, 1970 &lt;br /&gt;
&lt;br /&gt;
=1971=&lt;br /&gt;
&lt;br /&gt;
James W. Welch is the only person sending letters for the club. Later signs them Vice-President. Continues this for most of the year. Either he was VP throughout 3 terms or we were on calendar year elections then. &lt;br /&gt;
&lt;br /&gt;
=1972=&lt;br /&gt;
&lt;br /&gt;
It appears we visited Western and Western visited us this year (there is some reference to a similar occurrence the year previous). Documents from 1973 indicate a termly exec structure, this probably goes back to 1972.&lt;br /&gt;
&lt;br /&gt;
===Winter===&lt;br /&gt;
&lt;br /&gt;
 PR: Mike Campbell&lt;br /&gt;
 SE: Doug Lacy&lt;br /&gt;
&lt;br /&gt;
there is also stuff from James W. Welch without a position. Considering his work in the founding and that the letters are speaker invitations he is, with high probability, VP this term.&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
&lt;br /&gt;
===Fall===&lt;br /&gt;
&lt;br /&gt;
 PR: Ian McIntosh&lt;br /&gt;
&lt;br /&gt;
=1973=&lt;br /&gt;
&lt;br /&gt;
 Faculty Sponsor: M. Gentleman&lt;br /&gt;
&lt;br /&gt;
===Winter===&lt;br /&gt;
===Spring===&lt;br /&gt;
&lt;br /&gt;
Either secretary or VP: Jim Parry (sent the only letter on file, but it is a speaker invite, did not sign his position).&lt;br /&gt;
&lt;br /&gt;
===Fall===&lt;br /&gt;
&lt;br /&gt;
 PR: Jim Parry&lt;br /&gt;
 VP: Ray Walden&lt;br /&gt;
 TR: Slavko Stemberger&lt;br /&gt;
 SE: Mario Festival&lt;br /&gt;
&lt;br /&gt;
=1974-1988=&lt;br /&gt;
&lt;br /&gt;
James B- was president in Winter 88 (signature hard to read).&lt;br /&gt;
Tim Timar - cc&#039;d on memos/mentioned on mathsoc minutes in 1987/88.&lt;br /&gt;
The Sysadmin and Office Manager positions seem to have been created somewhere in here. The &#039;Record Management Profile&#039; that Robyn Stewart did as an assignment in 1991-1992 for some class at UBC&lt;br /&gt;
indicates the existence of both positions. As we acquired an HP-9000 in 1987 and this is likely our first computer (previously we only had a terminal?), the sysadmin was created then.&lt;br /&gt;
&lt;br /&gt;
=1989=&lt;br /&gt;
===Winter===&lt;br /&gt;
&lt;br /&gt;
 PR: Kevin W. Smith ?? (derived from a signature, may be a bad reading)&lt;br /&gt;
 VP: Angela Chambers&lt;br /&gt;
 TR:&lt;br /&gt;
 SE: Sean Goggin&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
===Fall===&lt;br /&gt;
&lt;br /&gt;
 PR: Sean Goggin&lt;br /&gt;
&lt;br /&gt;
=1990=&lt;br /&gt;
===Winter===&lt;br /&gt;
===Spring===&lt;br /&gt;
===Fall===&lt;br /&gt;
 PR: Wade Richards&lt;br /&gt;
 Kivi Shapiro - attended mathsoc meeting on our behalf. - Censured by mathsoc for his actions during the election.&lt;br /&gt;
 Shannon Mann - attended mathsoc meeting on our behalf.&lt;br /&gt;
 Robyn Stewart - attended mathsoc meeting on our behalf.&lt;br /&gt;
&lt;br /&gt;
=1991=&lt;br /&gt;
===Winter===&lt;br /&gt;
 Shannon Mann - attended mathsoc meeting on our behalf.&lt;br /&gt;
 Ed Bourne - attended mathsoc meeting on our behalf.&lt;br /&gt;
===Spring===&lt;br /&gt;
 Jason Knell - attended mathsoc meeting on our and PMC&#039;s behalf.&lt;br /&gt;
===Fall===&lt;br /&gt;
 Wiktor Wiewiorowski - attended mathsoc meeting on our behalf this term.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=1995=&lt;br /&gt;
===Winter===&lt;br /&gt;
===Spring===&lt;br /&gt;
===Fall===&lt;br /&gt;
 PR: Amy Brown (arbrown) &lt;br /&gt;
 VP: Christina Norman (cbnorman)&lt;br /&gt;
 TR: Steven Mills (samills)&lt;br /&gt;
 SE: Allison Graham (akgraham)&lt;br /&gt;
 SA: Gavin Peters&lt;br /&gt;
&lt;br /&gt;
=1996=&lt;br /&gt;
===Winter===&lt;br /&gt;
 PR: Nikita Borisov (nborisov)&lt;br /&gt;
 VP: Joseph Deu Ngoc (dtdeungo) &lt;br /&gt;
 TR: Stephen Mills (samills)&lt;br /&gt;
 SE: Sharlene Schmeichel (saschmei)&lt;br /&gt;
 SA: Dave Brown (dagbrown)&lt;br /&gt;
 OF: Somsack Tsai (stsai)&lt;br /&gt;
 LI: Devin Carless (dccarles)&lt;br /&gt;
 FL: Allyson Graham (akgraham)&lt;br /&gt;
 DE: Ian Goldberg (iagoldbe)&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
 PR: Blake Winton (bwinton)&lt;br /&gt;
 VP: Nick Harvey (njaharve)&lt;br /&gt;
 TR: Nikita Borisov (nborisov)&lt;br /&gt;
 SE: Viet-Trung Luu (vluu)&lt;br /&gt;
 SA: Drew Hamilton (awhamilt)&lt;br /&gt;
 OF: Jillian Arnott (jarnott)&lt;br /&gt;
 LI: Ross Ridge (rridge)&lt;br /&gt;
 FL: Devin Carless (dccarles)&lt;br /&gt;
&lt;br /&gt;
=== Fall ===&lt;br /&gt;
 PR: Shannon Mann (sjbmann) &lt;br /&gt;
 VP: Joe &amp;quot;Frosh&amp;quot; Deu Ngoc (jtdeungo)    resigned (heavy workload)&lt;br /&gt;
 TR: Michal Van Biesbrouck (mlvanbie) &lt;br /&gt;
 SE: Nikita Borisov (nborisov) &lt;br /&gt;
 SA: Chris Rovers &lt;br /&gt;
 OF: Dax Hutcheon (ddhutche) &lt;br /&gt;
 LI: Aliz Csenki (acsenki) &lt;br /&gt;
 FL: Aaron Chmielowiec (archmiel) &lt;br /&gt;
 DE: Skuld (no uwuserid yet...)&lt;br /&gt;
&lt;br /&gt;
=1997 =&lt;br /&gt;
&lt;br /&gt;
===Winter===&lt;br /&gt;
 PR:Dima Brodsky &lt;br /&gt;
 VP: Nikita Borisov &lt;br /&gt;
 TR: Stephen Mills&lt;br /&gt;
 SE: ejones&lt;br /&gt;
 SA: Alex Brodsky&lt;br /&gt;
 OF: Chris Doherty&lt;br /&gt;
 LI: Matt Corks &lt;br /&gt;
 FL: Paul Prescod&lt;br /&gt;
&lt;br /&gt;
=== Fall ===&lt;br /&gt;
 PR: Chris Rovers (cdrovers) &lt;br /&gt;
 VP: Viet-Trung Luu (vluu) &lt;br /&gt;
 TR: Somsack Tsai (stsai) &lt;br /&gt;
 SE: Matt Corks (mvcorks)&lt;br /&gt;
&lt;br /&gt;
= 1998 =&lt;br /&gt;
=== Winter ===&lt;br /&gt;
 PR: Suresh Naidu  &lt;br /&gt;
 VP: Viet-Trung Luu &lt;br /&gt;
 TR: Tim Coleman &lt;br /&gt;
 SE: Dax Hutcheon &lt;br /&gt;
 Librarian: Dax Hutcheon &lt;br /&gt;
 Flasher: Dax Hutcheon &lt;br /&gt;
 Webmaster: Dax Hutcheon &lt;br /&gt;
 SA:  &lt;br /&gt;
 OF: Aaron Chmielowiec&lt;br /&gt;
&lt;br /&gt;
=== Spring ===&lt;br /&gt;
&lt;br /&gt;
 Position	Name	You might call them...&lt;br /&gt;
 President	roconnor	Russell O&#039;Connor&lt;br /&gt;
 Vice-president	trwcolem	Tim Coleman&lt;br /&gt;
 Treasurer	knzarysk	Karl Zaryski&lt;br /&gt;
 Secretary	(bwinton)	(Blake Winton)&lt;br /&gt;
 Sysadmin	wbiggs	Billy Biggs&lt;br /&gt;
 Librarian	snaidu	Suresh Naidu&lt;br /&gt;
 Flasher	pechrysl	Paul Chrysler&lt;br /&gt;
 Office Manager	dccarles	Devin Carless&lt;br /&gt;
 WWWW	trwcolem	Tim Coleman&lt;br /&gt;
&lt;br /&gt;
=== Fall ===&lt;br /&gt;
&lt;br /&gt;
 President	Joe Deu Ngoc	jtdeungo&lt;br /&gt;
 Vice-President	Wai Ling Yee	wlyee&lt;br /&gt;
 Treasurer	Fjord	j2lynn&lt;br /&gt;
 Secretary	Matt Corks	mvcorks&lt;br /&gt;
 Sysadmin	Andrew Hamilton	awhamilt&lt;br /&gt;
&lt;br /&gt;
 World Wide Web Wench	Dax Hutcheon	ddhutche&lt;br /&gt;
 Office Manager	Richard Bell	rlbell&lt;br /&gt;
 Librarian	Damian Gryski	dgryski&lt;br /&gt;
 Flasher	Paul Chrysler	pechrysl&lt;br /&gt;
 Official Deity	Ian Goldberg	iagoldbe&lt;br /&gt;
 Official Chairbeing	Calum T. Dalek	calum&lt;br /&gt;
&lt;br /&gt;
=1999=&lt;br /&gt;
&lt;br /&gt;
=== Winter ===&lt;br /&gt;
&lt;br /&gt;
=== Spring ===&lt;br /&gt;
&lt;br /&gt;
=== Fall ===&lt;br /&gt;
&lt;br /&gt;
=2000=&lt;br /&gt;
=== Winter ===&lt;br /&gt;
&lt;br /&gt;
=== Spring ===&lt;br /&gt;
&lt;br /&gt;
=== Fall ===&lt;br /&gt;
&lt;br /&gt;
=2001=&lt;br /&gt;
=== Winter ===&lt;br /&gt;
&lt;br /&gt;
=== Spring ===&lt;br /&gt;
&lt;br /&gt;
=== Fall ===&lt;br /&gt;
&lt;br /&gt;
=2002=&lt;br /&gt;
http://www.mathnews.uwaterloo.ca/Issues/mn8902/cscflash.php&lt;br /&gt;
=== Winter ===&lt;br /&gt;
 PR: Billy Biggs&lt;br /&gt;
 VP: Stefanus Du Toit&lt;br /&gt;
 TR: Melissa Basinger&lt;br /&gt;
 SE: James Perry&lt;br /&gt;
 SA: Barry Genova&lt;br /&gt;
 Librarian: Ryan Golbeck&lt;br /&gt;
 Webmaster: Jonathan Beverley&lt;br /&gt;
 Office Manager: Sayan Li&lt;br /&gt;
&lt;br /&gt;
=== Spring ===&lt;br /&gt;
 PR: Alex Pop&lt;br /&gt;
 VP: Melissa Basinger&lt;br /&gt;
 TR: Siyan Li&lt;br /&gt;
 SE: James A Morrison&lt;br /&gt;
 SA: Jonathan Beverley&lt;br /&gt;
 Webmaster: Stefanus Du Toit&lt;br /&gt;
&lt;br /&gt;
=== Fall ===&lt;br /&gt;
 PR: James A. Morrison&lt;br /&gt;
 VP: Stefanus Du Toit&lt;br /&gt;
 TR: James Perry&lt;br /&gt;
 SE: Michael Biggs&lt;br /&gt;
 SA: Ryan Golbeck&lt;br /&gt;
 Librarian: Mark Sherry, Cassandra Schopf&lt;br /&gt;
 Webmaster: Stefanus Du Toit&lt;br /&gt;
&lt;br /&gt;
=2003=&lt;br /&gt;
=== Winter ===&lt;br /&gt;
 PR: Kannan Vijayan &lt;br /&gt;
 VP: Meg Darragh &lt;br /&gt;
 TR: James Perry &lt;br /&gt;
 SE: Wojtek Kosnik &lt;br /&gt;
 SA:  &lt;br /&gt;
 Librarian: Simon Law &lt;br /&gt;
 Webmaster: Julie Lavoie&lt;br /&gt;
&lt;br /&gt;
=== Spring===&lt;br /&gt;
===Fall===&lt;br /&gt;
 PR: sjdutoit&lt;br /&gt;
 VP: m3darrag&lt;br /&gt;
 TR: tmyklebu&lt;br /&gt;
 SE: jeperry&lt;br /&gt;
 SA: sfllaw&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=2004=&lt;br /&gt;
===Winter===&lt;br /&gt;
 PR: sfllaw&lt;br /&gt;
 VP: fspacek&lt;br /&gt;
 TR: ljain&lt;br /&gt;
 SE: jlavoie&lt;br /&gt;
 SA: tmyklebu&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
 PR: dnmorton ?&lt;br /&gt;
 VP: tloach&lt;br /&gt;
 TR: mbiggs&lt;br /&gt;
 SE: lanortha&lt;br /&gt;
 SA: &lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Fall ===&lt;br /&gt;
 PR: jeperry&lt;br /&gt;
 VP: mtsay&lt;br /&gt;
 TR: msherry&lt;br /&gt;
 SE: tmyklebu&lt;br /&gt;
 SA: jlavoie&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
=2005=&lt;br /&gt;
===Winter===&lt;br /&gt;
&lt;br /&gt;
 PR: mtsay&lt;br /&gt;
 VP: lanortha&lt;br /&gt;
 TR: hkarau&lt;br /&gt;
 SE: domorton&lt;br /&gt;
 SA: tmyklebu&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
&lt;br /&gt;
 PR: msherry&lt;br /&gt;
 VP: mdkess&lt;br /&gt;
 TR: apiccon&lt;br /&gt;
 SE: mbiggs&lt;br /&gt;
 SA: tmyklebu&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Fall===&lt;br /&gt;
&lt;br /&gt;
 PR: Tim Loach&lt;br /&gt;
 VP: Lesley Northam&lt;br /&gt;
 TR: Caelyn McAulay&lt;br /&gt;
 SE: The Professor&lt;br /&gt;
 SA: hkarau&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
=2006=&lt;br /&gt;
&lt;br /&gt;
===Winter===&lt;br /&gt;
&lt;br /&gt;
 PR: tmyklebu&lt;br /&gt;
 VP: mdruker&lt;br /&gt;
 TR: &lt;br /&gt;
 SE: &lt;br /&gt;
 SA:&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
 PR: dtbartle&lt;br /&gt;
 VP:&lt;br /&gt;
 TR: &lt;br /&gt;
 SE: &lt;br /&gt;
 SA:&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Fall===&lt;br /&gt;
&lt;br /&gt;
 PR: mdkess&lt;br /&gt;
 VP: mdsherry&lt;br /&gt;
 TR: slmably&lt;br /&gt;
 SE: cmcaulay &lt;br /&gt;
 SA: woconnor&lt;br /&gt;
&lt;br /&gt;
=2007=&lt;br /&gt;
&lt;br /&gt;
===Winter===&lt;br /&gt;
 PR: dtbartle&lt;br /&gt;
 VP: dbelange &lt;br /&gt;
 TR: cmcaulay&lt;br /&gt;
 SE: dtenty&lt;br /&gt;
 SA: hkarau&lt;br /&gt;
 Webmaster: jnopporn&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
 PR: gdcosta&lt;br /&gt;
 VP: kmlarose&lt;br /&gt;
 TR: kspaans&lt;br /&gt;
 SE: elouie&lt;br /&gt;
 SA: mspang&lt;br /&gt;
 Librarian: daltenty&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Fall ===&lt;br /&gt;
 PR: hkarau&lt;br /&gt;
 VP: amccausl&lt;br /&gt;
 TR: dchlobow &lt;br /&gt;
 SE: sgcummin&lt;br /&gt;
 SA: &lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
=2008=&lt;br /&gt;
===Winter ===&lt;br /&gt;
 PR: sgcummin&lt;br /&gt;
 VP: m3lawren&lt;br /&gt;
 TR: mtarkows&lt;br /&gt;
 SE: ebering&lt;br /&gt;
 SA: jmsaunde&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Summer ===&lt;br /&gt;
 PR: b4taylor&lt;br /&gt;
 VP: qxi&lt;br /&gt;
 TR: m3lawren&lt;br /&gt;
 SE:&lt;br /&gt;
 SA:&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Fall ===&lt;br /&gt;
 PR: Matthew Lawrence (m3lawren)&lt;br /&gt;
 VP: Edgar Bering (ebering)&lt;br /&gt;
 TR: Michael Gregson (mgregson)&lt;br /&gt;
 SE: James Simpson (j2simpso) resigned for medical reasons, replaced by Dominik &#039;Domo&#039; Chłobowski&lt;br /&gt;
 SA: Kyle Spaans (kspaans)&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
=2009=&lt;br /&gt;
===Winter===&lt;br /&gt;
 PR: Michael Gregson (mgregson)&lt;br /&gt;
 VP: Edgar Bering (ebering)&lt;br /&gt;
 TR: Brennan Taylor (b4taylor)&lt;br /&gt;
 SE: James Simpson (j2simpso)  resigned for business reasons, replaced by Rebecca Putinski (rjputins) &lt;br /&gt;
 SA: Jacob Parker (j3parker) &lt;br /&gt;
 OF: XinChi Yang / Sapphyre Gervais (x23yang / sagervai) (both)&lt;br /&gt;
&lt;br /&gt;
===Spring ===&lt;br /&gt;
 PR: Michael Spang (mspang)&lt;br /&gt;
 VP: Jacob Parker (j3parker)&lt;br /&gt;
 TR: Sapphyre Gervais (sagervai)&lt;br /&gt;
 SE: Matthew McPherrin (mimcpher)&lt;br /&gt;
 SA: Anthony Brennan (a2brenna)&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Fall===&lt;br /&gt;
 PR: Jacob Parker (j3parker)&lt;br /&gt;
 VP: Edgar Bering (ebering)&lt;br /&gt;
 TR: Michael Spang (mspang)&lt;br /&gt;
 SE: Brennan Taylor (b4taylor)&lt;br /&gt;
 SA: Michael Ellis (m2ellis)&lt;br /&gt;
 OF: Rebecca Putinski (rputinski)&lt;br /&gt;
&lt;br /&gt;
=2010=&lt;br /&gt;
===Winter===&lt;br /&gt;
 PR: Kyle Spaans (kspaans)&lt;br /&gt;
 VP: Edgar Bering (ebering)&lt;br /&gt;
 TR: Sapphyre Gervais (sagervai)&lt;br /&gt;
 SE: Ajnu Jacob (ajacob)&lt;br /&gt;
 SA: Matthew Thiffault (mthiffau)&lt;br /&gt;
 OF: Jacob Parker (j3parker)&lt;br /&gt;
&lt;br /&gt;
 Keyed office staffers: j3camero,jdonland,m2ellis,mimcpher,nsasherr&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
 PR: Jeff Cameron (j3camero)&lt;br /&gt;
 VP: Brennan Taylor (b4taylor)&lt;br /&gt;
 TR: Vardhan Mudunuru (vmudunur)&lt;br /&gt;
 SE: Matthew Lawrence (m3lawren)&lt;br /&gt;
 SA: Michael Ellis (m2ellis)&lt;br /&gt;
 OF: Edgar Bering (ebering)&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Past_Executive&amp;diff=2801</id>
		<title>Past Executive</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Past_Executive&amp;diff=2801"/>
		<updated>2010-08-20T01:32:20Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: Add fall 2002&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
= Definitions =&lt;br /&gt;
 #define PR President&lt;br /&gt;
 #define VP Vice-president&lt;br /&gt;
 #define TR Treasurer&lt;br /&gt;
 #define SE Secretary&lt;br /&gt;
 #define SA Sysadmin&lt;br /&gt;
 #define OF Office Manager&lt;br /&gt;
 #define LI Librarian&lt;br /&gt;
 #define FL Flasher&lt;br /&gt;
 #define DE Diety&lt;br /&gt;
 #define WW Webmaster&lt;br /&gt;
 #define SE-TR Secretary-Treasurer (Position was split)&lt;br /&gt;
&lt;br /&gt;
=Founding 1967-1968=&lt;br /&gt;
&lt;br /&gt;
 Sponsor - J. Peter Sprung&lt;br /&gt;
 PR: K. Rugger&lt;br /&gt;
 VP: R. Jaques&lt;br /&gt;
 SE-TR: G. Sutherland&lt;br /&gt;
&lt;br /&gt;
 Founding Members:&lt;br /&gt;
 B. Kindree&lt;br /&gt;
 R. Melen&lt;br /&gt;
 V. Neglia&lt;br /&gt;
 R. Charney&lt;br /&gt;
 R. Truman&lt;br /&gt;
 Glenn Berry&lt;br /&gt;
 D. Meek&lt;br /&gt;
&lt;br /&gt;
=1968-1969=&lt;br /&gt;
&lt;br /&gt;
 SE-TR: Glenn Berry&lt;br /&gt;
&lt;br /&gt;
=1969-1970=&lt;br /&gt;
&lt;br /&gt;
Unknown, only one letter found in the folder &#039;ACM History&#039; addressed to Glenn Berry, which makes it likely that he was SE-TR once again. May be indicated in membership lists. The club appears to have died this academic year.&lt;br /&gt;
&lt;br /&gt;
===A note on ACM affiliation===&lt;br /&gt;
&lt;br /&gt;
The first attempt at joining the ACM was started with an informal inquiry Dec 5, 1967. This lead to a series of constitution edits (working towards affiliation) in Winter 1968. There was a break for the spring (no correspondence found, I presume we were waiting on a reply). In the fall records indicate that our constitution and chartering was rejected, further correspondence was sent in Fall 1968 by Glenn Berry. A new inquiry, seemingly unaware of the first was sent Dec 7, 1970 &lt;br /&gt;
&lt;br /&gt;
=1971=&lt;br /&gt;
&lt;br /&gt;
James W. Welch is the only person sending letters for the club. Later signs them Vice-President. Continues this for most of the year. Either he was VP throughout 3 terms or we were on calendar year elections then. &lt;br /&gt;
&lt;br /&gt;
=1972=&lt;br /&gt;
&lt;br /&gt;
It appears we visited Western and Western visited us this year (there is some reference to a similar occurrence the year previous). Documents from 1973 indicate a termly exec structure, this probably goes back to 1972.&lt;br /&gt;
&lt;br /&gt;
===Winter===&lt;br /&gt;
&lt;br /&gt;
 PR: Mike Campbell&lt;br /&gt;
 SE: Doug Lacy&lt;br /&gt;
&lt;br /&gt;
there is also stuff from James W. Welch without a position. Considering his work in the founding and that the letters are speaker invitations he is, with high probability, VP this term.&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
&lt;br /&gt;
===Fall===&lt;br /&gt;
&lt;br /&gt;
 PR: Ian McIntosh&lt;br /&gt;
&lt;br /&gt;
=1973=&lt;br /&gt;
&lt;br /&gt;
 Faculty Sponsor: M. Gentleman&lt;br /&gt;
&lt;br /&gt;
===Winter===&lt;br /&gt;
===Spring===&lt;br /&gt;
&lt;br /&gt;
Either secretary or VP: Jim Parry (sent the only letter on file, but it is a speaker invite, did not sign his position).&lt;br /&gt;
&lt;br /&gt;
===Fall===&lt;br /&gt;
&lt;br /&gt;
 PR: Jim Parry&lt;br /&gt;
 VP: Ray Walden&lt;br /&gt;
 TR: Slavko Stemberger&lt;br /&gt;
 SE: Mario Festival&lt;br /&gt;
&lt;br /&gt;
=1974-1988=&lt;br /&gt;
&lt;br /&gt;
James B- was president in Winter 88 (signature hard to read).&lt;br /&gt;
Tim Timar - cc&#039;d on memos/mentioned on mathsoc minutes in 1987/88.&lt;br /&gt;
The Sysadmin and Office Manager positions seem to have been created somewhere in here. The &#039;Record Management Profile&#039; that Robyn Stewart did as an assignment in 1991-1992 for some class at UBC&lt;br /&gt;
indicates the existence of both positions. As we acquired an HP-9000 in 1987 and this is likely our first computer (previously we only had a terminal?), the sysadmin was created then.&lt;br /&gt;
&lt;br /&gt;
=1989=&lt;br /&gt;
===Winter===&lt;br /&gt;
&lt;br /&gt;
 PR: Kevin W. Smith ?? (derived from a signature, may be a bad reading)&lt;br /&gt;
 VP: Angela Chambers&lt;br /&gt;
 TR:&lt;br /&gt;
 SE: Sean Goggin&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
===Fall===&lt;br /&gt;
&lt;br /&gt;
 PR: Sean Goggin&lt;br /&gt;
&lt;br /&gt;
=1990=&lt;br /&gt;
===Winter===&lt;br /&gt;
===Spring===&lt;br /&gt;
===Fall===&lt;br /&gt;
 PR: Wade Richards&lt;br /&gt;
 Kivi Shapiro - attended mathsoc meeting on our behalf. - Censured by mathsoc for his actions during the election.&lt;br /&gt;
 Shannon Mann - attended mathsoc meeting on our behalf.&lt;br /&gt;
 Robyn Stewart - attended mathsoc meeting on our behalf.&lt;br /&gt;
&lt;br /&gt;
=1991=&lt;br /&gt;
===Winter===&lt;br /&gt;
 Shannon Mann - attended mathsoc meeting on our behalf.&lt;br /&gt;
 Ed Bourne - attended mathsoc meeting on our behalf.&lt;br /&gt;
===Spring===&lt;br /&gt;
 Jason Knell - attended mathsoc meeting on our and PMC&#039;s behalf.&lt;br /&gt;
===Fall===&lt;br /&gt;
 Wiktor Wiewiorowski - attended mathsoc meeting on our behalf this term.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=1995=&lt;br /&gt;
===Winter===&lt;br /&gt;
===Spring===&lt;br /&gt;
===Fall===&lt;br /&gt;
 PR: Amy Brown (arbrown) &lt;br /&gt;
 VP: Christina Norman (cbnorman)&lt;br /&gt;
 TR: Steven Mills (samills)&lt;br /&gt;
 SE: Allison Graham (akgraham)&lt;br /&gt;
 SA: Gavin Peters&lt;br /&gt;
&lt;br /&gt;
=1996=&lt;br /&gt;
===Winter===&lt;br /&gt;
 PR: Nikita Borisov (nborisov)&lt;br /&gt;
 VP: Joseph Deu Ngoc (dtdeungo) &lt;br /&gt;
 TR: Stephen Mills (samills)&lt;br /&gt;
 SE: Sharlene Schmeichel (saschmei)&lt;br /&gt;
 SA: Dave Brown (dagbrown)&lt;br /&gt;
 OF: Somsack Tsai (stsai)&lt;br /&gt;
 LI: Devin Carless (dccarles)&lt;br /&gt;
 FL: Allyson Graham (akgraham)&lt;br /&gt;
 DE: Ian Goldberg (iagoldbe)&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
 PR: Blake Winton (bwinton)&lt;br /&gt;
 VP: Nick Harvey (njaharve)&lt;br /&gt;
 TR: Nikita Borisov (nborisov)&lt;br /&gt;
 SE: Viet-Trung Luu (vluu)&lt;br /&gt;
 SA: Drew Hamilton (awhamilt)&lt;br /&gt;
 OF: Jillian Arnott (jarnott)&lt;br /&gt;
 LI: Ross Ridge (rridge)&lt;br /&gt;
 FL: Devin Carless (dccarles)&lt;br /&gt;
&lt;br /&gt;
=== Fall ===&lt;br /&gt;
 PR: Shannon Mann (sjbmann) &lt;br /&gt;
 VP: Joe &amp;quot;Frosh&amp;quot; Deu Ngoc (jtdeungo)    resigned (heavy workload)&lt;br /&gt;
 TR: Michal Van Biesbrouck (mlvanbie) &lt;br /&gt;
 SE: Nikita Borisov (nborisov) &lt;br /&gt;
 SA: Chris Rovers &lt;br /&gt;
 OF: Dax Hutcheon (ddhutche) &lt;br /&gt;
 LI: Aliz Csenki (acsenki) &lt;br /&gt;
 FL: Aaron Chmielowiec (archmiel) &lt;br /&gt;
 DE: Skuld (no uwuserid yet...)&lt;br /&gt;
&lt;br /&gt;
=1997 =&lt;br /&gt;
&lt;br /&gt;
===Winter===&lt;br /&gt;
 PR:Dima Brodsky &lt;br /&gt;
 VP: Nikita Borisov &lt;br /&gt;
 TR: Stephen Mills&lt;br /&gt;
 SE: ejones&lt;br /&gt;
 SA: Alex Brodsky&lt;br /&gt;
 OF: Chris Doherty&lt;br /&gt;
 LI: Matt Corks &lt;br /&gt;
 FL: Paul Prescod&lt;br /&gt;
&lt;br /&gt;
=== Fall ===&lt;br /&gt;
 PR: Chris Rovers (cdrovers) &lt;br /&gt;
 VP: Viet-Trung Luu (vluu) &lt;br /&gt;
 TR: Somsack Tsai (stsai) &lt;br /&gt;
 SE: Matt Corks (mvcorks)&lt;br /&gt;
&lt;br /&gt;
= 1998 =&lt;br /&gt;
=== Winter ===&lt;br /&gt;
 PR: Suresh Naidu  &lt;br /&gt;
 VP: Viet-Trung Luu &lt;br /&gt;
 TR: Tim Coleman &lt;br /&gt;
 SE: Dax Hutcheon &lt;br /&gt;
 Librarian: Dax Hutcheon &lt;br /&gt;
 Flasher: Dax Hutcheon &lt;br /&gt;
 Webmaster: Dax Hutcheon &lt;br /&gt;
 SA:  &lt;br /&gt;
 OF: Aaron Chmielowiec&lt;br /&gt;
&lt;br /&gt;
=== Spring ===&lt;br /&gt;
&lt;br /&gt;
 Position	Name	You might call them...&lt;br /&gt;
 President	roconnor	Russell O&#039;Connor&lt;br /&gt;
 Vice-president	trwcolem	Tim Coleman&lt;br /&gt;
 Treasurer	knzarysk	Karl Zaryski&lt;br /&gt;
 Secretary	(bwinton)	(Blake Winton)&lt;br /&gt;
 Sysadmin	wbiggs	Billy Biggs&lt;br /&gt;
 Librarian	snaidu	Suresh Naidu&lt;br /&gt;
 Flasher	pechrysl	Paul Chrysler&lt;br /&gt;
 Office Manager	dccarles	Devin Carless&lt;br /&gt;
 WWWW	trwcolem	Tim Coleman&lt;br /&gt;
&lt;br /&gt;
=== Fall ===&lt;br /&gt;
&lt;br /&gt;
 President	Joe Deu Ngoc	jtdeungo&lt;br /&gt;
 Vice-President	Wai Ling Yee	wlyee&lt;br /&gt;
 Treasurer	Fjord	j2lynn&lt;br /&gt;
 Secretary	Matt Corks	mvcorks&lt;br /&gt;
 Sysadmin	Andrew Hamilton	awhamilt&lt;br /&gt;
&lt;br /&gt;
 World Wide Web Wench	Dax Hutcheon	ddhutche&lt;br /&gt;
 Office Manager	Richard Bell	rlbell&lt;br /&gt;
 Librarian	Damian Gryski	dgryski&lt;br /&gt;
 Flasher	Paul Chrysler	pechrysl&lt;br /&gt;
 Official Deity	Ian Goldberg	iagoldbe&lt;br /&gt;
 Official Chairbeing	Calum T. Dalek	calum&lt;br /&gt;
&lt;br /&gt;
=1999=&lt;br /&gt;
&lt;br /&gt;
=== Winter ===&lt;br /&gt;
&lt;br /&gt;
=== Spring ===&lt;br /&gt;
&lt;br /&gt;
=== Fall ===&lt;br /&gt;
&lt;br /&gt;
=2000=&lt;br /&gt;
=== Winter ===&lt;br /&gt;
&lt;br /&gt;
=== Spring ===&lt;br /&gt;
&lt;br /&gt;
=== Fall ===&lt;br /&gt;
&lt;br /&gt;
=2001=&lt;br /&gt;
=== Winter ===&lt;br /&gt;
&lt;br /&gt;
=== Spring ===&lt;br /&gt;
&lt;br /&gt;
=== Fall ===&lt;br /&gt;
&lt;br /&gt;
=2002=&lt;br /&gt;
http://www.mathnews.uwaterloo.ca/Issues/mn8902/cscflash.php&lt;br /&gt;
=== Winter ===&lt;br /&gt;
&lt;br /&gt;
=== Spring ===&lt;br /&gt;
&lt;br /&gt;
=== Fall ===&lt;br /&gt;
 PR: James A. Morrison&lt;br /&gt;
 VP: Stefanus Du Toit&lt;br /&gt;
 SE: Michael Biggs&lt;br /&gt;
 TR: James Perry&lt;br /&gt;
 SA: Ryan Golbeck&lt;br /&gt;
 Librarian: Mark Sherry, Cassandra Schopf&lt;br /&gt;
 Webmaster: Stefanus Du Toit&lt;br /&gt;
&lt;br /&gt;
=2003=&lt;br /&gt;
=== Winter ===&lt;br /&gt;
 PR: Kannan Vijayan &lt;br /&gt;
 VP: Meg Darragh &lt;br /&gt;
 TR: James Perry &lt;br /&gt;
 SE: Wojtek Kosnik &lt;br /&gt;
 SA:  &lt;br /&gt;
 Librarian: Simon Law &lt;br /&gt;
 Webmaster: Julie Lavoie&lt;br /&gt;
&lt;br /&gt;
=== Spring===&lt;br /&gt;
===Fall===&lt;br /&gt;
 PR: sjdutoit&lt;br /&gt;
 VP: m3darrag&lt;br /&gt;
 TR: tmyklebu&lt;br /&gt;
 SE: jeperry&lt;br /&gt;
 SA: sfllaw&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=2004=&lt;br /&gt;
===Winter===&lt;br /&gt;
 PR: sfllaw&lt;br /&gt;
 VP: fspacek&lt;br /&gt;
 TR: ljain&lt;br /&gt;
 SE: jlavoie&lt;br /&gt;
 SA: tmyklebu&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
 PR: dnmorton ?&lt;br /&gt;
 VP: tloach&lt;br /&gt;
 TR: mbiggs&lt;br /&gt;
 SE: lanortha&lt;br /&gt;
 SA: &lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Fall ===&lt;br /&gt;
 PR: jeperry&lt;br /&gt;
 VP: mtsay&lt;br /&gt;
 TR: msherry&lt;br /&gt;
 SE: tmyklebu&lt;br /&gt;
 SA: jlavoie&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
=2005=&lt;br /&gt;
===Winter===&lt;br /&gt;
&lt;br /&gt;
 PR: mtsay&lt;br /&gt;
 VP: lanortha&lt;br /&gt;
 TR: hkarau&lt;br /&gt;
 SE: domorton&lt;br /&gt;
 SA: tmyklebu&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
&lt;br /&gt;
 PR: msherry&lt;br /&gt;
 VP: mdkess&lt;br /&gt;
 TR: apiccon&lt;br /&gt;
 SE: mbiggs&lt;br /&gt;
 SA: tmyklebu&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Fall===&lt;br /&gt;
&lt;br /&gt;
 PR: Tim Loach&lt;br /&gt;
 VP: Lesley Northam&lt;br /&gt;
 TR: Caelyn McAulay&lt;br /&gt;
 SE: The Professor&lt;br /&gt;
 SA: hkarau&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
=2006=&lt;br /&gt;
&lt;br /&gt;
===Winter===&lt;br /&gt;
&lt;br /&gt;
 PR: tmyklebu&lt;br /&gt;
 VP: mdruker&lt;br /&gt;
 TR: &lt;br /&gt;
 SE: &lt;br /&gt;
 SA:&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
 PR: dtbartle&lt;br /&gt;
 VP:&lt;br /&gt;
 TR: &lt;br /&gt;
 SE: &lt;br /&gt;
 SA:&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Fall===&lt;br /&gt;
&lt;br /&gt;
 PR: mdkess&lt;br /&gt;
 VP: mdsherry&lt;br /&gt;
 TR: slmably&lt;br /&gt;
 SE: cmcaulay &lt;br /&gt;
 SA: woconnor&lt;br /&gt;
&lt;br /&gt;
=2007=&lt;br /&gt;
&lt;br /&gt;
===Winter===&lt;br /&gt;
 PR: dtbartle&lt;br /&gt;
 VP: dbelange &lt;br /&gt;
 TR: cmcaulay&lt;br /&gt;
 SE: dtenty&lt;br /&gt;
 SA: hkarau&lt;br /&gt;
 Webmaster: jnopporn&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
 PR: gdcosta&lt;br /&gt;
 VP: kmlarose&lt;br /&gt;
 TR: kspaans&lt;br /&gt;
 SE: elouie&lt;br /&gt;
 SA: mspang&lt;br /&gt;
 Librarian: daltenty&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Fall ===&lt;br /&gt;
 PR: hkarau&lt;br /&gt;
 VP: amccausl&lt;br /&gt;
 TR: dchlobow &lt;br /&gt;
 SE: sgcummin&lt;br /&gt;
 SA: &lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
=2008=&lt;br /&gt;
===Winter ===&lt;br /&gt;
 PR: sgcummin&lt;br /&gt;
 VP: m3lawren&lt;br /&gt;
 TR: mtarkows&lt;br /&gt;
 SE: ebering&lt;br /&gt;
 SA: jmsaunde&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Summer ===&lt;br /&gt;
 PR: b4taylor&lt;br /&gt;
 VP: qxi&lt;br /&gt;
 TR: m3lawren&lt;br /&gt;
 SE:&lt;br /&gt;
 SA:&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Fall ===&lt;br /&gt;
 PR: Matthew Lawrence (m3lawren)&lt;br /&gt;
 VP: Edgar Bering (ebering)&lt;br /&gt;
 TR: Michael Gregson (mgregson)&lt;br /&gt;
 SE: James Simpson (j2simpso) resigned for medical reasons, replaced by Dominik &#039;Domo&#039; Chłobowski&lt;br /&gt;
 SA: Kyle Spaans (kspaans)&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
=2009=&lt;br /&gt;
===Winter===&lt;br /&gt;
 PR: Michael Gregson (mgregson)&lt;br /&gt;
 VP: Edgar Bering (ebering)&lt;br /&gt;
 TR: Brennan Taylor (b4taylor)&lt;br /&gt;
 SE: James Simpson (j2simpso)  resigned for business reasons, replaced by Rebecca Putinski (rjputins) &lt;br /&gt;
 SA: Jacob Parker (j3parker) &lt;br /&gt;
 OF: XinChi Yang / Sapphyre Gervais (x23yang / sagervai) (both)&lt;br /&gt;
&lt;br /&gt;
===Spring ===&lt;br /&gt;
 PR: Michael Spang (mspang)&lt;br /&gt;
 VP: Jacob Parker (j3parker)&lt;br /&gt;
 TR: Sapphyre Gervais (sagervai)&lt;br /&gt;
 SE: Matthew McPherrin (mimcpher)&lt;br /&gt;
 SA: Anthony Brennan (a2brenna)&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Fall===&lt;br /&gt;
 PR: Jacob Parker (j3parker)&lt;br /&gt;
 VP: Edgar Bering (ebering)&lt;br /&gt;
 TR: Michael Spang (mspang)&lt;br /&gt;
 SE: Brennan Taylor (b4taylor)&lt;br /&gt;
 SA: Michael Ellis (m2ellis)&lt;br /&gt;
 OF: Rebecca Putinski (rputinski)&lt;br /&gt;
&lt;br /&gt;
=2010=&lt;br /&gt;
===Winter===&lt;br /&gt;
 PR: Kyle Spaans (kspaans)&lt;br /&gt;
 VP: Edgar Bering (ebering)&lt;br /&gt;
 TR: Sapphyre Gervais (sagervai)&lt;br /&gt;
 SE: Ajnu Jacob (ajacob)&lt;br /&gt;
 SA: Matthew Thiffault (mthiffau)&lt;br /&gt;
 OF: Jacob Parker (j3parker)&lt;br /&gt;
&lt;br /&gt;
 Keyed office staffers: j3camero,jdonland,m2ellis,mimcpher,nsasherr&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
 PR: Jeff Cameron (j3camero)&lt;br /&gt;
 VP: Brennan Taylor (b4taylor)&lt;br /&gt;
 TR: Vardhan Mudunuru (vmudunur)&lt;br /&gt;
 SE: Matthew Lawrence (m3lawren)&lt;br /&gt;
 SA: Michael Ellis (m2ellis)&lt;br /&gt;
 OF: Edgar Bering (ebering)&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Past_Executive&amp;diff=2797</id>
		<title>Past Executive</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Past_Executive&amp;diff=2797"/>
		<updated>2010-08-20T01:20:03Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: Add dtbartle as president for spring 2006&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
= Definitions =&lt;br /&gt;
 #define PR President&lt;br /&gt;
 #define VP Vice-president&lt;br /&gt;
 #define TR Treasurer&lt;br /&gt;
 #define SE Secretary&lt;br /&gt;
 #define SA Sysadmin&lt;br /&gt;
 #define OF Office Manager&lt;br /&gt;
&lt;br /&gt;
=Founding 1967-1968=&lt;br /&gt;
&lt;br /&gt;
Sponsor - J. Peter Sprung&lt;br /&gt;
PR: K. Rugger&lt;br /&gt;
VP: R. Jaques&lt;br /&gt;
SE-TR: G. Sutherland&lt;br /&gt;
&lt;br /&gt;
Founding Members:&lt;br /&gt;
B. Kindree&lt;br /&gt;
R. Melen&lt;br /&gt;
V. Neglia&lt;br /&gt;
R. Charney&lt;br /&gt;
R. Truman&lt;br /&gt;
Glenn Berry&lt;br /&gt;
D. Meek&lt;br /&gt;
&lt;br /&gt;
=1968-1969=&lt;br /&gt;
&lt;br /&gt;
SE-TR: Glenn Berry&lt;br /&gt;
&lt;br /&gt;
=1969-1970=&lt;br /&gt;
&lt;br /&gt;
Unknown, only one letter found in the folder &#039;ACM History&#039; addressed to Glenn Berry, which makes it likely that he was SE-TR once again. May be indicated in membership lists. The club appears to have died this academic year.&lt;br /&gt;
&lt;br /&gt;
===A note on ACM affiliation===&lt;br /&gt;
&lt;br /&gt;
The first attempt at joining the ACM was started with an informal inquiry Dec 5, 1967. This lead to a series of constitution edits (working towards affiliation) in Winter 1968. There was a break for the spring (no correspondence found, I presume we were waiting on a reply). In the fall records indicate that our constitution and chartering was rejected, further correspondence was sent in Fall 1968 by Glenn Berry. A new inquiry, seemingly unaware of the first was sent Dec 7, 1970 &lt;br /&gt;
&lt;br /&gt;
=1971=&lt;br /&gt;
&lt;br /&gt;
James W. Welch is the only person sending letters for the club. Later signs them Vice-President. Continues this for most of the year. Either he was VP throughout 3 terms or we were on calendar year elections then. &lt;br /&gt;
&lt;br /&gt;
=1972=&lt;br /&gt;
&lt;br /&gt;
It appears we visited Western and Western visited us this year (there is some reference to a similar occurrence the year previous). Documents from 1973 indicate a termly exec structure, this probably goes back to 1972.&lt;br /&gt;
&lt;br /&gt;
===Winter===&lt;br /&gt;
&lt;br /&gt;
PR: Mike Campbell&lt;br /&gt;
SE: Doug Lacy&lt;br /&gt;
there is also stuff from James W. Welch without a position. Considering his work in the founding and that the letters are speaker invitations he is, with high probability, VP this term.&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
&lt;br /&gt;
===Fall===&lt;br /&gt;
&lt;br /&gt;
PR: Ian McIntosh&lt;br /&gt;
&lt;br /&gt;
=1973=&lt;br /&gt;
&lt;br /&gt;
Faculty Sponsor: M. Gentleman&lt;br /&gt;
&lt;br /&gt;
===Winter===&lt;br /&gt;
===Spring===&lt;br /&gt;
&lt;br /&gt;
Either secretary or VP: Jim Parry (sent the only letter on file, but it is a speaker invite, did not sign his position).&lt;br /&gt;
&lt;br /&gt;
===Fall===&lt;br /&gt;
&lt;br /&gt;
PR: Jim Parry&lt;br /&gt;
VP: Ray Walden&lt;br /&gt;
TR: Slavko Stemberger&lt;br /&gt;
SE: Mario Festival&lt;br /&gt;
&lt;br /&gt;
=1974-1988=&lt;br /&gt;
&lt;br /&gt;
James B- was president in Winter 88 (signature hard to read)&lt;br /&gt;
Tim Timar - cc&#039;d on memos/mentioned on mathsoc minutes in 1987/88.&lt;br /&gt;
The Sysadmin and Office Manager positions seem to have been created somewhere in here. The &#039;Record Management Profile&#039; that Robyn Stewart did as an assignment in 1991-1992 for some class at UBC&lt;br /&gt;
indicates the existence of both positions. As we acquired an HP-9000 in 1987 and this is likely our first computer (previously we only had a terminal?), the sysadmin was created then.&lt;br /&gt;
&lt;br /&gt;
=1989=&lt;br /&gt;
===Winter===&lt;br /&gt;
&lt;br /&gt;
PR: Kevin W. Smith ?? (derived from a signature, may be a bad reading)&lt;br /&gt;
VP: Angela Chambers&lt;br /&gt;
TR:&lt;br /&gt;
SE: Sean Goggin&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
===Fall===&lt;br /&gt;
&lt;br /&gt;
PR: Sean Goggin&lt;br /&gt;
&lt;br /&gt;
=1990=&lt;br /&gt;
===Winter===&lt;br /&gt;
===Spring===&lt;br /&gt;
===Fall===&lt;br /&gt;
PR: Wade Richards&lt;br /&gt;
Kivi Shapiro - attended mathsoc meeting on our behalf. - Censured by mathsoc for his actions during the election.&lt;br /&gt;
Shannon Mann - attended mathsoc meeting on our behalf.&lt;br /&gt;
Robyn Stewart - attended mathsoc meeting on our behalf.&lt;br /&gt;
&lt;br /&gt;
=1991=&lt;br /&gt;
===Winter===&lt;br /&gt;
Shannon Mann - attended mathsoc meeting on our behalf.&lt;br /&gt;
Ed Bourne - attended mathsoc meeting on our behalf.&lt;br /&gt;
===Spring===&lt;br /&gt;
Jason Knell - attended mathsoc meeting on our and PMC&#039;s behalf.&lt;br /&gt;
===Fall===&lt;br /&gt;
Wiktor Wiewiorowski - attended mathsoc meeting on our behalf this term.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=1995=&lt;br /&gt;
===Winter===&lt;br /&gt;
===Spring===&lt;br /&gt;
===Fall===&lt;br /&gt;
 PR: Amy Brown (arbrown) &lt;br /&gt;
 VP: Christina Norman (cbnorman)&lt;br /&gt;
 TR: Steven Mills (samills)&lt;br /&gt;
 SE: Allison Graham (akgraham)&lt;br /&gt;
 SA: Gavin Peters&lt;br /&gt;
&lt;br /&gt;
=1996=&lt;br /&gt;
===Winter===&lt;br /&gt;
 PR: Nikita Borisov (nborisov)&lt;br /&gt;
 VP: Joseph Deu Ngoc (dtdeungo) &lt;br /&gt;
 TR: Stephen Mills (samills)&lt;br /&gt;
 SE: Sharlene Schmeichel (saschmei)&lt;br /&gt;
 SA: Dave Brown (dagbrown)&lt;br /&gt;
 OF: Somsack Tsai (stsai)&lt;br /&gt;
 LI: Devin Carless (dccarles)&lt;br /&gt;
 FL: Allyson Graham (akgraham)&lt;br /&gt;
 DE: Ian Goldberg (iagoldbe)&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
 PR: Blake Winton (bwinton)&lt;br /&gt;
 VP: Nick Harvey (njaharve)&lt;br /&gt;
 TR: Nikita Borisov (nborisov)&lt;br /&gt;
 SE: Viet-Trung Luu (vluu)&lt;br /&gt;
 SA: Drew Hamilton (awhamilt)&lt;br /&gt;
 OF: Jillian Arnott (jarnott)&lt;br /&gt;
 LI: Ross Ridge (rridge)&lt;br /&gt;
 FL: Devin Carless (dccarles)&lt;br /&gt;
&lt;br /&gt;
=== Fall ===&lt;br /&gt;
 PR: Shannon Mann (sjbmann) &lt;br /&gt;
 VP: Joe &amp;quot;Frosh&amp;quot; Deu Ngoc (jtdeungo)    resigned (heavy workload)&lt;br /&gt;
 TR: Michal Van Biesbrouck (mlvanbie) &lt;br /&gt;
 SE: Nikita Borisov (nborisov) &lt;br /&gt;
 SA: Chris Rovers &lt;br /&gt;
 OF: Dax Hutcheon (ddhutche) &lt;br /&gt;
 LI: Aliz Csenki (acsenki) &lt;br /&gt;
 FL: Aaron Chmielowiec (archmiel) &lt;br /&gt;
 DE: Skuld (no uwuserid yet...)&lt;br /&gt;
&lt;br /&gt;
=1997 =&lt;br /&gt;
&lt;br /&gt;
===Winter===&lt;br /&gt;
 PR:Dima Brodsky &lt;br /&gt;
 VP: Nikita Borisov &lt;br /&gt;
 TR: Stephen Mills&lt;br /&gt;
 SE: ejones&lt;br /&gt;
 SA: Alex Brodsky&lt;br /&gt;
 OF: Chris Doherty&lt;br /&gt;
 LI: Matt Corks &lt;br /&gt;
 FL: Paul Prescod&lt;br /&gt;
&lt;br /&gt;
=== Fall ===&lt;br /&gt;
 PR: Chris Rovers (cdrovers) &lt;br /&gt;
 VP: Viet-Trung Luu (vluu) &lt;br /&gt;
 TR: Somsack Tsai (stsai) &lt;br /&gt;
 SE: Matt Corks (mvcorks)&lt;br /&gt;
&lt;br /&gt;
= 1998 =&lt;br /&gt;
=== Winter ===&lt;br /&gt;
 PR: Suresh Naidu  &lt;br /&gt;
 VP: Viet-Trung Luu &lt;br /&gt;
 TR: Tim Coleman &lt;br /&gt;
 SE: Dax Hutcheon &lt;br /&gt;
 Librarian: Dax Hutcheon &lt;br /&gt;
 Flasher: Dax Hutcheon &lt;br /&gt;
 Webmaster: Dax Hutcheon &lt;br /&gt;
 SA:  &lt;br /&gt;
 OF: Aaron Chmielowiec&lt;br /&gt;
&lt;br /&gt;
=== Spring ===&lt;br /&gt;
&lt;br /&gt;
Position	Name	You might call them...&lt;br /&gt;
President	roconnor	Russell O&#039;Connor&lt;br /&gt;
Vice-president	trwcolem	Tim Coleman&lt;br /&gt;
Treasurer	knzarysk	Karl Zaryski&lt;br /&gt;
Secretary	(bwinton)	(Blake Winton)&lt;br /&gt;
Sysadmin	wbiggs	Billy Biggs&lt;br /&gt;
Librarian	snaidu	Suresh Naidu&lt;br /&gt;
Flasher	pechrysl	Paul Chrysler&lt;br /&gt;
Office Manager	dccarles	Devin Carless&lt;br /&gt;
WWWW	trwcolem	Tim Coleman&lt;br /&gt;
&lt;br /&gt;
=== Fall ===&lt;br /&gt;
&lt;br /&gt;
 President	Joe Deu Ngoc	jtdeungo&lt;br /&gt;
 Vice-President	Wai Ling Yee	wlyee&lt;br /&gt;
 Treasurer	Fjord	j2lynn&lt;br /&gt;
 Secretary	Matt Corks	mvcorks&lt;br /&gt;
 Sysadmin	Andrew Hamilton	awhamilt&lt;br /&gt;
&lt;br /&gt;
 World Wide Web Wench	Dax Hutcheon	ddhutche&lt;br /&gt;
 Office Manager	Richard Bell	rlbell&lt;br /&gt;
 Librarian	Damian Gryski	dgryski&lt;br /&gt;
 Flasher	Paul Chrysler	pechrysl&lt;br /&gt;
 Official Deity	Ian Goldberg	iagoldbe&lt;br /&gt;
 Official Chairbeing	Calum T. Dalek	calum&lt;br /&gt;
&lt;br /&gt;
=1999=&lt;br /&gt;
&lt;br /&gt;
=== Winter ===&lt;br /&gt;
&lt;br /&gt;
=== Spring ===&lt;br /&gt;
&lt;br /&gt;
=== Fall ===&lt;br /&gt;
&lt;br /&gt;
=2000=&lt;br /&gt;
=== Winter ===&lt;br /&gt;
&lt;br /&gt;
=== Spring ===&lt;br /&gt;
&lt;br /&gt;
=== Fall ===&lt;br /&gt;
&lt;br /&gt;
=2001=&lt;br /&gt;
=== Winter ===&lt;br /&gt;
&lt;br /&gt;
=== Spring ===&lt;br /&gt;
&lt;br /&gt;
=== Fall ===&lt;br /&gt;
&lt;br /&gt;
=2002=&lt;br /&gt;
http://www.mathnews.uwaterloo.ca/Issues/mn8902/cscflash.php&lt;br /&gt;
=== Winter ===&lt;br /&gt;
&lt;br /&gt;
=== Spring ===&lt;br /&gt;
&lt;br /&gt;
=== Fall ===&lt;br /&gt;
&lt;br /&gt;
=2003=&lt;br /&gt;
=== Winter ===&lt;br /&gt;
 PR: Kannan Vijayan &lt;br /&gt;
 VP: Meg Darragh &lt;br /&gt;
 TR: James Perry &lt;br /&gt;
 SE: Wojtek Kosnik &lt;br /&gt;
 SA:  &lt;br /&gt;
 Librarian: Simon Law &lt;br /&gt;
 Webmaster: Julie Lavoie&lt;br /&gt;
&lt;br /&gt;
=== Spring===&lt;br /&gt;
===Fall===&lt;br /&gt;
 PR: sjdutoit&lt;br /&gt;
 VP: m3darrag&lt;br /&gt;
 TR: tmyklebu&lt;br /&gt;
 SE: jeperry&lt;br /&gt;
 SA: sfllaw&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=2004=&lt;br /&gt;
===Winter===&lt;br /&gt;
 PR: sfllaw&lt;br /&gt;
 VP: fspacek&lt;br /&gt;
 TR: ljain&lt;br /&gt;
 SE: jlavoie&lt;br /&gt;
 SA: tmyklebu&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
 PR: dnmorton ?&lt;br /&gt;
 VP: tloach&lt;br /&gt;
 TR: mbiggs&lt;br /&gt;
 SE: lanortha&lt;br /&gt;
 SA: &lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Fall ===&lt;br /&gt;
 PR: jeperry&lt;br /&gt;
 VP: mtsay&lt;br /&gt;
 TR: msherry&lt;br /&gt;
 SE: tmyklebu&lt;br /&gt;
 SA: jlavoie&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
=2005=&lt;br /&gt;
===Winter===&lt;br /&gt;
&lt;br /&gt;
 PR: mtsay&lt;br /&gt;
 VP: lanortha&lt;br /&gt;
 TR: hkarau&lt;br /&gt;
 SE: domorton&lt;br /&gt;
 SA: tmyklebu&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
&lt;br /&gt;
 PR: msherry&lt;br /&gt;
 VP: mdkess&lt;br /&gt;
 TR: apiccon&lt;br /&gt;
 SE: mbiggs&lt;br /&gt;
 SA: tmyklebu&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Fall===&lt;br /&gt;
&lt;br /&gt;
 PR: Tim Loach&lt;br /&gt;
 VP: Lesley Northam&lt;br /&gt;
 TR: Caelyn McAulay&lt;br /&gt;
 SE: The Professor&lt;br /&gt;
 SA: hkarau&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
=2006=&lt;br /&gt;
&lt;br /&gt;
===Winter===&lt;br /&gt;
&lt;br /&gt;
 PR: tmyklebu&lt;br /&gt;
 VP: mdruker&lt;br /&gt;
 TR: &lt;br /&gt;
 SE: &lt;br /&gt;
 SA:&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
 PR: dtbartle&lt;br /&gt;
 VP:&lt;br /&gt;
 TR: &lt;br /&gt;
 SE: &lt;br /&gt;
 SA:&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Fall===&lt;br /&gt;
&lt;br /&gt;
 PR: mdkess&lt;br /&gt;
 VP: mdsherry&lt;br /&gt;
 TR: slmably&lt;br /&gt;
 SE: cmcaulay &lt;br /&gt;
 SA: woconnor&lt;br /&gt;
&lt;br /&gt;
=2007=&lt;br /&gt;
&lt;br /&gt;
===Winter===&lt;br /&gt;
 PR: dtbartle&lt;br /&gt;
 VP: dbelange &lt;br /&gt;
 TR: cmcaulay&lt;br /&gt;
 SE: dtenty&lt;br /&gt;
 SA: hkarau&lt;br /&gt;
 Webmaster: jnopporn&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
 PR: gdcosta&lt;br /&gt;
 VP: kmlarose&lt;br /&gt;
 TR: kspaans&lt;br /&gt;
 SE: elouie&lt;br /&gt;
 SA: mspang&lt;br /&gt;
 Librarian: daltenty&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Fall ===&lt;br /&gt;
 PR: hkarau&lt;br /&gt;
 VP: amccausl&lt;br /&gt;
 TR: dchlobow &lt;br /&gt;
 SE: sgcummin&lt;br /&gt;
 SA: &lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
=2008=&lt;br /&gt;
===Winter ===&lt;br /&gt;
 PR: sgcummin&lt;br /&gt;
 VP: m3lawren&lt;br /&gt;
 TR: mtarkows&lt;br /&gt;
 SE: ebering&lt;br /&gt;
 SA: jmsaunde&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Summer ===&lt;br /&gt;
 PR: b4taylor&lt;br /&gt;
 VP: qxi&lt;br /&gt;
 TR: m3lawren&lt;br /&gt;
 SE:&lt;br /&gt;
 SA:&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Fall ===&lt;br /&gt;
 PR: Matthew Lawrence (m3lawren)&lt;br /&gt;
 VP: Edgar Bering (ebering)&lt;br /&gt;
 TR: Michael Gregson (mgregson)&lt;br /&gt;
 SE: James Simpson (j2simpso) resigned for medical reasons, replaced by Dominik &#039;Domo&#039; Chłobowski&lt;br /&gt;
 SA: Kyle Spaans (kspaans)&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
=2009=&lt;br /&gt;
===Winter===&lt;br /&gt;
 PR: Michael Gregson (mgregson)&lt;br /&gt;
 VP: Edgar Bering (ebering)&lt;br /&gt;
 TR: Brennan Taylor (b4taylor)&lt;br /&gt;
 SE: James Simpson (j2simpso)  resigned for business reasons, replaced by Rebecca Putinski (rjputins) &lt;br /&gt;
 SA: Jacob Parker (j3parker) &lt;br /&gt;
 OF: XinChi Yang / Sapphyre Gervais (x23yang / sagervai) (both)&lt;br /&gt;
&lt;br /&gt;
===Spring ===&lt;br /&gt;
 PR: Michael Spang (mspang)&lt;br /&gt;
 VP: Jacob Parker (j3parker)&lt;br /&gt;
 TR: Sapphyre Gervais (sagervai)&lt;br /&gt;
 SE: Matthew McPherrin (mimcpher)&lt;br /&gt;
 SA: Anthony Brennan (a2brenna)&lt;br /&gt;
 OF:&lt;br /&gt;
&lt;br /&gt;
===Fall===&lt;br /&gt;
 PR: Jacob Parker (j3parker)&lt;br /&gt;
 VP: Edgar Bering (ebering)&lt;br /&gt;
 TR: Michael Spang (mspang)&lt;br /&gt;
 SE: Brennan Taylor (b4taylor)&lt;br /&gt;
 SA: Michael Ellis (m2ellis)&lt;br /&gt;
 OF: Rebecca Putinski (rputinski)&lt;br /&gt;
&lt;br /&gt;
=2010=&lt;br /&gt;
===Winter===&lt;br /&gt;
 PR: Kyle Spaans (kspaans)&lt;br /&gt;
 VP: Edgar Bering (ebering)&lt;br /&gt;
 TR: Sapphyre Gervais (sagervai)&lt;br /&gt;
 SE: Ajnu Jacob (ajacob)&lt;br /&gt;
 SA: Matthew Thiffault (mthiffau)&lt;br /&gt;
 OF: Jacob Parker (j3parker)&lt;br /&gt;
&lt;br /&gt;
 Keyed office staffers: j3camero,jdonland,m2ellis,mimcpher,nsasherr&lt;br /&gt;
&lt;br /&gt;
===Spring===&lt;br /&gt;
 PR: Jeff Cameron (j3camero)&lt;br /&gt;
 VP: Brennan Taylor (b4taylor)&lt;br /&gt;
 TR: Vardhan Mudunuru (vmudunur)&lt;br /&gt;
 SE: Matthew Lawrence (m3lawren)&lt;br /&gt;
 SA: Michael Ellis (m2ellis)&lt;br /&gt;
 OF: Edgar Bering (ebering)&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2700</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2700"/>
		<updated>2010-07-17T03:51:37Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on [[Machine_List#sodium-benzoate|sodium-benzoate]]. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 3.6 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 28 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 30 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://master.rsync.blastwave.org/blastwave/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 13 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 123 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 7.1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 50 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 17 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 8.7 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.heanet.ie/mirrors/damnsmalllinux.org/ || 18 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://ftp3.nrc.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 506 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 39 GiB || Submitted a request to be added to the mirror list long ago with no response.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 76 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 6.1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 48 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 45 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://debian-maintainers.org/unofficial/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 465 MiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile-master.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4.2 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 293 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/debian/ || 3.5 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || rsync://fedora-archives.ibiblio.org/fedora-enchilada/&amp;lt;br/&amp;gt;http://mirrors.fedoraproject.org/publiclist/ || 667 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Fedora-epel || rsync://fedora-archives.ibiblio.org/fedora-epel/&amp;lt;br/&amp;gt;http://mirrors.fedoraproject.org/publiclist/ || 32 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/&amp;lt;br/&amp;gt;http://mirrorlist.freebsd.org/ || 1.8 TiB || We are ftp2.ca.freebsd.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 606 MiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 165 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 95 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 22 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 85 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 140 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (releases) || rsync://ftp.heanet.ie/pub/linuxmint.com/&amp;lt;br/&amp;gt;http://www.linuxmint.com/mirrors.php || 35 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (packages) || rsync://packages.linuxmint.com/packages/&amp;lt;br/&amp;gt;http://www.linuxmint.com/mirrors.php || 5.0 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 6.2 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 99 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.he.net/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 212 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors || 129 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://stage.opensuse.org/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/all.html || 192 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || rsync://slackware.cs.utah.edu/slackware/&amp;lt;br/&amp;gt;http://slackware.com/getslack/ || 140 GiB || &#039;&#039;&#039;We have asked to get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 344 GiB || &#039;&#039;&#039;We used to be the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); when we get more bandwidth get us added back.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports || rsync://ports.ubuntu.com/ubuntu-ports/ || 445 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports-releases || rsync://cdimage.ubuntu.com/cdimage/ubuntu-ports/releases/ || 40 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://rsync.releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 40 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.releases.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5.6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 18 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Proposed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva&lt;br /&gt;
* OpenBSD (inc. OpenSSH)&lt;br /&gt;
* NetBSD&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
* OpenSSL&lt;br /&gt;
* RubyForge&lt;br /&gt;
* SourceForge&lt;br /&gt;
* MacPorts&lt;br /&gt;
* PLT Scheme (they don&#039;t ask for mirrors, but they currently offer download from half a dozen or so sites)&lt;br /&gt;
* VLC&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of three scripts. The latter two are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. [[#merlin|merlin]] is used to call one of these scripts. Most of the scripts and such used to maintain the mirror are available in the public [http://git.csclub.uwaterloo.ca/?p=public/mirror.git mirror.git] repository.&lt;br /&gt;
&lt;br /&gt;
=== ftpsync ===&lt;br /&gt;
&lt;br /&gt;
[http://ftp-master.debian.org/ftpsync.tar.gz ftpsync] is the official Debian mirror synchronization tool, and is used to rsync the Debian repository. It&#039;s located in ~mirror/debian. Its invocation takes a few steps (this is more or less how [[#merlin|merlin]] invokes it:&lt;br /&gt;
&lt;br /&gt;
 export BASEDIR=/home/mirror/debian&lt;br /&gt;
 cd $BASEDIR&lt;br /&gt;
 ./bin/ftpsync sync:stage1&lt;br /&gt;
 ./bin/ftpsync sync:stage2&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. Its usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. Its usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== merlin ===&lt;br /&gt;
&lt;br /&gt;
The synchronization process is run by a Python script called &amp;quot;merlin&amp;quot;, written by a2brenna, stored in ~mirror/merlin. The repository list, sync time, etc. is maintained in merlin.py.&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use [[Apache]] as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          64&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         4096&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
==== Index ====&lt;br /&gt;
&lt;br /&gt;
An index of the archives we mirror is available at http://mirror.csclub.uwaterloo.ca/.&lt;br /&gt;
As of Winter 2010, it is now generated by a Python script in &amp;lt;tt&amp;gt;~mirror/mirror-index&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;~mirror/mirror-index/make-index.py&amp;lt;/tt&amp;gt; is scheduled in &amp;lt;tt&amp;gt;mirror&amp;lt;/tt&amp;gt;&#039;s crontab to be&lt;br /&gt;
run at 5:40 AM on the 14th and 28th of each month. The script can be run manually when needed&lt;br /&gt;
(for example, when an archive is removed) as follows:&lt;br /&gt;
&lt;br /&gt;
 sudo -u mirror /home/mirror/mirror-index/make-index.py&lt;br /&gt;
&lt;br /&gt;
This causes an instance of &amp;lt;tt&amp;gt;du&amp;lt;/tt&amp;gt; to be run which computes the size of each directory. This&lt;br /&gt;
list is then sorted alphabetically by directory name and returned to the Python script.&lt;br /&gt;
If any errors occur during this process, the script conservatively chooses to exit rather&lt;br /&gt;
than risk generating an index file that is incorrect.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;make-index.py&amp;lt;/tt&amp;gt; is configured by means of a [http://www.yaml.org/ YAML] file,&lt;br /&gt;
&amp;lt;tt&amp;gt;config.yaml&amp;lt;/tt&amp;gt;, in the same directory. Its format is as follows:&lt;br /&gt;
&lt;br /&gt;
 docroot: /mirror/root&lt;br /&gt;
 duflags: --human-readable --max-depth=1&lt;br /&gt;
 output: /mirror/root/index.html&lt;br /&gt;
 &lt;br /&gt;
 directories:&lt;br /&gt;
   apache:&lt;br /&gt;
     site: apache.org&lt;br /&gt;
     url: &amp;lt;nowiki&amp;gt;http://www.apache.org/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
   archlinux:&lt;br /&gt;
     site: archlinux.org&lt;br /&gt;
     url: &amp;lt;nowiki&amp;gt;http://www.archlinux.org/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 # (...)&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;docroot&amp;lt;/tt&amp;gt; is the directory which is to be scanned; this will probably&lt;br /&gt;
always be the mirror root from which Apache serves. &amp;lt;tt&amp;gt;duflags&amp;lt;/tt&amp;gt; specifies&lt;br /&gt;
the flags to be passed to &amp;lt;tt&amp;gt;du&amp;lt;/tt&amp;gt;. This is here so that it&#039;s easy to find&lt;br /&gt;
and alter. For instance, we could change &amp;lt;tt&amp;gt;--human-readable&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;--si&amp;lt;/tt&amp;gt;&lt;br /&gt;
if we ever decided that, like hard disk manufacturers, we want sizes to appear larger&lt;br /&gt;
than they are. &amp;lt;tt&amp;gt;output&amp;lt;/tt&amp;gt; defines the file to which the generated index will be&lt;br /&gt;
written.&lt;br /&gt;
&lt;br /&gt;
Finally, &amp;lt;tt&amp;gt;directories&amp;lt;/tt&amp;gt; specifies the list of directories to be listed.&lt;br /&gt;
No directories not listed here will be shown. If you add a new archive and it doesn&#039;t&lt;br /&gt;
appear, that&#039;s why. The format is fairly straightforward: simply name the directory&lt;br /&gt;
and provide a site (the display name in the &amp;quot;Project Site&amp;quot; column) and URL.&lt;br /&gt;
&lt;br /&gt;
One caveat here is that YAML does not allow tabs for whitespace. Indent with&lt;br /&gt;
two spaces to remain consistent with the existing file format, please. Also note&lt;br /&gt;
that the directory name is case-sensitive, as is always the case on Unix.&lt;br /&gt;
&lt;br /&gt;
Finally, the HTML index file is generated from &amp;lt;tt&amp;gt;index.mako&amp;lt;/tt&amp;gt;, a&lt;br /&gt;
[http://www.makotemplates.org/ Mako] template (which is mostly HTML anyhow).&lt;br /&gt;
If you really can&#039;t figure out how it works, look up the Mako documentation.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;br /&gt;
&lt;br /&gt;
[[Category:Services]]&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2699</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2699"/>
		<updated>2010-07-16T17:08:51Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on [[Machine_List#sodium-benzoate|sodium-benzoate]]. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 3.6 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 28 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 30 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://master.rsync.blastwave.org/blastwave/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 13 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 123 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 7.1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 50 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 17 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 8.7 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.heanet.ie/mirrors/damnsmalllinux.org/ || 18 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://ftp3.nrc.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 506 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 39 GiB || Submitted a request to be added to the mirror list long ago with no response.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 76 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 6.1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 48 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 45 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://debian-maintainers.org/unofficial/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 465 MiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile-master.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4.2 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 293 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/debian/ || 3.5 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || rsync://fedora-archives.ibiblio.org/fedora-enchilada/&amp;lt;br/&amp;gt;http://mirrors.fedoraproject.org/publiclist/ || 667 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Fedora-epel || rsync://fedora-archives.ibiblio.org/fedora-epel/&amp;lt;br/&amp;gt;http://mirrors.fedoraproject.org/publiclist/ || 32 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/&amp;lt;br/&amp;gt;http://mirrorlist.freebsd.org/ || 1.2 TiB || We are ftp2.ca.freebsd.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 606 MiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 165 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 95 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 22 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 85 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 140 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (releases) || rsync://ftp.heanet.ie/pub/linuxmint.com/&amp;lt;br/&amp;gt;http://www.linuxmint.com/mirrors.php || 35 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (packages) || rsync://packages.linuxmint.com/packages/&amp;lt;br/&amp;gt;http://www.linuxmint.com/mirrors.php || 5.0 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 6.2 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 99 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.he.net/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 212 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors || 129 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://stage.opensuse.org/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/all.html || 192 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || rsync://slackware.cs.utah.edu/slackware/&amp;lt;br/&amp;gt;http://slackware.com/getslack/ || 140 GiB || &#039;&#039;&#039;We have asked to get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 344 GiB || &#039;&#039;&#039;We used to be the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); when we get more bandwidth get us added back.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports || rsync://ports.ubuntu.com/ubuntu-ports/ || 445 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports-releases || rsync://cdimage.ubuntu.com/cdimage/ubuntu-ports/releases/ || 40 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://rsync.releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 40 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.releases.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5.6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 18 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Proposed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva&lt;br /&gt;
* OpenBSD (inc. OpenSSH)&lt;br /&gt;
* NetBSD&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
* OpenSSL&lt;br /&gt;
* RubyForge&lt;br /&gt;
* SourceForge&lt;br /&gt;
* MacPorts&lt;br /&gt;
* PLT Scheme (they don&#039;t ask for mirrors, but they currently offer download from half a dozen or so sites)&lt;br /&gt;
* VLC&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of three scripts. The latter two are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. [[#merlin|merlin]] is used to call one of these scripts. Most of the scripts and such used to maintain the mirror are available in the public [http://git.csclub.uwaterloo.ca/?p=public/mirror.git mirror.git] repository.&lt;br /&gt;
&lt;br /&gt;
=== ftpsync ===&lt;br /&gt;
&lt;br /&gt;
[http://ftp-master.debian.org/ftpsync.tar.gz ftpsync] is the official Debian mirror synchronization tool, and is used to rsync the Debian repository. It&#039;s located in ~mirror/debian. Its invocation takes a few steps (this is more or less how [[#merlin|merlin]] invokes it:&lt;br /&gt;
&lt;br /&gt;
 export BASEDIR=/home/mirror/debian&lt;br /&gt;
 cd $BASEDIR&lt;br /&gt;
 ./bin/ftpsync sync:stage1&lt;br /&gt;
 ./bin/ftpsync sync:stage2&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. Its usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. Its usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== merlin ===&lt;br /&gt;
&lt;br /&gt;
The synchronization process is run by a Python script called &amp;quot;merlin&amp;quot;, written by a2brenna, stored in ~mirror/merlin. The repository list, sync time, etc. is maintained in merlin.py.&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use [[Apache]] as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          64&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         4096&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
==== Index ====&lt;br /&gt;
&lt;br /&gt;
An index of the archives we mirror is available at http://mirror.csclub.uwaterloo.ca/.&lt;br /&gt;
As of Winter 2010, it is now generated by a Python script in &amp;lt;tt&amp;gt;~mirror/mirror-index&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;~mirror/mirror-index/make-index.py&amp;lt;/tt&amp;gt; is scheduled in &amp;lt;tt&amp;gt;mirror&amp;lt;/tt&amp;gt;&#039;s crontab to be&lt;br /&gt;
run at 5:40 AM on the 14th and 28th of each month. The script can be run manually when needed&lt;br /&gt;
(for example, when an archive is removed) as follows:&lt;br /&gt;
&lt;br /&gt;
 sudo -u mirror /home/mirror/mirror-index/make-index.py&lt;br /&gt;
&lt;br /&gt;
This causes an instance of &amp;lt;tt&amp;gt;du&amp;lt;/tt&amp;gt; to be run which computes the size of each directory. This&lt;br /&gt;
list is then sorted alphabetically by directory name and returned to the Python script.&lt;br /&gt;
If any errors occur during this process, the script conservatively chooses to exit rather&lt;br /&gt;
than risk generating an index file that is incorrect.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;make-index.py&amp;lt;/tt&amp;gt; is configured by means of a [http://www.yaml.org/ YAML] file,&lt;br /&gt;
&amp;lt;tt&amp;gt;config.yaml&amp;lt;/tt&amp;gt;, in the same directory. Its format is as follows:&lt;br /&gt;
&lt;br /&gt;
 docroot: /mirror/root&lt;br /&gt;
 duflags: --human-readable --max-depth=1&lt;br /&gt;
 output: /mirror/root/index.html&lt;br /&gt;
 &lt;br /&gt;
 directories:&lt;br /&gt;
   apache:&lt;br /&gt;
     site: apache.org&lt;br /&gt;
     url: &amp;lt;nowiki&amp;gt;http://www.apache.org/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
   archlinux:&lt;br /&gt;
     site: archlinux.org&lt;br /&gt;
     url: &amp;lt;nowiki&amp;gt;http://www.archlinux.org/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 # (...)&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;docroot&amp;lt;/tt&amp;gt; is the directory which is to be scanned; this will probably&lt;br /&gt;
always be the mirror root from which Apache serves. &amp;lt;tt&amp;gt;duflags&amp;lt;/tt&amp;gt; specifies&lt;br /&gt;
the flags to be passed to &amp;lt;tt&amp;gt;du&amp;lt;/tt&amp;gt;. This is here so that it&#039;s easy to find&lt;br /&gt;
and alter. For instance, we could change &amp;lt;tt&amp;gt;--human-readable&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;--si&amp;lt;/tt&amp;gt;&lt;br /&gt;
if we ever decided that, like hard disk manufacturers, we want sizes to appear larger&lt;br /&gt;
than they are. &amp;lt;tt&amp;gt;output&amp;lt;/tt&amp;gt; defines the file to which the generated index will be&lt;br /&gt;
written.&lt;br /&gt;
&lt;br /&gt;
Finally, &amp;lt;tt&amp;gt;directories&amp;lt;/tt&amp;gt; specifies the list of directories to be listed.&lt;br /&gt;
No directories not listed here will be shown. If you add a new archive and it doesn&#039;t&lt;br /&gt;
appear, that&#039;s why. The format is fairly straightforward: simply name the directory&lt;br /&gt;
and provide a site (the display name in the &amp;quot;Project Site&amp;quot; column) and URL.&lt;br /&gt;
&lt;br /&gt;
One caveat here is that YAML does not allow tabs for whitespace. Indent with&lt;br /&gt;
two spaces to remain consistent with the existing file format, please. Also note&lt;br /&gt;
that the directory name is case-sensitive, as is always the case on Unix.&lt;br /&gt;
&lt;br /&gt;
Finally, the HTML index file is generated from &amp;lt;tt&amp;gt;index.mako&amp;lt;/tt&amp;gt;, a&lt;br /&gt;
[http://www.makotemplates.org/ Mako] template (which is mostly HTML anyhow).&lt;br /&gt;
If you really can&#039;t figure out how it works, look up the Mako documentation.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;br /&gt;
&lt;br /&gt;
[[Category:Services]]&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2697</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2697"/>
		<updated>2010-07-11T16:05:47Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on [[Machine_List#sodium-benzoate|sodium-benzoate]]. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 3.6 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 28 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 30 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://master.rsync.blastwave.org/blastwave/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 13 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 123 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 7.1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 50 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 17 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 8.7 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.heanet.ie/mirrors/damnsmalllinux.org/ || 18 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://ftp3.nrc.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 506 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 39 GiB || Submitted a request to be added to the mirror list long ago with no response.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 76 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 6.1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 48 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 45 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://debian-maintainers.org/unofficial/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 465 MiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile-master.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4.2 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 293 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/debian/ || 3.5 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || rsync://fedora-archives.ibiblio.org/fedora-enchilada/&amp;lt;br/&amp;gt;http://mirrors.fedoraproject.org/publiclist/ || 667 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Fedora-epel || rsync://fedora-archives.ibiblio.org/fedora-epel/&amp;lt;br/&amp;gt;http://mirrors.fedoraproject.org/publiclist/ || 32 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;s&amp;gt;FreeBSD&amp;lt;/s&amp;gt; || rsync://ftp1.ca.freebsd.org/&amp;lt;br/&amp;gt;http://mirrorlist.freebsd.org/ || 1.2 TiB || Removed to free up space. &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 606 MiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 165 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 95 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 22 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 85 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 140 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (releases) || rsync://ftp.heanet.ie/pub/linuxmint.com/&amp;lt;br/&amp;gt;http://www.linuxmint.com/mirrors.php || 35 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (packages) || rsync://packages.linuxmint.com/packages/&amp;lt;br/&amp;gt;http://www.linuxmint.com/mirrors.php || 5.0 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 6.2 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 99 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.he.net/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 212 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors || 129 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://stage.opensuse.org/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/all.html || 192 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || rsync://slackware.cs.utah.edu/slackware/&amp;lt;br/&amp;gt;http://slackware.com/getslack/ || 140 GiB || &#039;&#039;&#039;We have asked to get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 344 GiB || &#039;&#039;&#039;We used to be the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); when we get more bandwidth get us added back.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports || rsync://ports.ubuntu.com/ubuntu-ports/ || 445 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports-releases || rsync://cdimage.ubuntu.com/cdimage/ubuntu-ports/releases/ || 40 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://rsync.releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 40 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.releases.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5.6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 18 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Proposed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva&lt;br /&gt;
* OpenBSD (inc. OpenSSH)&lt;br /&gt;
* NetBSD&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
* OpenSSL&lt;br /&gt;
* RubyForge&lt;br /&gt;
* SourceForge&lt;br /&gt;
* MacPorts&lt;br /&gt;
* PLT Scheme (they don&#039;t ask for mirrors, but they currently offer download from half a dozen or so sites)&lt;br /&gt;
* VLC&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of three scripts. The latter two are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. [[#merlin|merlin]] is used to call one of these scripts. Most of the scripts and such used to maintain the mirror are available in the public [http://git.csclub.uwaterloo.ca/?p=public/mirror.git mirror.git] repository.&lt;br /&gt;
&lt;br /&gt;
=== ftpsync ===&lt;br /&gt;
&lt;br /&gt;
[http://ftp-master.debian.org/ftpsync.tar.gz ftpsync] is the official Debian mirror synchronization tool, and is used to rsync the Debian repository. It&#039;s located in ~mirror/debian. Its invocation takes a few steps (this is more or less how [[#merlin|merlin]] invokes it:&lt;br /&gt;
&lt;br /&gt;
 export BASEDIR=/home/mirror/debian&lt;br /&gt;
 cd $BASEDIR&lt;br /&gt;
 ./bin/ftpsync sync:stage1&lt;br /&gt;
 ./bin/ftpsync sync:stage2&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. Its usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. Its usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== merlin ===&lt;br /&gt;
&lt;br /&gt;
The synchronization process is run by a Python script called &amp;quot;merlin&amp;quot;, written by a2brenna, stored in ~mirror/merlin. The repository list, sync time, etc. is maintained in merlin.py.&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use [[Apache]] as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          64&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         4096&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
==== Index ====&lt;br /&gt;
&lt;br /&gt;
An index of the archives we mirror is available at http://mirror.csclub.uwaterloo.ca/.&lt;br /&gt;
As of Winter 2010, it is now generated by a Python script in &amp;lt;tt&amp;gt;~mirror/mirror-index&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;~mirror/mirror-index/make-index.py&amp;lt;/tt&amp;gt; is scheduled in &amp;lt;tt&amp;gt;mirror&amp;lt;/tt&amp;gt;&#039;s crontab to be&lt;br /&gt;
run at 5:40 AM on the 14th and 28th of each month. The script can be run manually when needed&lt;br /&gt;
(for example, when an archive is removed) as follows:&lt;br /&gt;
&lt;br /&gt;
 sudo -u mirror /home/mirror/mirror-index/make-index.py&lt;br /&gt;
&lt;br /&gt;
This causes an instance of &amp;lt;tt&amp;gt;du&amp;lt;/tt&amp;gt; to be run which computes the size of each directory. This&lt;br /&gt;
list is then sorted alphabetically by directory name and returned to the Python script.&lt;br /&gt;
If any errors occur during this process, the script conservatively chooses to exit rather&lt;br /&gt;
than risk generating an index file that is incorrect.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;make-index.py&amp;lt;/tt&amp;gt; is configured by means of a [http://www.yaml.org/ YAML] file,&lt;br /&gt;
&amp;lt;tt&amp;gt;config.yaml&amp;lt;/tt&amp;gt;, in the same directory. Its format is as follows:&lt;br /&gt;
&lt;br /&gt;
 docroot: /mirror/root&lt;br /&gt;
 duflags: --human-readable --max-depth=1&lt;br /&gt;
 output: /mirror/root/index.html&lt;br /&gt;
 &lt;br /&gt;
 directories:&lt;br /&gt;
   apache:&lt;br /&gt;
     site: apache.org&lt;br /&gt;
     url: &amp;lt;nowiki&amp;gt;http://www.apache.org/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
   archlinux:&lt;br /&gt;
     site: archlinux.org&lt;br /&gt;
     url: &amp;lt;nowiki&amp;gt;http://www.archlinux.org/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 # (...)&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;docroot&amp;lt;/tt&amp;gt; is the directory which is to be scanned; this will probably&lt;br /&gt;
always be the mirror root from which Apache serves. &amp;lt;tt&amp;gt;duflags&amp;lt;/tt&amp;gt; specifies&lt;br /&gt;
the flags to be passed to &amp;lt;tt&amp;gt;du&amp;lt;/tt&amp;gt;. This is here so that it&#039;s easy to find&lt;br /&gt;
and alter. For instance, we could change &amp;lt;tt&amp;gt;--human-readable&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;--si&amp;lt;/tt&amp;gt;&lt;br /&gt;
if we ever decided that, like hard disk manufacturers, we want sizes to appear larger&lt;br /&gt;
than they are. &amp;lt;tt&amp;gt;output&amp;lt;/tt&amp;gt; defines the file to which the generated index will be&lt;br /&gt;
written.&lt;br /&gt;
&lt;br /&gt;
Finally, &amp;lt;tt&amp;gt;directories&amp;lt;/tt&amp;gt; specifies the list of directories to be listed.&lt;br /&gt;
No directories not listed here will be shown. If you add a new archive and it doesn&#039;t&lt;br /&gt;
appear, that&#039;s why. The format is fairly straightforward: simply name the directory&lt;br /&gt;
and provide a site (the display name in the &amp;quot;Project Site&amp;quot; column) and URL.&lt;br /&gt;
&lt;br /&gt;
One caveat here is that YAML does not allow tabs for whitespace. Indent with&lt;br /&gt;
two spaces to remain consistent with the existing file format, please. Also note&lt;br /&gt;
that the directory name is case-sensitive, as is always the case on Unix.&lt;br /&gt;
&lt;br /&gt;
Finally, the HTML index file is generated from &amp;lt;tt&amp;gt;index.mako&amp;lt;/tt&amp;gt;, a&lt;br /&gt;
[http://www.makotemplates.org/ Mako] template (which is mostly HTML anyhow).&lt;br /&gt;
If you really can&#039;t figure out how it works, look up the Mako documentation.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;br /&gt;
&lt;br /&gt;
[[Category:Services]]&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2696</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2696"/>
		<updated>2010-07-11T15:43:44Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on [[Machine_List#sodium-benzoate|sodium-benzoate]]. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 3.6 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 28 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 30 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://master.rsync.blastwave.org/blastwave/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 13 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 123 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 7.1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 50 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 17 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 8.7 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.heanet.ie/mirrors/damnsmalllinux.org/ || 18 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://ftp3.nrc.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 506 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 39 GiB || Submitted a request to be added to the mirror list long ago with no response.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 76 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 6.1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 48 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 45 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://debian-maintainers.org/unofficial/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 465 MiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile-master.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4.2 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 293 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/debian/ || 3.5 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || rsync://fedora-archives.ibiblio.org/fedora-enchilada/&amp;lt;br/&amp;gt;http://mirrors.fedoraproject.org/publiclist/ || 910 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;s&amp;gt;FreeBSD&amp;lt;/s&amp;gt; || rsync://ftp1.ca.freebsd.org/&amp;lt;br/&amp;gt;http://mirrorlist.freebsd.org/ || 1.2 TiB || Removed to free up space. &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 606 MiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 165 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 95 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 22 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 85 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 140 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (releases) || rsync://ftp.heanet.ie/pub/linuxmint.com/&amp;lt;br/&amp;gt;http://www.linuxmint.com/mirrors.php || 35 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (packages) || rsync://packages.linuxmint.com/packages/&amp;lt;br/&amp;gt;http://www.linuxmint.com/mirrors.php || 5.0 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 6.2 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 99 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.he.net/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 212 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors || 129 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://stage.opensuse.org/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/all.html || 192 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || rsync://slackware.cs.utah.edu/slackware/&amp;lt;br/&amp;gt;http://slackware.com/getslack/ || 140 GiB || &#039;&#039;&#039;We have asked to get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 344 GiB || &#039;&#039;&#039;We used to be the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); when we get more bandwidth get us added back.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports || rsync://ports.ubuntu.com/ubuntu-ports/ || 445 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports-releases || rsync://cdimage.ubuntu.com/cdimage/ubuntu-ports/releases/ || 40 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://rsync.releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 40 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.releases.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5.6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 18 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Proposed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva&lt;br /&gt;
* OpenBSD (inc. OpenSSH)&lt;br /&gt;
* NetBSD&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
* OpenSSL&lt;br /&gt;
* RubyForge&lt;br /&gt;
* SourceForge&lt;br /&gt;
* MacPorts&lt;br /&gt;
* PLT Scheme (they don&#039;t ask for mirrors, but they currently offer download from half a dozen or so sites)&lt;br /&gt;
* VLC&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of three scripts. The latter two are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. [[#merlin|merlin]] is used to call one of these scripts. Most of the scripts and such used to maintain the mirror are available in the public [http://git.csclub.uwaterloo.ca/?p=public/mirror.git mirror.git] repository.&lt;br /&gt;
&lt;br /&gt;
=== ftpsync ===&lt;br /&gt;
&lt;br /&gt;
[http://ftp-master.debian.org/ftpsync.tar.gz ftpsync] is the official Debian mirror synchronization tool, and is used to rsync the Debian repository. It&#039;s located in ~mirror/debian. Its invocation takes a few steps (this is more or less how [[#merlin|merlin]] invokes it:&lt;br /&gt;
&lt;br /&gt;
 export BASEDIR=/home/mirror/debian&lt;br /&gt;
 cd $BASEDIR&lt;br /&gt;
 ./bin/ftpsync sync:stage1&lt;br /&gt;
 ./bin/ftpsync sync:stage2&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. Its usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. Its usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== merlin ===&lt;br /&gt;
&lt;br /&gt;
The synchronization process is run by a Python script called &amp;quot;merlin&amp;quot;, written by a2brenna, stored in ~mirror/merlin. The repository list, sync time, etc. is maintained in merlin.py.&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use [[Apache]] as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          64&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         4096&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
==== Index ====&lt;br /&gt;
&lt;br /&gt;
An index of the archives we mirror is available at http://mirror.csclub.uwaterloo.ca/.&lt;br /&gt;
As of Winter 2010, it is now generated by a Python script in &amp;lt;tt&amp;gt;~mirror/mirror-index&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;~mirror/mirror-index/make-index.py&amp;lt;/tt&amp;gt; is scheduled in &amp;lt;tt&amp;gt;mirror&amp;lt;/tt&amp;gt;&#039;s crontab to be&lt;br /&gt;
run at 5:40 AM on the 14th and 28th of each month. The script can be run manually when needed&lt;br /&gt;
(for example, when an archive is removed) as follows:&lt;br /&gt;
&lt;br /&gt;
 sudo -u mirror /home/mirror/mirror-index/make-index.py&lt;br /&gt;
&lt;br /&gt;
This causes an instance of &amp;lt;tt&amp;gt;du&amp;lt;/tt&amp;gt; to be run which computes the size of each directory. This&lt;br /&gt;
list is then sorted alphabetically by directory name and returned to the Python script.&lt;br /&gt;
If any errors occur during this process, the script conservatively chooses to exit rather&lt;br /&gt;
than risk generating an index file that is incorrect.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;make-index.py&amp;lt;/tt&amp;gt; is configured by means of a [http://www.yaml.org/ YAML] file,&lt;br /&gt;
&amp;lt;tt&amp;gt;config.yaml&amp;lt;/tt&amp;gt;, in the same directory. Its format is as follows:&lt;br /&gt;
&lt;br /&gt;
 docroot: /mirror/root&lt;br /&gt;
 duflags: --human-readable --max-depth=1&lt;br /&gt;
 output: /mirror/root/index.html&lt;br /&gt;
 &lt;br /&gt;
 directories:&lt;br /&gt;
   apache:&lt;br /&gt;
     site: apache.org&lt;br /&gt;
     url: &amp;lt;nowiki&amp;gt;http://www.apache.org/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
   archlinux:&lt;br /&gt;
     site: archlinux.org&lt;br /&gt;
     url: &amp;lt;nowiki&amp;gt;http://www.archlinux.org/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 # (...)&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;docroot&amp;lt;/tt&amp;gt; is the directory which is to be scanned; this will probably&lt;br /&gt;
always be the mirror root from which Apache serves. &amp;lt;tt&amp;gt;duflags&amp;lt;/tt&amp;gt; specifies&lt;br /&gt;
the flags to be passed to &amp;lt;tt&amp;gt;du&amp;lt;/tt&amp;gt;. This is here so that it&#039;s easy to find&lt;br /&gt;
and alter. For instance, we could change &amp;lt;tt&amp;gt;--human-readable&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;--si&amp;lt;/tt&amp;gt;&lt;br /&gt;
if we ever decided that, like hard disk manufacturers, we want sizes to appear larger&lt;br /&gt;
than they are. &amp;lt;tt&amp;gt;output&amp;lt;/tt&amp;gt; defines the file to which the generated index will be&lt;br /&gt;
written.&lt;br /&gt;
&lt;br /&gt;
Finally, &amp;lt;tt&amp;gt;directories&amp;lt;/tt&amp;gt; specifies the list of directories to be listed.&lt;br /&gt;
No directories not listed here will be shown. If you add a new archive and it doesn&#039;t&lt;br /&gt;
appear, that&#039;s why. The format is fairly straightforward: simply name the directory&lt;br /&gt;
and provide a site (the display name in the &amp;quot;Project Site&amp;quot; column) and URL.&lt;br /&gt;
&lt;br /&gt;
One caveat here is that YAML does not allow tabs for whitespace. Indent with&lt;br /&gt;
two spaces to remain consistent with the existing file format, please. Also note&lt;br /&gt;
that the directory name is case-sensitive, as is always the case on Unix.&lt;br /&gt;
&lt;br /&gt;
Finally, the HTML index file is generated from &amp;lt;tt&amp;gt;index.mako&amp;lt;/tt&amp;gt;, a&lt;br /&gt;
[http://www.makotemplates.org/ Mako] template (which is mostly HTML anyhow).&lt;br /&gt;
If you really can&#039;t figure out how it works, look up the Mako documentation.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;br /&gt;
&lt;br /&gt;
[[Category:Services]]&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2695</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2695"/>
		<updated>2010-07-11T15:43:32Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on [[Machine_List#sodium-benzoate|sodium-benzoate]]. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 3.6 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 28 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 30 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://master.rsync.blastwave.org/blastwave/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 13 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 123 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 7.1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 50 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 17 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 8.7 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.heanet.ie/mirrors/damnsmalllinux.org/ || 18 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://ftp3.nrc.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 506 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 39 GiB || Submitted a request to be added to the mirror list long ago with no response.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 76 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 6.1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 48 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 45 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://debian-maintainers.org/unofficial/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 465 MiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile-master.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4.2 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 293 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/debian/ || 3.5 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || rsync://fedora-archives.ibiblio.org/fedora-enchilada/&amp;lt;br/&amp;gt;http://mirrors.fedoraproject.org/publiclist/ || 910 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;s&amp;gt;FreeBSD&amp;lt;/s&amp;gt; || rsync://ftp1.ca.freebsd.org/&amp;lt;br/&amp;gt;http://mirrorlist.freebsd.org/ || 1.2 TiB || Removed to free up space. &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 606 MiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 165 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 95 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 22 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 85 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 140 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (releases) || rsync://ftp.heanet.ie/pub/linuxmint.com/&amp;lt;br/&amp;gt;http://www.linuxmint.com/mirrors.php || 35 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (packages) || rsync://packages.linuxmint.com/packages/&amp;lt;br/&amp;gt;http://www.linuxmint.com/mirrors.php || 5.0 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 6.2 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 99 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.he.net/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 212 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors || 129 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://stage.opensuse.org/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/all.html || 192 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || rsync://slackware.cs.utah.edu/slackware/&amp;lt;br/&amp;gt;http://slackware.com/getslack/ || 140 GiB || &#039;&#039;&#039;We have asked to get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 344 GiB || &#039;&#039;&#039;We used to be the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); when we get more bandwidth get us added back.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports || rsync://ports.ubuntu.com/ubuntu-ports/ || 445 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports-releases || rsync://cdimage.ubuntu.com/cdimage/ubuntu-ports/releases/ || 40 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://rsync.releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 40 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.releases.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5.6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 18 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Proposed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Fedora&lt;br /&gt;
* Mandriva&lt;br /&gt;
* OpenBSD (inc. OpenSSH)&lt;br /&gt;
* NetBSD&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
* OpenSSL&lt;br /&gt;
* RubyForge&lt;br /&gt;
* SourceForge&lt;br /&gt;
* MacPorts&lt;br /&gt;
* PLT Scheme (they don&#039;t ask for mirrors, but they currently offer download from half a dozen or so sites)&lt;br /&gt;
* VLC&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of three scripts. The latter two are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. [[#merlin|merlin]] is used to call one of these scripts. Most of the scripts and such used to maintain the mirror are available in the public [http://git.csclub.uwaterloo.ca/?p=public/mirror.git mirror.git] repository.&lt;br /&gt;
&lt;br /&gt;
=== ftpsync ===&lt;br /&gt;
&lt;br /&gt;
[http://ftp-master.debian.org/ftpsync.tar.gz ftpsync] is the official Debian mirror synchronization tool, and is used to rsync the Debian repository. It&#039;s located in ~mirror/debian. Its invocation takes a few steps (this is more or less how [[#merlin|merlin]] invokes it:&lt;br /&gt;
&lt;br /&gt;
 export BASEDIR=/home/mirror/debian&lt;br /&gt;
 cd $BASEDIR&lt;br /&gt;
 ./bin/ftpsync sync:stage1&lt;br /&gt;
 ./bin/ftpsync sync:stage2&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. Its usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. Its usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== merlin ===&lt;br /&gt;
&lt;br /&gt;
The synchronization process is run by a Python script called &amp;quot;merlin&amp;quot;, written by a2brenna, stored in ~mirror/merlin. The repository list, sync time, etc. is maintained in merlin.py.&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use [[Apache]] as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          64&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         4096&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
==== Index ====&lt;br /&gt;
&lt;br /&gt;
An index of the archives we mirror is available at http://mirror.csclub.uwaterloo.ca/.&lt;br /&gt;
As of Winter 2010, it is now generated by a Python script in &amp;lt;tt&amp;gt;~mirror/mirror-index&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;~mirror/mirror-index/make-index.py&amp;lt;/tt&amp;gt; is scheduled in &amp;lt;tt&amp;gt;mirror&amp;lt;/tt&amp;gt;&#039;s crontab to be&lt;br /&gt;
run at 5:40 AM on the 14th and 28th of each month. The script can be run manually when needed&lt;br /&gt;
(for example, when an archive is removed) as follows:&lt;br /&gt;
&lt;br /&gt;
 sudo -u mirror /home/mirror/mirror-index/make-index.py&lt;br /&gt;
&lt;br /&gt;
This causes an instance of &amp;lt;tt&amp;gt;du&amp;lt;/tt&amp;gt; to be run which computes the size of each directory. This&lt;br /&gt;
list is then sorted alphabetically by directory name and returned to the Python script.&lt;br /&gt;
If any errors occur during this process, the script conservatively chooses to exit rather&lt;br /&gt;
than risk generating an index file that is incorrect.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;make-index.py&amp;lt;/tt&amp;gt; is configured by means of a [http://www.yaml.org/ YAML] file,&lt;br /&gt;
&amp;lt;tt&amp;gt;config.yaml&amp;lt;/tt&amp;gt;, in the same directory. Its format is as follows:&lt;br /&gt;
&lt;br /&gt;
 docroot: /mirror/root&lt;br /&gt;
 duflags: --human-readable --max-depth=1&lt;br /&gt;
 output: /mirror/root/index.html&lt;br /&gt;
 &lt;br /&gt;
 directories:&lt;br /&gt;
   apache:&lt;br /&gt;
     site: apache.org&lt;br /&gt;
     url: &amp;lt;nowiki&amp;gt;http://www.apache.org/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
   archlinux:&lt;br /&gt;
     site: archlinux.org&lt;br /&gt;
     url: &amp;lt;nowiki&amp;gt;http://www.archlinux.org/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 # (...)&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;docroot&amp;lt;/tt&amp;gt; is the directory which is to be scanned; this will probably&lt;br /&gt;
always be the mirror root from which Apache serves. &amp;lt;tt&amp;gt;duflags&amp;lt;/tt&amp;gt; specifies&lt;br /&gt;
the flags to be passed to &amp;lt;tt&amp;gt;du&amp;lt;/tt&amp;gt;. This is here so that it&#039;s easy to find&lt;br /&gt;
and alter. For instance, we could change &amp;lt;tt&amp;gt;--human-readable&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;--si&amp;lt;/tt&amp;gt;&lt;br /&gt;
if we ever decided that, like hard disk manufacturers, we want sizes to appear larger&lt;br /&gt;
than they are. &amp;lt;tt&amp;gt;output&amp;lt;/tt&amp;gt; defines the file to which the generated index will be&lt;br /&gt;
written.&lt;br /&gt;
&lt;br /&gt;
Finally, &amp;lt;tt&amp;gt;directories&amp;lt;/tt&amp;gt; specifies the list of directories to be listed.&lt;br /&gt;
No directories not listed here will be shown. If you add a new archive and it doesn&#039;t&lt;br /&gt;
appear, that&#039;s why. The format is fairly straightforward: simply name the directory&lt;br /&gt;
and provide a site (the display name in the &amp;quot;Project Site&amp;quot; column) and URL.&lt;br /&gt;
&lt;br /&gt;
One caveat here is that YAML does not allow tabs for whitespace. Indent with&lt;br /&gt;
two spaces to remain consistent with the existing file format, please. Also note&lt;br /&gt;
that the directory name is case-sensitive, as is always the case on Unix.&lt;br /&gt;
&lt;br /&gt;
Finally, the HTML index file is generated from &amp;lt;tt&amp;gt;index.mako&amp;lt;/tt&amp;gt;, a&lt;br /&gt;
[http://www.makotemplates.org/ Mako] template (which is mostly HTML anyhow).&lt;br /&gt;
If you really can&#039;t figure out how it works, look up the Mako documentation.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;br /&gt;
&lt;br /&gt;
[[Category:Services]]&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2303</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2303"/>
		<updated>2009-11-27T20:37:13Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on [[Machine_List#sodium-benzoate|sodium-benzoate]]. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.4 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 23 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 75 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 11 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 131 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6.8 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 41 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 11 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 446 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 30 GiB || Submitted a request to be added to the mirror list long ago with no response.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 70 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5.3 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 36 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 970 MiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 3.3 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 226 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3.7 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || http://mirrors.fedoraproject.org/publiclist&amp;lt;br/&amp;gt;https://admin.fedoraproject.org/mirrormanager/site/647&amp;lt;br/&amp;gt;rsync://ftp.muug.mb.ca/pub/fedora/linux/core/ || 548 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 673 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 581 MiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 159 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 86 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 69 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 130 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (releases) || rsync://ftp.heanet.ie/pub/linuxmint.com/&amp;lt;br/&amp;gt;http://www.linuxmint.com/mirrors.php || 23 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (packages) || rsync://packages.linuxmint.com/packages/&amp;lt;br/&amp;gt;http://www.linuxmint.com/mirrors.php || 4.1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 6.0 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 105 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 148 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 15 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 102 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://stage.opensuse.org/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/all.html || 161 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 139 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 286 GiB || &#039;&#039;&#039;We used to be the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); when we get more bandwidth get us added back.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports || rsync://ports.ubuntu.com/ubuntu-ports/ || 394 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports-releases || rsync://cdimage.ubuntu.com/cdimage/ubuntu-ports/releases/ || 36 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 39 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5.3 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 18 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| wine-budgetdedicated || http://wine.budgetdedicated.com/apt/ || 151 MiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Proposed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (209 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2174</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2174"/>
		<updated>2009-08-22T09:04:14Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list long ago with no response.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || http://mirrors.fedoraproject.org/publiclist&amp;lt;br/&amp;gt;https://admin.fedoraproject.org/mirrormanager/site/647&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-enchilada/&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-epel/ || 721 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 722 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 146 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 81 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 19 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 83 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 121 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (releases) || rsync://ftp.heanet.ie/pub/linuxmint.com/&amp;lt;br/&amp;gt;http://www.linuxmint.com/mirrors.php || 21 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (packages) || rsync://packages.linuxmint.com/packages/&amp;lt;br/&amp;gt;http://www.linuxmint.com/mirrors.php || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 6 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 127 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 144 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 15 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 112 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://stage.opensuse.org/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/all.html || 160 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 118 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 253 GiB || &#039;&#039;&#039;We used to be the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); when we get more bandwidth get us added back.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports || rsync://ports.ubuntu.com/ubuntu-ports/ || 345 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports-releases || rsync://cdimage.ubuntu.com/cdimage/ubuntu-ports/releases/ || 24 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 38 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 18 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2173</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2173"/>
		<updated>2009-08-22T09:03:55Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list long ago with no response.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || http://mirrors.fedoraproject.org/publiclist&amp;lt;br/&amp;gt;https://admin.fedoraproject.org/mirrormanager/site/647&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-enchilada/&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-epel/ || 721 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 722 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 146 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 81 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 19 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 83 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 121 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (releases) || rsync://ftp.heanet.ie/pub/linuxmint.com/&amp;lt;br/&amp;gt;http://www.linuxmint.com/mirrors.php || 21 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (packages) || rsync://packages.linuxmint.com/packages/&amp;lt;br/&amp;gt;http://www.linuxmint.com/mirrors.php || 4 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 6 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 127 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 144 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 15 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 112 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://stage.opensuse.org/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/all.html || 160 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 118 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 253 GiB || &#039;&#039;&#039;We used to be the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); when we get more bandwidth get us added back.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports || rsync://ports.ubuntu.com/ubuntu-ports/ || 345 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports-releases || rsync://cdimage.ubuntu.com/cdimage/ubuntu-ports/releases/ || 24 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 38 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 18 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2171</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2171"/>
		<updated>2009-08-20T09:16:24Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list long ago with no response.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || http://mirrors.fedoraproject.org/publiclist&amp;lt;br/&amp;gt;https://admin.fedoraproject.org/mirrormanager/site/647&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-enchilada/&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-epel/ || 721 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 722 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 146 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 81 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 19 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 83 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 121 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (releases) || rsync://ftp.heanet.ie/pub/linuxmint.com/ || 21 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (packages) || rsync://packages.linuxmint.com/packages/ || 4 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 6 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 127 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 144 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 15 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 112 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://stage.opensuse.org/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/all.html || 160 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 118 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 253 GiB || &#039;&#039;&#039;We used to be the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); when we get more bandwidth get us added back.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports || rsync://ports.ubuntu.com/ubuntu-ports/ || 345 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports-releases || rsync://cdimage.ubuntu.com/cdimage/ubuntu-ports/releases/ || 24 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 38 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 18 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2170</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2170"/>
		<updated>2009-08-20T08:49:51Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list long ago with no response.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || http://mirrors.fedoraproject.org/publiclist&amp;lt;br/&amp;gt;https://admin.fedoraproject.org/mirrormanager/site/647&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-enchilada/&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-epel/ || 721 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 722 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 146 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 81 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 19 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 83 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 121 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (releases) || rsync://ftp.heanet.ie/pub/linuxmint.com/ || 21 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (packages) || rsync://packages.linuxmint.com/packages/ || 4 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 6 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 127 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 144 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 15 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 112 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/all.html || 160 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 118 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 253 GiB || &#039;&#039;&#039;We used to be the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); when we get more bandwidth get us added back.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports || rsync://ports.ubuntu.com/ubuntu-ports/ || 345 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports-releases || rsync://cdimage.ubuntu.com/cdimage/ubuntu-ports/releases/ || 24 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 38 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 18 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2169</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2169"/>
		<updated>2009-08-19T06:52:54Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list long ago with no response.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || http://mirrors.fedoraproject.org/publiclist&amp;lt;br/&amp;gt;https://admin.fedoraproject.org/mirrormanager/site/647&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-enchilada/&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-epel/ || 721 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 722 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 146 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 81 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 19 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 83 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 121 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (releases) || rsync://ftp.heanet.ie/pub/linuxmint.com/ || 21 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (packages) || rsync://packages.linuxmint.com/packages/ || 4 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 6 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 127 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 144 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 15 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 112 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/all.html || 160 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 118 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 253 GiB || &#039;&#039;&#039;We used to be the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); when we get more bandwidth get us added back.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports || rsync://ports.ubuntu.com/ubuntu-ports/ || 345 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports-releases || rsync://cdimage.ubuntu.com/cdimage/ubuntu-ports/releases/ || 24 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 38 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 18 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2168</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2168"/>
		<updated>2009-08-19T06:36:43Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list long ago with no response.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || http://mirrors.fedoraproject.org/publiclist&amp;lt;br/&amp;gt;https://admin.fedoraproject.org/mirrormanager/site/647&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-enchilada/&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-epel/ || 721 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 722 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 146 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 81 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 19 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 83 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 121 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (releases) || rsync://ftp.heanet.ie/pub/linuxmint.com/ || 21 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (packages) || rsync://packages.linuxmint.com/packages/ || 4 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 6 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 127 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 144 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 15 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 112 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/all.html || 160 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 118 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 253 GiB || &#039;&#039;&#039;We used to be the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); when we get more bandwidth get us added back.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports || rsync://ports.ubuntu.com/ubuntu-ports/ || 345 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports-releases || rsync://cdimage.ubuntu.com/cdimage/ubuntu-ports/releases/ || 24 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 38 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 18 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2167</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2167"/>
		<updated>2009-08-19T06:36:30Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list long ago with no response.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || http://mirrors.fedoraproject.org/publiclist&amp;lt;br/&amp;gt;https://admin.fedoraproject.org/mirrormanager/site/647&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-enchilada/&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-epel/ || 721 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 722 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 146 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 81 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 19 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 83 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 121 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (releases) || rsync://ftp.heanet.ie/pub/linuxmint.com/ || 21 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (packages) || rsync://packages.linuxmint.com/packages/ || 4 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 6 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 127 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 144 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 15 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 112 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/11.1.html || 160 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 118 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 253 GiB || &#039;&#039;&#039;We used to be the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); when we get more bandwidth get us added back.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports || rsync://ports.ubuntu.com/ubuntu-ports/ || 345 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports-releases || rsync://cdimage.ubuntu.com/cdimage/ubuntu-ports/releases/ || 24 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 38 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 18 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2166</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2166"/>
		<updated>2009-08-19T06:29:03Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list long ago with no response.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || http://mirrors.fedoraproject.org/publiclist&amp;lt;br/&amp;gt;https://admin.fedoraproject.org/mirrormanager/site/647&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-enchilada/&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-epel/ || 721 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 722 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 146 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 81 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 19 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 83 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 121 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (releases) || rsync://ftp.heanet.ie/pub/linuxmint.com/ || 21 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (packages) || rsync://packages.linuxmint.com/packages/ || 4 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 6 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 127 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 144 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 15 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 112 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/11.1.html || 160 GiB || &#039;&#039;&#039;We are no longer on the download list - find out why.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 118 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 253 GiB || &#039;&#039;&#039;We used to be the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); when we get more bandwidth get us added back.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports || rsync://ports.ubuntu.com/ubuntu-ports/ || 345 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports-releases || rsync://cdimage.ubuntu.com/cdimage/ubuntu-ports/releases/ || 24 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 38 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 18 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2165</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2165"/>
		<updated>2009-08-19T06:18:18Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list long ago with no response.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || http://mirrors.fedoraproject.org/publiclist&amp;lt;br/&amp;gt;https://admin.fedoraproject.org/mirrormanager/site/647&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-enchilada/&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-epel/ || 721 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 722 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 146 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 81 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 19 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 83 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 121 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (releases) || rsync://ftp.heanet.ie/pub/linuxmint.com/ || 21 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (packages) || rsync://packages.linuxmint.com/packages/ || 4 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 6 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 127 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 144 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 15 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 112 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/11.1.html || 160 GiB || &#039;&#039;&#039;We are no longer on the download list - find out why.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 118 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 253 GiB || &#039;&#039;&#039;We used to be the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); when we get more bandwidth get us added back.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports || rsync://ports.ubuntu.com/ubuntu-ports/ || 345 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports-releases || rsync://cdimage.ubuntu.com/cdimage/ubuntu-ports/releases/ || 24 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 38 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 18 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2164</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2164"/>
		<updated>2009-08-19T06:15:02Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list long ago with no response.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || http://mirrors.fedoraproject.org/publiclist&amp;lt;br/&amp;gt;https://admin.fedoraproject.org/mirrormanager/site/647&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-enchilada/&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-epel/ || 721 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 722 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 146 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 81 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 19 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 83 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 121 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (releases) || rsync://ftp.heanet.ie/pub/linuxmint.com/ || 21 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint (packages) || rsync://packages.linuxmint.com/packages/ || ?? GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 6 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 127 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 144 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 15 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 112 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/11.1.html || 160 GiB || &#039;&#039;&#039;We are no longer on the download list - find out why.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 118 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 253 GiB || &#039;&#039;&#039;We used to be the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); when we get more bandwidth get us added back.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports || rsync://ports.ubuntu.com/ubuntu-ports/ || 345 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports-releases || rsync://cdimage.ubuntu.com/cdimage/ubuntu-ports/releases/ || 24 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 38 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 18 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2163</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2163"/>
		<updated>2009-08-19T06:07:54Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list long ago with no response.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || http://mirrors.fedoraproject.org/publiclist&amp;lt;br/&amp;gt;https://admin.fedoraproject.org/mirrormanager/site/647&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-enchilada/&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-epel/ || 721 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 722 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 146 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 81 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 19 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 83 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 121 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint || rsync://ftp.heanet.ie/pub/linuxmint.com/ || 21 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 6 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 127 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 144 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 15 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 112 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/11.1.html || 160 GiB || &#039;&#039;&#039;We are no longer on the download list - find out why.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 118 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 253 GiB || &#039;&#039;&#039;We used to be the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); when we get more bandwidth get us added back.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports || rsync://ports.ubuntu.com/ubuntu-ports/ || 345 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports-releases || rsync://cdimage.ubuntu.com/cdimage/ubuntu-ports/releases/ || 24 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 38 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 18 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2162</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2162"/>
		<updated>2009-08-19T06:04:16Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;Sent a request to be added.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || http://mirrors.fedoraproject.org/publiclist&amp;lt;br/&amp;gt;https://admin.fedoraproject.org/mirrormanager/site/647&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-enchilada/&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-epel/ || 721 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 722 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 146 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 81 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 19 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 83 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 121 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint || rsync://ftp.heanet.ie/pub/linuxmint.com/ || 21 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 6 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 127 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 144 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 15 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 112 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/11.1.html || 160 GiB || &#039;&#039;&#039;We are no longer on the download list - find out why.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 118 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 253 GiB || &#039;&#039;&#039;We used to be the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); when we get more bandwidth get us added back.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports || rsync://ports.ubuntu.com/ubuntu-ports/ || 345 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports-releases || rsync://cdimage.ubuntu.com/cdimage/ubuntu-ports/releases/ || 24 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 38 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 18 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2161</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2161"/>
		<updated>2009-08-18T09:27:21Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || http://mirrors.fedoraproject.org/publiclist&amp;lt;br/&amp;gt;https://admin.fedoraproject.org/mirrormanager/site/647&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-enchilada/&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-epel/ || 721 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 722 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 146 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 81 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 19 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 83 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 121 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint || rsync://ftp.heanet.ie/pub/linuxmint.com/ || 21 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 6 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 127 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 144 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 15 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 112 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/11.1.html || 160 GiB || &#039;&#039;&#039;We are no longer on the download list - find out why.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 118 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 253 GiB || &#039;&#039;&#039;We used to be the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); when we get more bandwidth get us added back.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports || rsync://ports.ubuntu.com/ubuntu-ports/ || 345 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports-releases || rsync://cdimage.ubuntu.com/cdimage/ubuntu-ports/releases/ || 24 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 38 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 18 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2160</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2160"/>
		<updated>2009-08-18T09:24:43Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || http://mirrors.fedoraproject.org/publiclist&amp;lt;br/&amp;gt;https://admin.fedoraproject.org/mirrormanager&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-enchilada/&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-epel/ || 721 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 722 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 146 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 81 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 19 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 83 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 121 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint || rsync://ftp.heanet.ie/pub/linuxmint.com/ || 21 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 6 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 127 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 144 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 15 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 112 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/11.1.html || 160 GiB || &#039;&#039;&#039;We are no longer on the download list - find out why.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 118 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 253 GiB || &#039;&#039;&#039;We used to be the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); when we get more bandwidth get us added back.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports || rsync://ports.ubuntu.com/ubuntu-ports/ || 345 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports-releases || rsync://cdimage.ubuntu.com/cdimage/ubuntu-ports/releases/ || 24 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 38 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 18 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2159</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2159"/>
		<updated>2009-08-18T09:12:32Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || http://mirrors.fedoraproject.org/publiclist&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-enchilada/&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-epel/ || 721 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 722 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 146 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 81 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 19 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 83 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 121 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint || rsync://ftp.heanet.ie/pub/linuxmint.com/ || 21 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 6 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 127 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 144 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 15 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 112 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/11.1.html || 160 GiB || &#039;&#039;&#039;We are no longer on the download list - find out why.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 118 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 253 GiB || &#039;&#039;&#039;We used to be the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); when we get more bandwidth get us added back.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports || rsync://ports.ubuntu.com/ubuntu-ports/ || 345 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports-releases || rsync://cdimage.ubuntu.com/cdimage/ubuntu-ports/releases/ || 24 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 38 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 18 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2158</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2158"/>
		<updated>2009-08-18T09:10:14Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || http://mirrors.fedoraproject.org/publiclist&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-enchilada/&amp;lt;br/&amp;gt;rsync://archive.linux.duke.edu/fedora-epel/ || 721 GiB || &#039;&#039;&#039;Sent a request to be listed.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 722 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 146 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 81 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 19 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 83 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 121 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint || rsync://ftp.heanet.ie/pub/linuxmint.com/ || 21 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 6 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 127 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 144 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 15 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 112 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/11.1.html || 160 GiB || &#039;&#039;&#039;We are no longer on the download list - find out why.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 118 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 253 GiB || &#039;&#039;&#039;We used to be the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); when we get more bandwidth get us added back.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports || rsync://ports.ubuntu.com/ubuntu-ports/ || 345 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports-releases || rsync://cdimage.ubuntu.com/cdimage/ubuntu-ports/releases/ || 24 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 38 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 18 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2157</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2157"/>
		<updated>2009-08-18T08:25:54Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || rsync://archive.linux.duke.edu/fedora-enchilada/ || 721 GiB || &#039;&#039;&#039;Sent a request to be listed.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 722 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 146 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 81 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 19 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 83 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 121 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint || rsync://ftp.heanet.ie/pub/linuxmint.com/ || 21 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 6 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 127 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 144 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 15 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 112 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/11.1.html || 160 GiB || &#039;&#039;&#039;We are no longer on the download list - find out why.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 118 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 253 GiB || &#039;&#039;&#039;We used to be the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); when we get more bandwidth get us added back.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports || rsync://ports.ubuntu.com/ubuntu-ports/ || 345 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports-releases || rsync://cdimage.ubuntu.com/cdimage/ubuntu-ports/releases/ || 24 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 38 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 18 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2156</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2156"/>
		<updated>2009-08-13T12:18:52Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || rsync://archive.linux.duke.edu/fedora-enchilada/ || 721 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 722 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 146 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 81 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 19 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 83 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 121 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint || rsync://ftp.heanet.ie/pub/linuxmint.com/ || 21 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 6 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 127 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 144 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 15 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 112 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/11.1.html || 160 GiB || &#039;&#039;&#039;We are no longer on the download list - find out why.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 118 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 253 GiB || &#039;&#039;&#039;We used to be the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); when we get more bandwidth get us added back.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports || rsync://ports.ubuntu.com/ubuntu-ports/ || 345 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports-releases || rsync://cdimage.ubuntu.com/cdimage/ubuntu-ports/releases/ || 24 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 38 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 18 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2155</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2155"/>
		<updated>2009-08-13T11:42:22Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.4 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || rsync://archive.linux.duke.edu/fedora-enchilada/ || 721 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 722 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 146 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 81 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 19 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 83 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 121 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint || rsync://ftp.heanet.ie/pub/linuxmint.com/ || 21 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 6 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 127 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 144 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 15 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 112 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/11.1.html || 160 GiB || &#039;&#039;&#039;We are no longer on the download list - find out why.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 118 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 253 GiB || &#039;&#039;&#039;We used to be the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); when we get more bandwidth get us added back.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports || rsync://ports.ubuntu.com/ubuntu-ports/ || 345 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports-releases || rsync://cdimage.ubuntu.com/cdimage/ubuntu-ports/releases/ || 24 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 38 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 18 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2154</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2154"/>
		<updated>2009-08-13T09:22:14Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || rsync://archive.linux.duke.edu/fedora-enchilada/ || 721 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 722 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 146 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 81 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 19 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 83 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 121 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint || rsync://ftp.heanet.ie/pub/linuxmint.com/ || 21 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 6 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 127 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 144 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 15 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 112 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/11.1.html || 160 GiB || &#039;&#039;&#039;We are no longer on the download list - find out why.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 118 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 253 GiB || &#039;&#039;&#039;We used to be the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); when we get more bandwidth get us added back.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports || rsync://ports.ubuntu.com/ubuntu-ports/ || 345 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports-releases || rsync://cdimage.ubuntu.com/cdimage/ubuntu-ports/releases/ || ? GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 38 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 18 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2153</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2153"/>
		<updated>2009-08-13T09:09:46Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || rsync://archive.linux.duke.edu/fedora-enchilada/ || 721 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 722 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 146 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 81 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 19 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 83 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 121 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint || rsync://ftp.heanet.ie/pub/linuxmint.com/ || 21 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 6 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 127 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 144 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 15 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 112 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/11.1.html || 160 GiB || &#039;&#039;&#039;We are no longer on the download list - find out why.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 118 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 253 GiB || &#039;&#039;&#039;We used to be the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); when we get more bandwidth get us added back.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-ports || rsync://ports.ubuntu.com/ubuntu-ports/ || 345 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 38 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 18 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2152</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2152"/>
		<updated>2009-08-13T09:02:02Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || rsync://archive.linux.duke.edu/fedora-enchilada/ || 721 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 722 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 146 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 81 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 19 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 83 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 121 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint || rsync://ftp.heanet.ie/pub/linuxmint.com/ || 21 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 6 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 127 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 144 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 15 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 112 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/11.1.html || 160 GiB || &#039;&#039;&#039;We are no longer on the download list - find out why.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 118 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 253 GiB || &#039;&#039;&#039;We used to be the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); when we get more bandwidth get us added back.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 37 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 20 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2151</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2151"/>
		<updated>2009-08-13T09:01:48Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || rsync://archive.linux.duke.edu/fedora-enchilada/ || 721 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 722 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 146 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 81 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 19 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 83 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 121 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint || rsync://ftp.heanet.ie/pub/linuxmint.com/ || 21 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 6 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 127 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 144 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 15 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 112 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/11.1.html || 160 GiB || &#039;&#039;&#039;We are no longer on the download list - find out why.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 118 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 253 GiB || We used to be the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); when we get more bandwidth get us added back.&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 37 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 20 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2150</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2150"/>
		<updated>2009-08-13T09:00:47Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || rsync://archive.linux.duke.edu/fedora-enchilada/ || 721 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 722 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 146 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 81 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 19 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 83 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 121 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint || rsync://ftp.heanet.ie/pub/linuxmint.com/ || 21 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 6 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 127 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 144 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 15 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 112 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/11.1.html || 160 GiB || &#039;&#039;&#039;We are no longer on the download list - find out why.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 118 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 253 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com)&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 37 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 20 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2149</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2149"/>
		<updated>2009-08-13T08:51:53Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || rsync://archive.linux.duke.edu/fedora-enchilada/ || 721 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 722 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 146 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 81 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 19 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 83 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 121 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint || rsync://ftp.heanet.ie/pub/linuxmint.com/ || 21 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 6 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 127 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 144 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 15 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 112 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/11.1.html || 160 GiB || &#039;&#039;&#039;We are no longer on the download list - find out why.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 118 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 261 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com)&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 37 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 20 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2148</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2148"/>
		<updated>2009-08-13T08:25:08Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca. We also have a [http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 bandwidth graph] you can look at.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || rsync://archive.linux.duke.edu/fedora-enchilada/ || 721 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 718 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 92 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 65 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 14 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Gobuntu-releases || rsync://cdimage.ubuntu.com/cdimage/gobuntu/releases/ || 7 GiB || Canonical does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 65 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 82 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint || rsync://ftp.heanet.ie/pub/linuxmint.com/ || 21 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 5 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 95 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 76 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 8 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 136 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/11.1.html || 230 GiB || &#039;&#039;&#039;We are no longer on the download list - find out why.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 27 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 261 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com)&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 37 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 20 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2147</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2147"/>
		<updated>2009-08-13T08:24:39Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Monitoring */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || rsync://archive.linux.duke.edu/fedora-enchilada/ || 721 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 718 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 92 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 65 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 14 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Gobuntu-releases || rsync://cdimage.ubuntu.com/cdimage/gobuntu/releases/ || 7 GiB || Canonical does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 65 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 82 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint || rsync://ftp.heanet.ie/pub/linuxmint.com/ || 21 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 5 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 95 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 76 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 8 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 136 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/11.1.html || 230 GiB || &#039;&#039;&#039;We are no longer on the download list - find out why.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 27 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 261 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com)&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 37 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 20 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
&lt;br /&gt;
== Monitoring ==&lt;br /&gt;
[http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440 Bandwidth graph]&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2146</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2146"/>
		<updated>2009-08-13T08:24:14Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || rsync://archive.linux.duke.edu/fedora-enchilada/ || 721 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 718 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 92 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 65 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 14 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Gobuntu-releases || rsync://cdimage.ubuntu.com/cdimage/gobuntu/releases/ || 7 GiB || Canonical does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 65 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 82 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint || rsync://ftp.heanet.ie/pub/linuxmint.com/ || 21 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 5 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 95 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 76 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 8 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 136 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/11.1.html || 230 GiB || &#039;&#039;&#039;We are no longer on the download list - find out why.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 27 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 261 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com)&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 37 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 20 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
&lt;br /&gt;
== Monitoring ==&lt;br /&gt;
[http://cacti.csclub.uwaterloo.ca/graph_image.php?action=view&amp;amp;local_graph_id=1560&amp;amp;rra_id=1&amp;amp;graph_height=120&amp;amp;graph_width=440]&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2145</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2145"/>
		<updated>2009-08-13T08:17:00Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Propsed Archives to Mirror */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || rsync://archive.linux.duke.edu/fedora-enchilada/ || 721 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 718 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 92 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 65 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 14 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Gobuntu-releases || rsync://cdimage.ubuntu.com/cdimage/gobuntu/releases/ || 7 GiB || Canonical does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 65 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 82 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint || rsync://ftp.heanet.ie/pub/linuxmint.com/ || 21 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 5 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 95 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 76 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 8 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 136 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/11.1.html || 230 GiB || &#039;&#039;&#039;We are no longer on the download list - find out why.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 27 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 261 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com)&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 37 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 20 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2144</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2144"/>
		<updated>2009-08-13T08:16:47Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Propsed Archives to Mirror */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || rsync://archive.linux.duke.edu/fedora-enchilada/ || 721 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 718 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 92 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 65 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 14 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Gobuntu-releases || rsync://cdimage.ubuntu.com/cdimage/gobuntu/releases/ || 7 GiB || Canonical does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 65 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 82 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint || rsync://ftp.heanet.ie/pub/linuxmint.com/ || 21 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 5 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 95 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 76 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 8 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 136 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/11.1.html || 230 GiB || &#039;&#039;&#039;We are no longer on the download list - find out why.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 27 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 261 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com)&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 37 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 20 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* openSUSE (306 GiB)&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
* PCLinuxOS&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2143</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2143"/>
		<updated>2009-08-13T08:15:11Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || rsync://archive.linux.duke.edu/fedora-enchilada/ || 721 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 718 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 92 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 65 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 14 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Gobuntu-releases || rsync://cdimage.ubuntu.com/cdimage/gobuntu/releases/ || 7 GiB || Canonical does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 65 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 82 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint || rsync://ftp.heanet.ie/pub/linuxmint.com/ || 21 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 5 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 95 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 76 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 8 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 136 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://mirrors.opensuse.org/list/11.1.html || 230 GiB || &#039;&#039;&#039;We are no longer on the download list - find out why.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 27 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 261 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com)&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 37 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 20 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* openSUSE (306 GiB)&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2142</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2142"/>
		<updated>2009-08-13T08:12:28Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 234 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || rsync://archive.linux.duke.edu/fedora-enchilada/ || 721 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 718 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 92 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 65 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 14 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Gobuntu-releases || rsync://cdimage.ubuntu.com/cdimage/gobuntu/releases/ || 7 GiB || Canonical does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 65 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 82 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint || rsync://ftp.heanet.ie/pub/linuxmint.com/ || 21 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 5 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 95 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 76 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 8 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 136 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://download.opensuse.org/distribution/11.0/iso/dvd/MD5SUMS?mirrorlist || 230 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 27 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 261 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com)&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 37 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 20 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* openSUSE (306 GiB)&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2141</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2141"/>
		<updated>2009-08-13T08:09:42Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 138 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || rsync://archive.linux.duke.edu/fedora-enchilada/ || 873 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 718 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 92 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 65 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 14 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Gobuntu-releases || rsync://cdimage.ubuntu.com/cdimage/gobuntu/releases/ || 7 GiB || Canonical does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 65 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 82 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Linux Mint || rsync://ftp.heanet.ie/pub/linuxmint.com/ || 21 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 5 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 95 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 76 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 8 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 136 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://download.opensuse.org/distribution/11.0/iso/dvd/MD5SUMS?mirrorlist || 230 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 27 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 261 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com)&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 37 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 20 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* openSUSE (306 GiB)&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2140</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2140"/>
		<updated>2009-08-13T08:03:31Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-ports || rsync://ftp.debian-ports.org/debian/ || 124G || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 29 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 138 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || rsync://archive.linux.duke.edu/fedora-enchilada/ || 873 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 718 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 92 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 65 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 14 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Gobuntu-releases || rsync://cdimage.ubuntu.com/cdimage/gobuntu/releases/ || 7 GiB || Canonical does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 65 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 82 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 5 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 95 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 76 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 8 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 136 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://download.opensuse.org/distribution/11.0/iso/dvd/MD5SUMS?mirrorlist || 230 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 27 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 261 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com)&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 37 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 20 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* openSUSE (306 GiB)&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2139</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2139"/>
		<updated>2009-08-13T08:00:30Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 410 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 46 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 138 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || rsync://archive.linux.duke.edu/fedora-enchilada/ || 873 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 718 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 92 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 65 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 14 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Gobuntu-releases || rsync://cdimage.ubuntu.com/cdimage/gobuntu/releases/ || 7 GiB || Canonical does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 65 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 82 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 5 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 95 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 76 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 8 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 136 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://download.opensuse.org/distribution/11.0/iso/dvd/MD5SUMS?mirrorlist || 230 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 27 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 261 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com)&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 37 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 20 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* openSUSE (306 GiB)&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2138</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2138"/>
		<updated>2009-08-13T07:57:38Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Propsed Archives to Mirror */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 316 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 46 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 138 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || rsync://archive.linux.duke.edu/fedora-enchilada/ || 873 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 718 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 92 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 65 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 14 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Gobuntu-releases || rsync://cdimage.ubuntu.com/cdimage/gobuntu/releases/ || 7 GiB || Canonical does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 65 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 82 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 5 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 95 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 76 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 8 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 136 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://download.opensuse.org/distribution/11.0/iso/dvd/MD5SUMS?mirrorlist || 230 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 27 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 261 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com)&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 37 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 20 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* openSUSE (306 GiB)&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2137</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2137"/>
		<updated>2009-08-13T07:56:51Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 316 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 28 GiB || Submitted a request to be added to the mirror list.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-cd || rsync://cdimage.debian.org/debian-cd/ || 68 GiB || Mirror only the first CD and DVD, and all small CD&#039;s (netinst, business-card, etc...).&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 46 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 138 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || rsync://archive.linux.duke.edu/fedora-enchilada/ || 873 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 718 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 92 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 65 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 14 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Gobuntu-releases || rsync://cdimage.ubuntu.com/cdimage/gobuntu/releases/ || 7 GiB || Canonical does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 65 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 82 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 5 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 95 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 76 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 8 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 136 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://download.opensuse.org/distribution/11.0/iso/dvd/MD5SUMS?mirrorlist || 230 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 27 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 261 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com)&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 37 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 20 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* openSUSE (306 GiB)&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* FreeBSD (500 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2136</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2136"/>
		<updated>2009-08-13T07:52:19Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 16 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 18 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039; Maybe contact the dude listed here: http://www.damnsmalllinux.org/donate.html.&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 316 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 36 GiB || Submitted a request to be added to the mirror list.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 2 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 46 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 138 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || rsync://archive.linux.duke.edu/fedora-enchilada/ || 873 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 718 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 92 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 65 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 14 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Gobuntu-releases || rsync://cdimage.ubuntu.com/cdimage/gobuntu/releases/ || 7 GiB || Canonical does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 65 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 82 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 5 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 95 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 76 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 8 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 136 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://download.opensuse.org/distribution/11.0/iso/dvd/MD5SUMS?mirrorlist || 230 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 27 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 261 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com)&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 37 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 20 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* openSUSE (306 GiB)&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* FreeBSD (500 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2135</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2135"/>
		<updated>2009-08-13T07:50:21Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 6 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 17 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 316 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 36 GiB || Submitted a request to be added to the mirror list.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 2 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 46 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 138 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || rsync://archive.linux.duke.edu/fedora-enchilada/ || 873 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 718 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 92 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 65 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 14 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Gobuntu-releases || rsync://cdimage.ubuntu.com/cdimage/gobuntu/releases/ || 7 GiB || Canonical does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 65 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 82 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 5 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 95 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 76 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 8 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 136 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://download.opensuse.org/distribution/11.0/iso/dvd/MD5SUMS?mirrorlist || 230 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 27 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 261 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com)&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 37 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 20 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* openSUSE (306 GiB)&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* FreeBSD (500 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
	<entry>
		<id>https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2134</id>
		<title>Mirror</title>
		<link rel="alternate" type="text/html" href="https://wiki.csclub.uwaterloo.ca/index.php?title=Mirror&amp;diff=2134"/>
		<updated>2009-08-13T07:50:03Z</updated>

		<summary type="html">&lt;p&gt;Dtbartle: /* Archives Mirrored */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We currently run a public mirror ([http://mirror.csclub.uwaterloo.ca/ mirror.csclub.uwaterloo.ca]) on sodium-benzoate. We are listed on the ResNet [http://noc.uwaterloo.ca/cn/Stats/resReport &amp;quot;don&#039;t count&amp;quot; list] so downloading from our mirror will not count against one&#039;s ResNet quota. Requests to mirror a particular distribution or archive should be made to syscom@csclub.uwaterloo.ca.&lt;br /&gt;
&lt;br /&gt;
== Archives Mirrored ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Size:&#039;&#039;&#039; 4.5 TiB&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;width: 12em&amp;quot;| Archive ||style=&amp;quot;width: 31em&amp;quot;| Upstream/Listing ||style=&amp;quot;width: 5em&amp;quot;| Size || Notes&lt;br /&gt;
|-&lt;br /&gt;
| Apache || rsync://rsync.us.apache.org/apache-dist/&amp;lt;br/&amp;gt;http://www.apache.org/mirrors/ || 20 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Arch Linux || rsync://mirror.rit.edu/archlinux&amp;lt;br/&amp;gt;http://www.archlinux.org/download/&amp;lt;br/&amp;gt;http://wiki.archlinux.org/index.php/Mirrors#Mirror_List || 41 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Blastwave || rsync://www.ibiblio.org/sun-packages/csw/&amp;lt;br/&amp;gt;http://www.blastwave.org/mirrors.php || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CentOS || rsync://us-msync.centos.org/CentOS/&amp;lt;br/&amp;gt;http://mirror-status.centos.org/ || 125 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CPAN || rsync://rsync.nic.funet.fi/CPAN/&amp;lt;br/&amp;gt;http://mirror.cpan.org/ || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| CRAN || rsync://cran.r-project.org/CRAN/ || 36 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| CTAN || rsync://carroll.aset.psu.edu/ctan/&amp;lt;br/&amp;gt;http://www.dante.de/cgi-bin/ctan/list.cgi&amp;lt;br/&amp;gt;http://www.dante.de/mirmon/ || 10 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Cygwin || rsync://cygwin.com/cygwin-ftp/&amp;lt;br/&amp;gt;http://www.cygwin.com/mirrors.html || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Damn Small Linux || rsync://ftp.belnet.be/packages/damnsmalllinux/ || 17 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian || rsync://gulus.usherbrooke.ca/debian/&amp;lt;br/&amp;gt;http://www.debian.org/mirror/list&amp;lt;br/&amp;gt;http://www.de.debian.org/dmc/today/ || 316 GiB || Requested to be added to the ftp.ca.debian.org rotation; will be added if the need arises..&lt;br /&gt;
|-&lt;br /&gt;
| Debian-backports || rsync://www.backports.org/backports.org/&amp;lt;br/&amp;gt;http://www.backports.org/debian/README.mirrors.html || 36 GiB || Submitted a request to be added to the mirror list.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-multimedia || rsync://www.debian-multimedia.org/debian/&amp;lt;br/&amp;gt;http://www.debian-multimedia.org/debian-m.php || 2 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-security || rsync://security.debian.org/debian-security/ || 46 GiB || Debian does not currently list debian-security mirrors, and encourages users to use security.debian.org exclusively.&lt;br /&gt;
|-&lt;br /&gt;
| Debian-unofficial || rsync://ftp.debian-unofficial.org/debian/&amp;lt;br/&amp;gt;http://www.debian-unofficial.org/mirrors.html || 1 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Debian-volatile || rsync://volatile.debian.org/debian-volatile/&amp;lt;br/&amp;gt;http://www.debian.org/volatile/volatile-mirrors || 4 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Eclipse || rsync://download.eclipse.org/eclipseMirror&amp;lt;br/&amp;gt;http://www.eclipse.org/downloads/download.php?file=/ || 138 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Emdebian || rsync://www.emdebian.org/emdebian/ || 3 GiB || Emdebian does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| Fedora || rsync://archive.linux.duke.edu/fedora-enchilada/ || 873 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| FreeBSD || rsync://ftp1.ca.freebsd.org/ || 718 GiB || &#039;&#039;&#039;We should get added as an official mirror.&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (portage) || rsync://rsync1.us.gentoo.org/gentoo-portage/ || 1 GiB || We are rsync4.ca.gentoo.org.&lt;br /&gt;
|-&lt;br /&gt;
| Gentoo (sources) || rsync://masterdistfiles.gentoo.org/gentoo/&amp;lt;br/&amp;gt;http://www.gentoo.org/main/en/mirrors.xml&amp;lt;br/&amp;gt;http://mirrorstats.gentoo.org/ || 92 GiB || See ~sysadmin/passwords/gentoo for rsync password.&lt;br /&gt;
|-&lt;br /&gt;
| GNOME || rsync://ftp.gnome.org/gnome/ || 65 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| GNU || rsync://ftp.ibiblio.org/pub/gnu/ftp/gnu/&amp;lt;br/&amp;gt;http://www.gnu.org/order/ftp.html || 14 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Gobuntu-releases || rsync://cdimage.ubuntu.com/cdimage/gobuntu/releases/ || 7 GiB || Canonical does not currently list mirrors.&lt;br /&gt;
|-&lt;br /&gt;
| KDE || rsync://master.kde.org/kdeftp/&amp;lt;br/&amp;gt;http://www.kde.org/mirrors/ || 65 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| kernel.org || rsync://kernel.org/pub/linux/&amp;lt;br/&amp;gt;rsync://kernel.org/pub/software/&amp;lt;br/&amp;gt;http://kernel.org/mirrors/countries/html/CA.html || 82 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| mozdev || rsync://rsync.mozdev.org/mozdev/&amp;lt;br/&amp;gt;http://mirrors.mozdev.org/index.html || 5 GiB || Currently in the North American rotation, but could request to be added to the global rotation.&lt;br /&gt;
|-&lt;br /&gt;
| mozilla.org || rsync://releases-rsync.mozilla.org/mozilla-releases/&amp;lt;br/&amp;gt;http://www.mozilla.org/mirrors.html || 95 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| MySQL || rsync://mysql.mirrors.pair.com/mysql/&amp;lt;br/&amp;gt;http://dev.mysql.com/downloads/mirrors.html || 76 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| non-GNU || rsync://dl.sv.gnu.org/releases/&amp;lt;br/&amp;gt;http://dl.sv.gnu.org/releases/00_MIRRORS.html&amp;lt;br/&amp;gt;http://download.savannah.gnu.org/mirmon/ || 8 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Openoffice (extended set) || rsync://rsync.services.openoffice.org/openoffice-extended/&amp;lt;br/&amp;gt;http://distribution.openoffice.org/mirrors/#mirrors&amp;lt;br/&amp;gt;http://www.ooodev.org/mirmon/ || 136 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| OpenSUSE (opensuse-full) || rsync://suse.mirrors.tds.net/opensuse-full/opensuse/&amp;lt;br/&amp;gt;http://download.opensuse.org/distribution/11.0/iso/dvd/MD5SUMS?mirrorlist || 230 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Slackware || - || 27 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu || rsync://archives.ubuntu.com/ubuntu/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+archivemirrors || 261 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com)&lt;br /&gt;
|-&lt;br /&gt;
| Ubuntu-releases || rsync://releases.ubuntu.com/releases/&amp;lt;br/&amp;gt;https://launchpad.net/ubuntu/+cdmirrors&amp;lt;br/&amp;gt;http://www.ubuntu.com/getubuntu/download&amp;lt;br/&amp;gt;http://www.kubuntu.org/download.php&amp;lt;br/&amp;gt;http://www.edubuntu.org/Download || 37 GiB || Are the official Canadian mirror (&#039;&#039;i.e.&#039;&#039;, ca.archive.ubuntu.com); ubuntu-releases includes Ubuntu, Kubuntu, and Edubuntu.&lt;br /&gt;
|-&lt;br /&gt;
| xorg.freedesktop.org || rsync://xorg.freedesktop.org/xorg-archive/&amp;lt;br/&amp;gt;http://www.x.org/wiki/Releases/Download || 5 GiB || -&lt;br /&gt;
|-&lt;br /&gt;
| Xubuntu-releases || rsync://cdimage.ubuntu.com/cdimage/xubuntu/releases/&amp;lt;br/&amp;gt;http://www.xubuntu.org/get || 20 GiB || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Propsed Archives to Mirror ==&lt;br /&gt;
&lt;br /&gt;
* openSUSE (306 GiB)&lt;br /&gt;
* Mandriva (774 GiB)&lt;br /&gt;
* OpenBSD (54 GiB)&lt;br /&gt;
* FreeBSD (500 GiB)&lt;br /&gt;
* NetBSD (340 GiB)&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The mirroring is done by one of two scripts. Both are based on [http://www.debian.org/mirror/anonftpsync anonftpsync]. Various cronjobs are scheduled to call one of these scripts.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-debian ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync debian-style repositories. It&#039;s usage is:&lt;br /&gt;
 csc-sync-debian local_dir rsync_host rsync_dir [trace_host [trace_dir]]&lt;br /&gt;
&lt;br /&gt;
If trace_host is specified, then $rsync_dir/project/trace/$trace_host is checked to see if it has changed. If it has, a normal debian-style (two-pass) rsync is done.&lt;br /&gt;
&lt;br /&gt;
=== csc-sync-standard ===&lt;br /&gt;
&lt;br /&gt;
This is used to sync a tree in a general way. Like anonftpsync, it supports locking and logging. It&#039;s usage is:&lt;br /&gt;
&lt;br /&gt;
 csc-sync-standard local_dir rsync_host rsync_dir&lt;br /&gt;
&lt;br /&gt;
=== Crontab ===&lt;br /&gt;
&lt;br /&gt;
All cronjobs are listed in mirror&#039;s crontab. If csc-sync-debian is used, the cronjob is typically run bi-hourly. When using csc-sync-standard, the frequency of the cronjob is typically 12 hours. The crontab currently looks like this:&lt;br /&gt;
&lt;br /&gt;
 # m  h     dom mon dow command&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # bi-hourly&lt;br /&gt;
 #&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian gulus.usherbrooke.ca debian ftp-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-multimedia www.debian-multimedia.org debian marillat.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-backports www.backports.org backports.org www.backports.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-volatile volatile.debian.org debian-volatile volatile-master.debian.net&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-security security.debian.org debian-security security-master.debian.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian debian-unofficial ftp.debian-unofficial.org debian ftp-master.debian-unofficial.org&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-debian ubuntu archive.ubuntu.com ubuntu drescher.canonical.com&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard ubuntu-releases releases.ubuntu.com releases&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard xubuntu-releases cdimage.ubuntu.com cdimage/xubuntu/releases/&lt;br /&gt;
   5  */2   *   *   *   ~/bin/csc-sync-standard kubuntu-kde4 cdimage.ubuntu.com cdimage/kubuntu-kde4/releases/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # daily&lt;br /&gt;
 #&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-debian emdebian www.emdebian.org emdebian&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta nexenta.org repository&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard nexenta-releases nexenta.org releases&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CPAN rsync.nic.funet.fi CPAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CRAN cran.r-project.org CRAN&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard CTAN carroll.aset.psu.edu ctan&lt;br /&gt;
   5  3,15  *  *   *   ~/bin/csc-sync-standard openoffice ftp.ussg.iu.edu openoffice&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard cygwin cygwin.com cygwin-ftp&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard gnu ftp.ibiblio.org pub/gnu/ftp/gnu/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard nongnu dl.sv.gnu.org releases&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/linux kernel.org all/linux/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard kernel.org/software kernel.org all/software/&lt;br /&gt;
   5  4,16  *  *   *   ~/bin/csc-sync-standard apache rsync.us.apache.org apache-dist&lt;br /&gt;
   5  4.16  *  *   *   ~/bin/csc-sync-standard eclipse download.eclipse.org eclipseMirror&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mysql mysql.he.net mysql&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard kde master.kde.org kdeftp&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard mozdev rsync.mozdev.org mozdev&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard blastwave www.ibiblio.org sun-packages/csw/&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard archlinux mirror.rit.edu archlinux&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-standard debian-ports ftp.debian-ports.org debian&lt;br /&gt;
   5  5,17  *  *   *   ~/bin/csc-sync-debian-cd&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard x.org xorg.freedesktop.org xorg-archive&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard gnome ftp.gnome.org gnome&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard centos us-msync.centos.org CentOS&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard opensuse suse.mirrors.tds.net opensuse-full/opensuse/&lt;br /&gt;
   5  6,18  *  *   *   ~/bin/csc-sync-standard damnsmalllinux ftp.belnet.be packages/damnsmalllinux/&lt;br /&gt;
 &lt;br /&gt;
 #&lt;br /&gt;
 # other&lt;br /&gt;
 #&lt;br /&gt;
   29 */4   *  *   *   RSYNC_USER=gentoo RSYNC_PASSWORD=******** ~/bin/csc-sync-standard gentoo-distfiles masterdistfiles.gentoo.org gentoo&lt;br /&gt;
   15,45 *  *  *   *   ~/bin/csc-sync-standard gentoo-portage rsync1.us.gentoo.org gentoo-portage&lt;br /&gt;
   5,35  *  *  *   *   ~/bin/csc-sync-standard mozilla.org releases-rsync.mozilla.org mozilla-releases&lt;br /&gt;
&lt;br /&gt;
=== HTTP ===&lt;br /&gt;
&lt;br /&gt;
We use Apache as our web server. Here&#039;s a snippet of the worker configuration:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mpm_worker_module&amp;gt;&lt;br /&gt;
     ServerLimit          32&lt;br /&gt;
     ThreadLimit          64&lt;br /&gt;
     StartServers          2&lt;br /&gt;
     MaxClients         2048&lt;br /&gt;
     MinSpareThreads      16&lt;br /&gt;
     MaxSpareThreads      48&lt;br /&gt;
     ThreadsPerChild      64&lt;br /&gt;
     MaxRequestsPerChild   0&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We use the bwbar application to display current bandwidth in the footer of mirror pages.&lt;br /&gt;
&lt;br /&gt;
We use mod_bw to ensure every connection is at least 100 KiB/s.&lt;br /&gt;
&lt;br /&gt;
=== FTP ===&lt;br /&gt;
&lt;br /&gt;
We use proftpd (standalone daemon) as our ftp server. To increase performance we disable DNS lookups in proftpd.conf:&lt;br /&gt;
&lt;br /&gt;
 UseReverseDNS           off&lt;br /&gt;
 IdentLookups            off&lt;br /&gt;
&lt;br /&gt;
We also limit the amount of CPU/memory resources used (e.g. to minimize [http://en.wikipedia.org/wiki/Globbing Globbing] resources):&lt;br /&gt;
&lt;br /&gt;
 RLimitCPU               session 10&lt;br /&gt;
 RLimitMemory            session 4096K&lt;br /&gt;
&lt;br /&gt;
We allow a maximum of 200 concurrent ftp sessions:&lt;br /&gt;
&lt;br /&gt;
 MaxInstances            500&lt;br /&gt;
 MaxClients              500&lt;br /&gt;
&lt;br /&gt;
=== Rsync ===&lt;br /&gt;
&lt;br /&gt;
We use rsyncd (standalone daemon). We disable compression and checksumming in rsyncd.conf:&lt;br /&gt;
&lt;br /&gt;
 dont compress = *&lt;br /&gt;
 refuse options = c delete&lt;br /&gt;
&lt;br /&gt;
For ftp and rsync, the contents of /mirror/root/include/motd.msg are displayed when users connect.&lt;/div&gt;</summary>
		<author><name>Dtbartle</name></author>
	</entry>
</feed>