Most recent edit on 2008-06-09 16:38:40 by BatosaiDotNet [Give a hint of the traffic generated by a mirror.]
Additions:
Note : If you run a mirror, you can expect around 40GB per month traffic (may 2008 statistics).
Edited on 2008-05-06 12:44:39 by NextGens [add a link to the mirror-verification script]
Additions:
Most mirrors are syncing every 5mins... There is a script which *will* remove your mirror from the load-balancing script if it's not up to date (older than 15mins).
You can see the live-status of freenet-mirrors at http://stats.freenetproject.org/mirror_status.html∞
Deletions:
Most mirrors are syncing every 5mins... some might even do it every 2
Oldest known version of this page was edited on 2008-01-21 13:42:24 by NextGens [create the page]
Page view:
Ask
NextGens for credentials... and don't forget to give us the url of your mirror!
Here is the script you should be using:
#!/bin/bash
USERNAME="yourusername"
PASSWORDFILE="/path/to/password"
DEST="/var/www/freenet-mirror/"
LOCKFILE="/tmp/freenet-mirror.pid"
if test -e $LOCKFILE
then
if [[ $(ps aux |grep -c $(cat $LOCKFILE)) -eq 0 ]]
then
rm -f $LOCKFILE
echo "Dead lockfile, removing"
else
echo "$LOCKFILE detected, mirroring aborted"
exit
fi
fi
echo $$ > $LOCKFILE
rsync --password-file "$PASSWORDFILE" -azr -L --safe-links --chmod=ugo=rwX --delete-after "rsync://$USERNAME@emu.freenetproject.org/freenet-mirror" "$DEST"
rm -f $LOCKFILE
Most mirrors are syncing every 5mins... some might even do it every 2