Re: Problem with proxy_cache_path and limit

2017-12-20 Thread Maxim Dounin
Hello! On Tue, Dec 19, 2017 at 04:13:10PM -0500, erick3k wrote: > Yep is there, so am still back to 0, nginx is still filling up the hard disk > please help I believe I've already asked you to define "filling up". And you were already asked to do some diagnostic steps, including: - check if s

Re: Problem with proxy_cache_path and limit

2017-12-19 Thread erick3k
Yep is there, so am still back to 0, nginx is still filling up the hard disk please help Posted at Nginx Forum: https://forum.nginx.org/read.php?2,277816,277840#msg-277840 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo

Re: Problem with proxy_cache_path and limit

2017-12-19 Thread Maxim Dounin
Hello! On Tue, Dec 19, 2017 at 01:31:10PM -0500, erick3k wrote: > and that is done by the cache manager correct? when is this function > triggered ? i suspect the cache manager is not working, how can i tell if is > loaded? Try something like "ps -alx", cache manager process title will be "ngin

Re: Problem with proxy_cache_path and limit

2017-12-19 Thread erick3k
and that is done by the cache manager correct? when is this function triggered ? i suspect the cache manager is not working, how can i tell if is loaded? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,277816,277836#msg-277836 ___ nginx maili

Re: Problem with proxy_cache_path and limit

2017-12-19 Thread Maxim Dounin
Hello! On Tue, Dec 19, 2017 at 12:48:41PM -0500, erick3k wrote: > what i observe is the folder cachemaster going over 1gb, way over until it > fills the hard drive. Please define "until it fills the hard drive". It is ok if you have only 1gb or 2gb free, but it is certainly not ok if it fills

Re: Problem with proxy_cache_path and limit

2017-12-19 Thread erick3k
removing use_temp_path=off max_size is literally ignored, still fills the hard drive just in default nginx temp path Posted at Nginx Forum: https://forum.nginx.org/read.php?2,277816,277832#msg-277832 ___ nginx mailing list nginx@nginx.org http://mailma

Re: Problem with proxy_cache_path and limit

2017-12-19 Thread erick3k
Interesting, what i observe is the folder cachemaster going over 1gb, way over until it fills the hard drive. so what is the correct way to limit the cache size used by nginx? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,277816,277831#msg-277831 __

Re: Problem with proxy_cache_path and limit

2017-12-19 Thread Maxim Dounin
Hello! On Mon, Dec 18, 2017 at 09:14:43PM -0500, erick3k wrote: [...] > proxy_cache_path /home/admin/cachemaster levels=1:2 > keys_zone=my_cache:100m > max_size=1g inactive=60m use_temp_path=off; [...] > but the folder /home/admin/cachemaster fills up beyond 1gb, what am i > missing Co

Re: Problem with proxy_cache_path and limit

2017-12-18 Thread erick3k
nothing, even tried 1024m Posted at Nginx Forum: https://forum.nginx.org/read.php?2,277816,277819#msg-277819 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Problem with proxy_cache_path and limit

2017-12-18 Thread erick3k
Hi Mate i tried both nginx -t nginx: [emerg] invalid max_size value "max_size=1GB" in /etc/nginx/nginx.conf:109 nginx: configuration file /etc/nginx/nginx.conf test failed root@nyc1:~# nginx -t nginx: [emerg] invalid max_size value "max_size=1Gb" in /etc/nginx/nginx.conf:109 nginx: configuration

Re: Problem with proxy_cache_path and limit

2017-12-18 Thread Zhang Chao
Hello! > nginx -v > nginx version: nginx/1.13.7 > # Server globals > user www-data; > worker_processes auto; > worker_rlimit_nofile 65535; > error_log /var/log/nginx/error.log crit; > pid /var/run/nginx.pid; > > > # Worker config > events { > worker_connections 1024; > use epoll; > multi_accept o

Problem with proxy_cache_path and limit

2017-12-18 Thread erick3k
nginx -v nginx version: nginx/1.13.7 # Server globals userwww-data; worker_processesauto; worker_rlimit_nofile65535; error_log /var/log/nginx/error.log crit; pid /var/run/nginx.pid; # Worker config events { worker_connecti