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.by omkar_jadhav_20 - Nginx Mailing List - English
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 57550#57550: *131331605 open socket #97 left in connection 453 2017/02/26 02:00:01 57550#57550: *131334225 open socket #126 left inby omkar_jadhav_20 - Nginx Mailing List - English
Kindly assist ..by omkar_jadhav_20 - Nginx Mailing List - English
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 total used free shared buff/cache available Mem: 1511 32 3by omkar_jadhav_20 - Nginx Mailing List - English
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 breached . Please find below > details for your reference : > > # du -sh /cache/* > 245Gby omkar_jadhav_20 - Nginx Mailing List - English
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/12152 # grep a12007 /etc/nginx/nginx.conf proxy_cache_path /cache/12007 keys_zone=a12007:200by omkar_jadhav_20 - Nginx Mailing List - English
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 directory is crossing 200G of mark i.e going up by 243 G. Could you please exaplain why this happens anby omkar_jadhav_20 - Nginx Mailing List - English
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 : Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/vg_cache-lv_cache ext4 1.5T 1.4T 6.9M 100% /cacheby omkar_jadhav_20 - Nginx Mailing List - English
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 returns increases the server load by great extent.by omkar_jadhav_20 - Nginx Mailing List - English
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 can be the possible solution for this issue. Every time max_size is getting crossed by RAM even afteby omkar_jadhav_20 - Nginx Mailing List - English
can someone please respond. Let me know if any additional information is required.by omkar_jadhav_20 - Nginx Mailing List - English
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 , now and then > cache is getting filled , below are few details of files for your > refby omkar_jadhav_20 - Nginx Mailing List - English
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 given in nginx conf file is 500G , while mouting we have given 600G of space i.e. 100G of buffer.by omkar_jadhav_20 - Nginx Mailing List - English
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 , kindly suggest wherever modification is required : worker_processes auto; events { worker_by omkar_jadhav_20 - Nginx Mailing List - English
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 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_zone=a12003:200m levels=1:2 max_size=700g inactive=10d; Kindly let me know how can we eby omkar_jadhav_20 - Nginx Mailing List - English
can someone please assist here ...by omkar_jadhav_20 - Nginx Mailing List - English
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 : 00000000 03 00 00 00 00 00 00 00 a8 09 48 58 00 00 00 00 |..........HX....| 00000010 99 ee 47 58 00 00 00 00 50 07 48 58 00 00 00 00 |..GX....P.HX....|by omkar_jadhav_20 - Nginx Mailing List - English
Please find the below : 00000000 fe eb 47 58 00 00 00 00 f3 6f 47 58 00 00 00 00 |..GX.....oGX....| 00000010 a6 e9 47 58 00 00 00 00 e9 9a 8c e8 00 00 a6 00 |..GX............| 00000020 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 is required.by omkar_jadhav_20 - Nginx Mailing List - English
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/54ab395a128225b98118b08cf9d89fd1by omkar_jadhav_20 - Nginx Mailing List - English
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.by omkar_jadhav_20 - Nginx Mailing List - English
Please note that we already have proxy_buffer_size 4096k, please suggest what should be ideal size for proxy_buffer_size in this scenario.by omkar_jadhav_20 - Nginx Mailing List - English
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; } worker_rlimit_nofile 100001; http { include mime.types; default_type video/mp4;by omkar_jadhav_20 - Nginx Mailing List - English
can someone please suggest any solution..by omkar_jadhav_20 - Other discussion
Done on both user facing servers but no improvement : nginx_stats of server with more writing req : Active connections: 7273 server accepts handled requests 221000 221000 257718 Reading: 0 Writing: 2599 Waiting: 4674 nginx_stats of server with less writing req: Active connections: 5838 server accepts handled requests 162471 162471 190024 Reading: 0 Writing: 682 Waiting: 5156by omkar_jadhav_20 - How to...
Ok let me check without epoll..by omkar_jadhav_20 - How to...
Hi, We can not change epoll as our server os is of centos and it was recommended to keep epoll yes for rhel. Number of requests coming on user facing servers are very huge in our environment. Could you let us know what should be ideal value of vm.swappiness. we have vm.swappiness=60 which is default one but red hat recommends it to be 10. Please suggest let me know in case you require any detailsby omkar_jadhav_20 - How to...
below is the nginx status on both server , server who was having issue with number of writing was now observed with still increase in writing requests : serer without any issue : Active connections: 7045 server accepts handled requests 207550 207550 238713 Reading: 0 Writing: 726 Waiting: 6319 with issue : Active connections: 9927 server accepts handled requests 277077 277077 3178by omkar_jadhav_20 - How to...
forget to mention that I have updated nginx to nginx/1.10.1. We can not make multi_accept off; as our application requires nginx to make a worker process accept all new connections at a time. Also attached are the list of ipv6 sysctl parameter for this server. Please let me know in case something needs to be modified. I have changed worker_connections 16384 and keeping the server under observationby omkar_jadhav_20 - How to...
Hi itpp2012 , I have upgraded nginx on one of our setup , load balancer which is haproxy is equally distributing load on user facing servers but one of the user facing server's writing requests are more and hence resposne time for tht server is increasing as number of requests gets increased in peak time. PFA screenshots of user facing servers.Please assistby omkar_jadhav_20 - How to...
Hi, I am using nginx with version 1.4.0. Getting error as : TCPv6: Possible SYN flooding on port 80. Sending cookies. It is serving media traffic and whenever number of incoming connections crosses 7K. file size served is about 1.5Mb. below are few details for reference : part of nginx conf : worker_processes auto; events { worker_connections 4096; use epoll; multi_accept on;by omkar_jadhav_20 - Other discussion