On 14/02/2012 20:32, Wladner Klimach wrote:
> Squid users,
>
> when I try to get this url www.tcu.gov.br it takes too long when it
> even does. Look at my set up configs in squid.conf:
it's not your squid configuration.
i am using squid and it doing the same but also using just wget gave me
the same result... taking a lot of time to resolve the site and then
seconds to download the page.
the site you have is a redirection to this other page so:
what i got is:
time wget http://portal2.tcu.gov.br/TCU
--2012-02-15 02:41:13-- http://portal2.tcu.gov.br/TCU
Resolving portal2.tcu.gov.br... 189.114.57.177, 189.21.130.177
Connecting to portal2.tcu.gov.br|189.114.57.177|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 85113 (83K) [text/html]
Saving to: `TCU.1'
100%[=================================================================================>]
85,113 94.4K/s in 0.9s
2012-02-15 02:42:10 (94.4 KB/s) - `TCU.1' saved [85113/85113]
real 0m56.487s
user 0m0.000s
sys 0m0.020s
so it's a total of 56.4 seconds minus 0.9 seconds to actually download
the file and you will get 55.5 seconds to only resolve the site name\ip.
but without squid and using aria2
time aria2c http://portal2.tcu.gov.br/TCU
[#1 SIZE:0B/0B CN:1 SPD:0Bs]
2012-02-15 02:45:29.830431 NOTICE - #1 - Download has already completed:
/tmp/TCU
2012-02-15 02:45:29.830763 NOTICE - Download complete: /tmp/TCU
Download Results:
gid|stat|avg speed |path/URI
===+====+===========+===========================================================
1| OK| n/a|/tmp/TCU
Status Legend:
(OK):download completed.
real 0m2.397s
user 0m0.180s
sys 0m0.020s
it takes only 2 seconds.
so i think it's something related to http 1.1 and http 1.0 thing and not
squid only problem.
Regrads
Eliezer
>
> cache_store_log none
> maximum_object_size 16384 KB
> minimum_object_size 0 KB
> maximum_object_size_in_memory 50 KB
> cache_swap_low 95
> cache_swap_high 98
> ipcache_size 6000
> ipcache_low 90
> ipcache_high 92
> fqdncache_size 6000
> memory_replacement_policy heap GDSF
> cache_replacement_policy heap LFUDA
> half_closed_clients off
> memory_pools off
> quick_abort_min 0 KB
> quick_abort_max 0 KB
> client_db off
> buffered_logs on
>
> Could be some of this configs the reason of it?
>
>
> Att,
>
> Wladner
Received on Wed Feb 15 2012 - 00:43:25 MST
This archive was generated by hypermail 2.2.0 : Wed Feb 15 2012 - 12:00:03 MST