只需一步,快速开始
proxy_cache_path /home/cache levels=1:2 keys_zone=PROXY:80m inactive=5m;
举报
wdlth 发表于 2012-7-12 11:25 看 nginx cache 进程内存使用
查看全部评分
chairo 发表于 2012-7-12 11:29 一共就只有三个nginx进程,其中一个子进程内存用的比较多,看我帖子的图中www用户的第一个进程 ...
wdlth 发表于 2012-7-12 17:46 ps aux | grep nginx 有个cache manager的,top看不出来。 keyzone不用太大。
root 1537 0.0 0.7 87192 1860 ? Ss Jul11 0:00 nginx: master process /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf www 1625 0.0 4.6 97516 12276 ? S Jul11 0:40 nginx: worker process www 1626 0.0 0.5 87192 1384 ? S Jul11 0:00 nginx: cache manager process root 1725 0.0 0.2 3292 692 pts/0 D+ 17:52 0:00 grep nginx
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|全球主机交流论坛
GMT+8, 2025-2-13 02:56 , Processed in 0.096405 second(s), 16 queries , Gzip On, MemCache On.
Powered by Discuz! X3.4
© 2001-2023 Discuz! Team.