产品服务AMH 免费服务器主机面板SSL证书 免费SSL证书申请编程助手免费智能写代码、翻译NewAMYSQL 免费MySQL管理工具AMFTP 免费FTP管理客户端

AMH 社区首页

 AMH社区 - 开放自由有价值的社区

[求助帖] 我反代的 缓存难道开启失败了 ?

恶小弟
银牌会员
4539.82 价值分

恶小弟 发表于 2013-09-04 07:56:52
22个站,反代 没一点缓存文件 支持
评价: 这个问题有价值吗?  没有 (0分)   有, 感谢 (0分)
2013-09-04 07:56:52 1

amysql
创始人
99532.51 价值分

Nginx 测试正常?

/usr/local/nginx/sbin/nginx -t
find /home/amproxy_cache -type f | wc -l
amh cat_nginx | grep 'proxy_'

分别执行,提供以上信息
评价: 这个答复有价值吗?  没有 (0分)   有, 感谢 (0分)
回复  2013-09-04 12:42:05 2

AMH面板 - 好用高效低占用、安全可靠极稳定

恶小弟
银牌会员
4539.82 价值分

nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.com.conf:9
nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.com.conf:8
nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.com.conf:9
nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.com.conf:9
nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.net.conf:9
nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.conf:9
nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.conf:9
nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.com.conf:9
nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.conf:9
nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.conf:9
nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.com.conf:9
nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.com.conf:9
nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.com.conf:9
nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.net.conf:9
nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.cn.conf:9
nginx: [warn] duplicate MIME type "text/html" in /usr/local/nginx/conf/proxy/11111.org.conf:9
评价: 这个答复有价值吗?  没有 (0分)   有, 感谢 (0分)
回复  2013-09-04 13:22:35 3

恶小弟
银牌会员
4539.82 价值分

引用:
amysql 发表于 2013-9-4 12:42
Nginx 测试正常?

/usr/local/nginx/sbin/nginx -t

8是 未开启 9是 开启的
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
[root@bfwn-0817-1 ~]# find /home/amproxy_cache -type f | wc -l
122132
[root@bfwn-0817-1 ~]# amh cat_nginx | grep 'proxy_'
评价: 这个答复有价值吗?  没有 (0分)   有, 感谢 (0分)
回复  2013-09-04 13:22:55 4

amysql
创始人
99532.51 价值分

引用:
恶小弟 发表于 2013-9-4 13:22
8是 未开启 9是 开启的

有12万个缓存文件,要面板上查看缓存列表,先得创建缓存索引。
amh cat_nginx | grep 'proxy_'
这个没信息返回?Nginx怎么没缓存配置参数。

面板上AMProxy缓存设置页面截个图看看。
评价: 这个答复有价值吗?  没有 (0分)   有, 感谢 (0分)
回复  2013-09-04 18:13:47 5

恶小弟
银牌会员
4539.82 价值分

引用:
amysql 发表于 2013-9-4 18:13
有12万个缓存文件,要面板上查看缓存列表,先得创建缓存索引。
amh cat_nginx | grep 'proxy_'
这个没信息 ...





我自己改动过的

评价: 这个答复有价值吗?  没有 (0分)   有, 感谢 (0分)
回复  2013-09-04 18:36:25 6

恶小弟
银牌会员
4539.82 价值分

引用:
amysql 发表于 2013-9-4 18:13
有12万个缓存文件,要面板上查看缓存列表,先得创建缓存索引。
amh cat_nginx | grep 'proxy_'
这个没信息 ...


肿么手动删除缓存文件, 创建缓存索引 直接卡死了
评价: 这个答复有价值吗?  没有 (0分)   有, 感谢 (0分)
回复  2013-09-04 19:04:14 7

amysql
创始人
99532.51 价值分

引用:
恶小弟 发表于 2013-9-4 19:04
肿么手动删除缓存文件, 创建缓存索引 直接卡死了


一下了创建十几万、几万需要较多时间了,面板php就得等。
缩小索引时间条件范围。
建议SSH用AMProxy的命令去创建。

比较好奇的是你
amh cat_nginx | grep 'proxy_'
怎么没信息返回?
评价: 这个答复有价值吗?  没有 (0分)   有, 感谢 (0分)
回复  2013-09-04 19:27:36 8

恶小弟
银牌会员
4539.82 价值分

引用:
amysql 发表于 2013-9-4 19:27
一下了创建十几万、几万需要较多时间了,面板php就得等。
缩小索引时间条件范围。
建议SSH用AMProxy的命 ...


amh cat_nginx | grep 'proxy_'
proxy_cache_valid 200 304 8h;
proxy_cache_key $scheme://$host$request_uri;
proxy_temp_path /home/amproxy_cache_tmp;
proxy_cache_path /home/amproxy_cache levels=1:2 keys_zone=amproxy:2000m inactive=8d max_size=20g;
有回显
评价: 这个答复有价值吗?  没有 (0分)   有, 感谢 (0分)
回复  2013-09-04 21:01:44 9

恶小弟
银牌会员
4539.82 价值分

引用:
amysql 发表于 2013-9-4 19:27
一下了创建十几万、几万需要较多时间了,面板php就得等。
缩小索引时间条件范围。
建议SSH用AMProxy的命 ...


命令是啥哇,老大,我在面板上 建立2分钟 能建立,2天 就不行了
评价: 这个答复有价值吗?  没有 (0分)   有, 感谢 (0分)
回复  2013-09-04 21:05:36 10
 1 2 >  (总2页)
AMH社区列表
用户服务中心