X-Original-To: pgsql-www-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 7D274D1E146 for ; Thu, 19 Feb 2004 12:38:30 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 35297-06 for ; Thu, 19 Feb 2004 08:38:37 -0400 (AST) Received: from anchor-post-32.mail.demon.net (anchor-post-32.mail.demon.net [194.217.242.90]) by svr1.postgresql.org (Postfix) with ESMTP id 22D42D1D1A4 for ; Thu, 19 Feb 2004 08:38:28 -0400 (AST) Received: from mailgate.vale-housing.co.uk ([80.176.1.146] helo=salem.vale-housing.co.uk) by anchor-post-32.mail.demon.net with esmtp (Exim 3.35 #1) id 1AtnRs-000McJ-0W; Thu, 19 Feb 2004 12:38:36 +0000 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: Re: Mirror how-to? X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Date: Thu, 19 Feb 2004 12:38:35 -0000 Message-ID: <03AF4E498C591348A42FC93DEA9661B889F403@mail.vale-housing.co.uk> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [pgsql-www] Mirror how-to? Thread-Index: AcP2xGTcZmabDQGLSsqap/l6lkLrNQAH6rEg From: "Dave Page" To: "David Costa" Cc: "PostgreSQL WWW Mailing List" X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/135 X-Sequence-Number: 3700 =20 > -----Original Message----- > From: David Costa [mailto:geeks@dotgeek.org]=20 > Sent: 19 February 2004 08:43 > To: Dave Page > Cc: PostgreSQL WWW Mailing List > Subject: Re: [pgsql-www] Mirror how-to? >=20 >=20 >=20 > Hi Dave, > just thinking lout, but on php.net they do limit 2 mirrors per country > (4 for USA as the only exception I think). > They do that for bandwidth purposes. >=20 > Furthermore, the php webmasters have a script to monitor when=20 > a mirror goes down. If the downtime is over 1-2 days they=20 > will remove it from the list and email the mirror owner. Yes, we have a similar system. > In your case they get automagically deleted from the live=20 > list (as far as I understand) which is a good thing(r) I might=20 > suggest that we email (I can help you with this, if needed)=20 > the offline mirrors. Hmm, that is a potentially tricky. /mirrors-ftp.php and -www.php both include only mirrors that have sync'ed in the last 48 hours, however the DNS build script includes all hosts that have sync'ed within 7 days iirc. The main reason is to prevent dropping DNS records for sites that are only offline for a short while. The best bet would probably be to add a flag to the mirrors table. If the last sync time goes past 48 hours ago, and the flag is not set, then an email is sent and the flag set for that mirror to prevent further messages. Whenever a mirror is sync'ed it's flag is unset. That would require a script, and mods to the database (the unsetting of the flag could be handled by a suitable trigger). > I can also have the switch.ch Sunsite to mirror postgresql.=20 > This might come handy because, as far as I can see, you do=20 > not have a mirror in Switzerland. (Nothing urgent thou..) There are, but they are both offline since 2004-02-01 :-( Regards, Dave.