[Comm] Чем качают большие файлы?
Denis Kirienko
=?iso-8859-1?q?dk_=CE=C1_altlinux=2Eru?=
Пт Авг 31 10:58:07 MSD 2007
Dmitry A. Kharitonov пишет:
> А у sqida ещже есть ограничения?
У squid-а и wget-а ограничений нет.
А на какую файловую систему вы пишете?
--
Денис
>
> [08:06:35 user на server user]$ wget --no-parent --waitretry=5 --tries=45
> --timeout=60 -c -N -P "/var/backup/dwn/Desktop4.0"
> "ftp://beta.altlinux.ru/desktop/dvd4-RC-20070809.iso"
> --08:07:02-- ftp://beta.altlinux.ru/desktop/dvd4-RC-20070809.iso
> => `/var/backup/dwn/Desktop4.0/.listing'
> Resolving beta.altlinux.ru... 194.107.17.9
> Connecting to beta.altlinux.ru|194.107.17.9|:21... connected.
> Logging in as anonymous ... Logged in!
> ==> SYST ... done. ==> PWD ... done.
> ==> TYPE I ... done. ==> CWD /desktop ... done.
> ==> PASV ... done. ==> LIST ... done.
>
> [ <=>
> ] 3.401 --.--K/s
>
> 08:07:12 (56.65 KB/s) - `/var/backup/dwn/Desktop4.0/.listing' saved [3401]
>
> Removed `/var/backup/dwn/Desktop4.0/.listing'.
> The sizes do not match (local 2179381087) -- retrieving.
>
> --08:07:12-- ftp://beta.altlinux.ru/desktop/dvd4-RC-20070809.iso
> => `/var/backup/dwn/Desktop4.0/dvd4-RC-20070809.iso'
> ==> CWD /desktop ... done.
> ==> PASV ... done. ==> REST 2179381087 ... done.
> ==> RETR dvd4-RC-20070809.iso ... done.
> Length: 3.514.664.960 (3.3G), 1.335.283.873 (1.2G) remaining
>
> 62% [++++++++++++++++++++++++++++++++++++++++ ]
> 2.179.563.327 28.87K/s ETA 13:00:07
> [08:07:19 user на server user]$ export ftp_proxy="http://192.168.2.3:3128";
> wget --no-parent --waitretry=5 --tries=45 --timeout=60 -c -N -P
> "/var/backup/dwn/Desktop4.0"
> "ftp://beta.altlinux.ru/desktop/dvd4-RC-20070809.iso"
> --08:08:24-- ftp://beta.altlinux.ru/desktop/dvd4-RC-20070809.iso
> => `/var/backup/dwn/Desktop4.0/dvd4-RC-20070809.iso'
> Connecting to 192.168.2.3:3128... connected.
> Proxy request sent, awaiting response... 200 OK
> Length: 3.514.664.960 (3.3G) [text/plain]
> The sizes do not match (local 2179568767) -- retrieving.
> --08:08:25-- ftp://beta.altlinux.ru/desktop/dvd4-RC-20070809.iso
> => `/var/backup/dwn/Desktop4.0/dvd4-RC-20070809.iso'
> Connecting to 192.168.2.3:3128... connected.
> Proxy request sent, awaiting response... 206 Partial Content
> Retrying.
>
> --08:08:26-- ftp://beta.altlinux.ru/desktop/dvd4-RC-20070809.iso
> (try: 2) => `/var/backup/dwn/Desktop4.0/dvd4-RC-20070809.iso'
> Connecting to 192.168.2.3:3128... connected.
> Proxy request sent, awaiting response... 206 Partial Content
> Retrying.
>
> --08:08:32-- ftp://beta.altlinux.ru/desktop/dvd4-RC-20070809.iso
> (try: 3) => `/var/backup/dwn/Desktop4.0/dvd4-RC-20070809.iso'
> Connecting to 192.168.2.3:3128... connected.
> Proxy request sent, awaiting response... 206 Partial Content
> Retrying.
>
> [08:15:35 user на server user]$ sudo squid -v
> Squid Cache: Version 2.5.STABLE10
> configure options: '--build=i586-alt-linux' '--host=i586-alt-linux'
> '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin'
> '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share'
> '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/lib'
> '--localstatedir=/var/lib' '--sharedstatedir=/usr/com'
> '--mandir=/usr/share/man' '--infodir=/usr/share/info'
> '--without-included-gettext' '--bindir=/usr/sbin'
> '--libexecdir=/usr/lib/squid' '--localstatedir=/var'
> '--sysconfdir=/etc/squid' '--datadir=/usr/share/squid' '--enable-poll'
> '--enable-snmp' '--enable-removal-policies=lru heap'
> '--enable-delay-pools' '--enable-icmp' '--enable-async-io=16'
> '--enable-useragent-log' '--enable-wccp' '--with-gnu-regex'
> '--enable-arp-acl' '--enable-ssl' '--enable-forw-via-db' '--enable-carp'
> '--enable-ntlm-fail-open' '--enable-cache-digests'
> '--enable-x-accelerator-vary' '--enable-auth=basic ntlm digest'
> '--enable-basic-auth-helpers=LDAP MSNT NCSA PAM SASL SMB YP getpwnam
> multi-domain-NTLM winbind' '--enable-ntlm-auth-helpers=SMB fakeauth
> no_check winbind' '--enable-digest-auth-helpers=password'
> '--enable-external-acl-helpers=ip_user ldap_group unix_group
> wbinfo_group winbind_group' '--enable-storeio=aufs coss diskd null ufs'
> '--enable-default-err-language=English' '--with-large-files'
> '--enable-large-cache-files' 'CFLAGS=-pipe -Wall -O2 -march=i586
> -mcpu=i686' 'build_alias=i586-alt-linux' 'host_alias=i586-alt-linux'
>
> _______________________________________________
> Community mailing list
> Community на lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community
Подробная информация о списке рассылки community