newbie2013
V2EX  ›  问与答

squid3 用 deploy pool 对每个连接 ip 限速,怎么配置?

  •  
  •   newbie2013 · Aug 21, 2014 · 4282 views
    This topic created in 4307 days ago, the information mentioned may be changed or developed.
    delay_pools 1
    delay_class 1 3
    delay_parameters 1 1250000/1250000 -1/-1 200000/300000
    delay_access 1 allow all


    如上配置貌似不起作用,请教下,谢谢 :)
    2 replies    2014-08-24 14:23:07 +08:00
    hedaode
        1
    hedaode  
       Aug 21, 2014
    你的配置是正确的哦,可能是对老的连接无效,你新建个tcp连接测试呢
    newbie2013
        2
    newbie2013  
    OP
       Aug 24, 2014
    @hedaode 谢谢,这个设置的确没问题。我主要是在 cache_peer 中忘了把 no-delay 去掉,哈哈
    :)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2922 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 13:37 · PVG 21:37 · LAX 06:37 · JFK 09:37
    ♥ Do have faith in what you're doing.