There is a page on wiki that explains how to make a mirror that serves packages on demand using nginx:
https://wiki.parabolagnulinux.org/Mirroring_On_Demand#Using_Nginx Maybe you could adapt it to your mirror so it use only the required amount of bandwith. On Sat, 14 Apr 2012 10:16:46 +0200, Johannes Krampf <[email protected]> wrote: > Hello, > > if I interpret the data correctly, my mirror received ~22GB by syncing > with the main mirror, but served only ~7GB in the last 40 days. > > ~~~~ > $ uptime > 07:35:09 up 40 days, 13:34, 1 user, load average: 0.02, 0.01, 0.00 > $ /sbin/ifconfig venet0 | grep RX\ bytes > RX bytes:24022006592 (22.3 GiB) TX bytes:7440433941 (6.9 GiB) > ~~~~ > > The log files contain >7000 requests with a "pacman" user agent - fellow > paraboleros use the mirror. > > But I wonder if we achieve the goal of saving bandwith to the primary > mirror when syncing uses more bandwidth than serving data to users. > > Is this a problem and should we do anything about it? > > - Johannes > Attachment: smime.p7s (application/pkcs7-signature) > _______________________________________________ > Dev mailing list > [email protected] > https://lists.parabolagnulinux.org/mailman/listinfo/dev
pgpo8e5MJkJjX.pgp
Description: PGP signature
_______________________________________________ Dev mailing list [email protected] https://lists.parabolagnulinux.org/mailman/listinfo/dev
