Squid 限制用户并发连接数

LinuxByte 2010-06-01 13:05:42 累计浏览 5,527 次

在squid.conf 下加如下配置

client_db  on
acl client_10 src 192.168.0.0/32
acl maxconnect maxconn 10
http_access deny client_10 maxconnect

同分类推荐文章

  1. NGINX Gateway Fabric 2.8: IP allow and deny lists, passive health checks, and cookie-based session persistence (2026-11-14 01:10:02)
  2. NGINX Ingress Controller 5.7: HTTP/2 to your upstreams, Opaque Secrets, and cert-manager challenges behind HTTPS redirects (2026-11-14 00:10:02)
  3. Hexo 文章一键发布到微信公众号 (2026-11-13 19:10:02)

查看更多 DevOps 文章 →

建议继续学习

  1. 使用Squid缓存视频 (累计阅读 10,589)
  2. 深入浅出INNODB MVCC机制与原理 (累计阅读 10,002)
  3. 一个典型支付系统的设计与实现 (累计阅读 9,367)
  4. 大型高并发高负载网站的系统架构分析 (累计阅读 9,309)
  5. 让Vim(gVim)更好的支持python语法缩进(强烈推荐) (累计阅读 7,735)
  6. 基于Squid的视频业务日志分析 (累计阅读 7,257)
  7. 系统架构的一些思考 (累计阅读 7,029)
  8. vim(gvim)自动在新标签页中打开文件 (累计阅读 6,689)
  9. MySQL锁管理(并发锁,行锁,表锁,预加锁,全局锁等等) (累计阅读 6,179)
  10. InnoDB线程并发检查机制 (累计阅读 6,086)