+ Responder ao Tópico



  1. #1

    Exclamation Problemas Com Cachefull e Controle de banda

    Pessoal, to tentando implantaar o cache full aqui mas to com um problema. Ele até funciona se eu desativar o controle de banda individual (simple queues). Quanto ativo, mesmo quando o cliente baixa do cache não sai a full, mas sim na velocidade do cliente.
    Vou postar minhas fegras abaixo, pra ver se alguém me da uma luz.

    [IMG]file:///C:/DOCUME%7E1/luis/CONFIG%7E1/Temp/moz-screenshot.png[/IMG]/ip firewall mangle
    ;;; Cache Full_regra 2
    chain=postrouting action=mark-connection new-connection-mark=proxy-hits passthrough=yes protocol=tcp src-port=5128 dscp=12

    1 ;;; Cache Full_regra 2
    chain=postrouting action=mark-connection new-connection-mark=sem-proxy-hits passthrough=yes protocol=tcp src-port=5128 dscp=!12

    2 chain=postrouting action=mark-packet new-packet-mark=proxy-squid passthrough=no connection-mark=proxy-hits

    3 ;;; Cache Full
    chain=postrouting action=mark-connection new-connection-mark=squid-connection-HIT passthrough=yes protocol=tcp src-port=5128 content=THUNDER: HIT (essa regra naum tá marcando nada)

    4 ;;; Cache Full
    chain=postrouting action=mark-connection new-connection-mark=squid-connection-HIT passthrough=yes protocol=tcp src-port=5128 content=X-Cache: HIT

    5 chain=postrouting action=mark-packet new-packet-mark=squid-packet-HIT passthrough=yes connection-mark=squid-connection-HIT

    /queue type
    name="cache" kind=pcq pcq-rate=4800000 pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=2000

    /queue tree
    name="squid packets" parent=global-out packet-mark=squid-packet-HIT limit-at=0 queue=cache priority=8 max-limit=0 burst-limit=0 burst-threshold=0
    burst-time=0s

    7 name="SquidCache_Down" parent=global-out packet-mark=proxy-squid limit-at=0 queue=cache priority=8 max-limit=0 burst-limit=0 burst-threshold=0
    burst-time=0s

    8 name="SquidCache_Up" parent=global-in packet-mark=proxy-squid limit-at=0 queue=cache priority=8 max-limit=0 burst-limit=0 burst-threshold=0 burst-time=0s

    Desde já agradeço.

  2. #2

    Padrão Re: Problemas Com Cachefull e Controle de banda

    content = X-Cache: HIT from Thunder

    Mude ae e nos retorne o resultado.



  3. #3

    Padrão Re: Problemas Com Cachefull e Controle de banda

    Blz, ta marcando. Mas o problema de sair a full continua.
    Só sai a full se eu desativo a simple queue do IP.

  4. #4

    Padrão Re: Problemas Com Cachefull e Controle de banda

    A queue tree não tem prioridade sobre a simple queue?