器量大者,福泽必厚
全部博文(587)
发布时间:2013-08-29 14:05:05
于某些rewrite 后的html页面,http头信息里带有no-cache头,常规配置无法缓存,要修改varnish配置文件,去掉http里no-cache头,添加如下内容:sub vcl_fetch { if (req.url ~ "html$") { set beresp.ttl = 10m;&nbs.........【阅读全文】
发布时间:2013-08-29 13:55:39
场景:搭建好varnish+nginx服务器后,测试了几下,偶尔会出现503 service unavailable 见附件!解决方法:第二步:是在varnish的启动项中加入了-p http_resp_hdr_len=8192[root@buf486 scripts]# cat startvarnish.sh #!/bin/shulimit -SHn 65535/usr/local/varnish3/sbin/varnishd -f /usr/local/varn.........【阅读全文】
发布时间:2013-08-29 13:45:29
场景:configure没问题,但make时报错:undefined reference to pcre_free_studycollect2: ld returned 1 exit statusmake[3]: *** [varnishadm] Error 1make[3]: Leaving directory`/home/liuxiaojie/varnish-3.0.3/bin/varnishadm'make[2]: *** [all-recursive] Error 1make[2]: Leaving directory .........【阅读全文】
发布时间:2013-08-29 13:33:48
1:对alter table tablename disable/enable keys 只能处理myisam存储引擎的表,对innodb的无效转载于:http://imysql.cn/2007_08_13_mysql_optimize_disable_keysinnodb的上面的命令根本不生效,生效的方法见附件!......【阅读全文】
发布时间:2013-08-24 16:59:34
1: cd cmake-2.8.11.2 ./configure --prefix=/usr/local/cmake make make install ###到此cmake已经安装 2: tar zxvf Percona-Server-5.6.12-rc60.4.tar.gz cd Percona-Server-5.6.12-rc60.4 /usr/local/cmake/bin/cmake ..........【阅读全文】