Author Topic: Slow web surfing (Really slow)[SOLVED]  (Read 8402 times)

SorlaK

  • Zen Monk
  • **
  • Posts: 72
  • Karma: +2/-0
    • View Profile
Re: Slow web surfing (Really slow)
« Reply #15 on: September 16, 2011, 04:15:33 pm »
Yes we finally know what the 504 means, however have no clue about the Direct connection in the beginning i always edit the squid.conf.mas in /usr/share/zentyal/stub/squid/ and in the parent proxy line i set up this: no-query default login=PASS.Got anything to do with this DIRECT issue?

christian

  • Guest
Re: Slow web surfing (Really slow)
« Reply #16 on: September 16, 2011, 04:50:54 pm »
so let's speed up a bit this discussion  :)
what does your cache_peer line in squid.conf contain?  ::)

SorlaK

  • Zen Monk
  • **
  • Posts: 72
  • Karma: +2/-0
    • View Profile
Re: Slow web surfing (Really slow)
« Reply #17 on: September 16, 2011, 07:38:26 pm »
So sorry for the delay there where a problem with the dns here in my node.Ok this  is what i found i /etc/squid/squid.conf and /etc/zentayl/squid.conf.

christian

  • Guest
Re: Slow web surfing (Really slow)
« Reply #18 on: September 17, 2011, 10:46:58 am »
SorlaK,

I've not been able to follow what you did with squid.conf file.
in order to test, you should hack squid.conf.mas file to temporarily store cache_peer directive, then restart HTTP proxy service and give a try.

SorlaK

  • Zen Monk
  • **
  • Posts: 72
  • Karma: +2/-0
    • View Profile
Re: Slow web surfing (Really slow)[SOLVED]
« Reply #19 on: September 20, 2011, 07:33:23 pm »
 ;D YEss it is SOLVED at last, and with a single line, since the main problem was the DIRECT connection.
acl all src 0.0.0.0/0.0.0.0 (wish was already in squid.conf.mas)
never_direct allow all (this send every single request to to the parent-proxy)

and with this, now everything is back to normal. Thanks to christian and ichat for the support and the patience, and to all who read and dint answer too for they time .Great Work to the team of Zentyal
« Last Edit: September 20, 2011, 07:36:34 pm by SorlaK »

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
Re: Slow web surfing (Really slow)[SOLVED]
« Reply #20 on: September 23, 2011, 12:02:26 pm »
Thanks everybody! We will test that change in the configuration and probably include it on the next version of zentyal-squid.
Zentyal Server Lead Developer