V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
newbie2013
V2EX  ›  问与答

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

  •  
  •   newbie2013 · 2014-08-21 10:51:12 +08:00 · 3344 次点击
    这是一个创建于 3542 天前的主题,其中的信息可能已经有所发展或是发生改变。
    delay_pools 1
    delay_class 1 3
    delay_parameters 1 1250000/1250000 -1/-1 200000/300000
    delay_access 1 allow all


    如上配置貌似不起作用,请教下,谢谢 :)
    2 条回复    2014-08-24 14:23:07 +08:00
    hedaode
        1
    hedaode  
       2014-08-21 12:38:55 +08:00
    你的配置是正确的哦,可能是对老的连接无效,你新建个tcp连接测试呢
    newbie2013
        2
    newbie2013  
    OP
       2014-08-24 14:23:07 +08:00
    @hedaode 谢谢,这个设置的确没问题。我主要是在 cache_peer 中忘了把 no-delay 去掉,哈哈
    :)
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2079 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 01:22 · PVG 09:22 · LAX 18:22 · JFK 21:22
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.