Re: nginx stopping abruptly at fix time (2:00 am) repeatedly on Cent OS 7.2

2017-02-28 Thread omkar_jadhav_20
Hi Anoop and B.R ... Post through troubleshooting we have found out that it was due to OS. Thanks for your concern , please discard this issue. Issue has been resolved. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,272633,272656#msg-272656

nginx stopping abruptly at fix time (2:00 am) repeatedly on Cent OS 7.2

2017-02-26 Thread omkar_jadhav_20
Hi , Please note that we are using nginx v 1.10.2 and on one of our webserver (centos 7.2) we are observing below error and sudden stopping of nginx service repeatedly at fix time i.e. at 2:00 am. Below are error lines for your reference : 2017/02/26 02:00:01 [alert] 57550#57550: *131331605 open

Re: swapiness value to be set for high load nginx server

2017-02-16 Thread omkar_jadhav_20
Kindly assist .. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,272446,272479#msg-272479 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

swapiness value to be set for high load nginx server

2017-02-15 Thread omkar_jadhav_20
Hi, We are using nginx/1.10.2 as web server on centos and redhat Linux 7.2 OS. We are getting issues of getting our SWAP fully utilized even though we have free memory , vm.swapiness is kept as default i.e. 60. below are memory details for your reference : # free -g totaluse

Re: nginx cache mounted on tmpf getting fulled

2017-01-24 Thread omkar_jadhav_20
omkar_jadhav_20 Wrote: --- > Hi, > > We have used tmpfs to mount frequently used media application cache > serving. We have also mounted rest applications on disk where we are > facing similar issues of max_size being breache

Re: nginx cache mounted on tmpf getting fulled

2017-01-24 Thread omkar_jadhav_20
Hi, We have used tmpfs to mount frequently used media application cache serving. We have also mounted rest applications on disk where we are facing similar issues of max_size being breached . Please find below details for your reference : # du -sh /cache/* 245G/cache/12007 161G/cache/1215

Re: cache manager of nginx not clearing cache as expected

2017-01-18 Thread omkar_jadhav_20
I can not see any open files once i fire the command on affected servers : lsof -n /cache | grep deleted Also my question is why nginx is not limiting use of cache directory to its max_size , like in this case I have mentioned max_size for cache directory as 200G but in actual particular cache dire

cache manager of nginx not clearing cache as expected

2017-01-17 Thread omkar_jadhav_20
Hi, we are running nginx with version 1.10 on redhat 7.2 OS. We have set max_seize limit for cache of particular application. But we have observed that cache manager is clearing the space from cache but not at desired speed . below are few details : FilesystemType Size Us

Re: nginx cache mounted on tmpf getting fulled

2017-01-15 Thread omkar_jadhav_20
can someone please respond and suggest best way to manage cache in highly utilized cache dependent environment. As number of nginx requests increases and cache hit ratio becomes significant , the tmpfs crosses the max_size limit mentioned in the nginx.conf file and use full cache mounted . This in

Re: nginx cache mounted on tmpf getting fulled

2017-01-09 Thread omkar_jadhav_20
Yes I do have RAM of size : 1.5T and swap space of around 200G. It has been observed that swap is not getting used in this case. But it seems either OS is not clearing the RAM that fast or nginx is not able to control RAM as mentioned in the nginx configuration file. Could you please suggest what

Re: nginx cache mounted on tmpf getting filled 100%

2017-01-09 Thread omkar_jadhav_20
can someone please respond. Let me know if any additional information is required. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,271842,271870#msg-271870 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: nginx cache mounted on tmpf getting filled 100%

2017-01-05 Thread omkar_jadhav_20
omkar_jadhav_20 Wrote: --- > Hi, > > I am using nginx as webserver with nginx version: nginx/1.10.2. For > faster access we have mounted cache of nginx of different application > on RAM.But even after giving enough buffer of size

nginx cache mounted on tmpf getting fulled

2017-01-05 Thread omkar_jadhav_20
Hi, I am using nginx as webserver with nginx version: nginx/1.10.2. For faster access we have mounted cache of nginx of different application on RAM.But even after giving enough buffer of size , now and then cache is getting filled , below are few details of files for your reference : maximum size

Re: cache file is too small

2016-12-28 Thread omkar_jadhav_20
Hi , I am using nginx running with version 1.10.2 Also could you please suggest what is the permanent solution for this also what does exactly use_temp_path does? Should we keep it explicitly on , we have not set this directive in our nginx.conf. Below is sample nginx.conf for your reference , ki

cache file is too small

2016-12-28 Thread omkar_jadhav_20
Hi, I am using nginx 1.10.2. We are getting continuous error as 'cache file is too small': 2016/12/28 15:49:38 [crit] 55253#55253: cache file "/cache/12003/2/c3/4ab93b7d3126d7f7f79487c6dc9dbc32.0579642579" is too small Below is the config line set for 12003 : proxy_cache_path/cache/12003 keys

Re: nginx error : cache file has too long header

2016-12-09 Thread omkar_jadhav_20
can someone please assist here ... Posted at Nginx Forum: https://forum.nginx.org/read.php?2,271382,271439#msg-271439 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: nginx error : cache file has too long header

2016-12-07 Thread omkar_jadhav_20
nginx-1.4.0 is the version but there are many servers on which we have installed nginx with version nginx-1.10.2 , giving same error: below is hexdump output before KEY from those servers on which nginx with version 1.10.2 is running : 03 00 00 00 00 00 00 00 a8 09 48 58 00 00 00 00 |.

Re: nginx error : cache file has too long header

2016-12-07 Thread omkar_jadhav_20
Please find the below : fe eb 47 58 00 00 00 00 f3 6f 47 58 00 00 00 00 |..GX.oGX| 0010 a6 e9 47 58 00 00 00 00 e9 9a 8c e8 00 00 a6 00 |..GX| 0020 1f 02 00 00 00 00 00 00 0a 4b 45 59 3a 20 31 30 |.KEY: 10| Please let me know if anything else i

Re: nginx error : cache file has too long header

2016-12-07 Thread omkar_jadhav_20
Yes this is one of those cache file for which we received said error. I can see total size of this file is just 5300 bytes however we have set proxy_buffer size set to 4096k ls -lrt /cache/12054/1/fd/54ab395a128225b98118b08cf9d89fd1 x 5300 Dec 7 16:21 /cache/12054/1/fd/54ab395a128225b98118b08cf9d8

Re: nginx error : cache file has too long header

2016-12-07 Thread omkar_jadhav_20
I can open and read such cache files and below things are there inside these files : KEY: (this is one liner key) HTTP/1.1 200 OK x-mobi-fs-ver: X-Frame-Options: Cache-Control: Last-Modified: ETag: Content-Type: Content-Length: Accept-Ranges: etc. and at last a very long binary content. Posted

Re: nginx error : cache file has too long header

2016-12-07 Thread omkar_jadhav_20
Please note that we already have proxy_buffer_size 4096k, please suggest what should be ideal size for proxy_buffer_size in this scenario. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,271382,271389#msg-271389 ___ nginx mailing list nginx@n

nginx error : cache file has too long header

2016-12-06 Thread omkar_jadhav_20
Hi , We are getting too many Cache file has too long header errors in nginx error.log file. Some servers are getting such error as many as 273 times a day. Below is sample nginx file in our environment : worker_processes auto; events { worker_connections 4096; use epoll; multi_accept on; } wo

Re: nginx logrotate : permission denied

2016-04-28 Thread omkar_jadhav_20
server is of linux flavour... to be precise it is of Red Hat Enterprise Linux Server release 6.5... Posted at Nginx Forum: https://forum.nginx.org/read.php?2,266475,266479#msg-266479 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailm

nginx logrotate : permission denied

2016-04-28 Thread omkar_jadhav_20
Hi, I am getting below error in error.log file post logrotate : --- open() "/var/log/nginx/access_abcd.log" failed (13: Permission denied) p