摘要: Varnish,Nginx搭建缓存服务器 Varnish,Nginx搭建缓存服务器 一. varnish 1.安装pcre库,兼容正则表达式 # tar -zxvf pcre-8.10.tar.gz # cd pcre-8.10 # ./configure --prefix=/usr/local/p 阅读全文
posted @ 2017-01-17 10:12 chenjianwen 阅读(1203) 评论(0) 推荐(0) 编辑
摘要: 内核参数优化 # vi sysctl.conf 增加以下配置 net.ipv4.netfilter.ip_conntrack_tcp_timeout_established = 1800 net.ipv4.ip_conntrack_max = 16777216 # 如果使用默认参数,容易出现网络丢包 阅读全文
posted @ 2017-01-17 09:37 chenjianwen 阅读(305) 评论(0) 推荐(0) 编辑