Hi, I am facing one problem with nginx. I am waiting for nginx to stop withing 30 seconds. If it is not getting stopped, I am firing command to kill master process using pkill -9 <master_process_pid> But, Killing master is not killing the worker process. Due to that reason. Port is not getting released. Is it known problem or desired behavior ? regards Vivek Goel _______________________by goelvivek - Nginx Mailing List - English
Hi, I have one question. Do I need to call ngx_http_finalize_request for every request after calling ngx_http_send_response(r, NGX_HTTP_OK, &ngx_http_json_type, cv); ? If yes. Can I successfully call it without checking return code or any variable like ? ngx_http_send_response(r, NGX_HTTP_OK, &ngx_http_json_type, cv); ngx_http_finalize_request regards Vivek Goel ______________________by goelvivek - Nginx Development
Is there a way I can log current number of active connection in nginx? I want to check the max number of parallel connection I am getting on my server. regards Vivek Goel _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginxby goelvivek - Nginx Mailing List - English
sorry wrong title. It should be : Nginx File Descriptor are increasing in n*n space complexityby goelvivek - Nginx Mailing List - English
First is count second is DEVICEby goelvivek - Nginx Mailing List - English
HI, If I increase nginx worker count. File descriptor count are getting increased in n*n oder. Example with 10 worker. 2 0xffff8801c4dec000 10 0xffff8801c4dec300 10 0xffff8801c4dec600 2 0xffff8801c4dec900 10 0xffff8801c4decc00 10 0xffff8801c4decf00 2 0xffff8801c4ded200 2 0xffff8801c4ded500 10 0xffff8801c4ded800 2 0xffff8801c4dedb00by goelvivek - Nginx Mailing List - English
Hi, I have one third party library which I want to integrate into nginx. What I am planning to use ngx_event to wait to finish callback of third party library. But according to my knowledge ngx_event works only for file descriptor. Is there a way I can signal that event is completed? Second question is: But according to "thumbextractor-module" it is not recommended to use thread insidby goelvivek - Nginx Development
I am running nginx with high number of worker. So I think disable accept_mutex will cause high load on the system. Is there any other method I can choose in nginx like simple round robin b/w workers?by goelvivek - Nginx Mailing List - English
Hi, My setup description is: 1. I have one fastcgi module 2. I have one location module. 3. I am running nginx with 20 worker process. Location module don't use upstream method so it is blocking call. It takes near about 100ms-1 sec to give a response. According to nginx logs sometime fastcgi request is taking lot of time to give response but actually fastcgi request is finishing soon accordingby goelvivek - Nginx Development
Hi, If I have n cores and I am running n nginx worker process how nginx will decide free worker for next connection? 1. Will it be doing round robin? If it is not using round robin what method it use? Is there a way I can force it to use round robin method? regards Vivek Goel _______________________________________________ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.by goelvivek - Nginx Development
Hi, If I have n cores and I am running n nginx worker process how nginx will decide free worker for next connection? 1. Will it be doing round robin? If it is not using round robin what method it use? Is there a way I can force it to use round robin method? regards Vivek Goel _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/by goelvivek - Nginx Mailing List - English
Hi, Assume my server datastorage is not responding where I am logging access.log/error.log and some analytics logs using lua. If I am running nginx as single worker and I have set a limit of 1024 max connections in nginx and 1000 connections are waiting in log phase. How many connection nginx can accept at that time? 24 more or 1024 more?by goelvivek - Nginx Mailing List - English
I am using nginx as proxy server. I got following error once: upstream timed out (110: Connection timed out) while connecting to upstream, In what situtaion I will get this error? Exaple: 1. Upstream didn't accept connection within x time. Is there any other case when I can get this error or is it only one case when I will get this error? Example: 1. Saving or reading to tmp filby goelvivek - Nginx Mailing List - English
I am using Amazon Linux. uname -a gives followng result Linux <ip> 3.2.22-35.60.amzn1.x86_64 #1 SMP Thu Jul 5 14:07:24 UTC 2012 x86_64 x86_64 x86_64 GNU/Linuxby goelvivek - Nginx Mailing List - English
Hi, While calling nginx stop we are getting following error: 25563#0: waitpid() failed (10: No child processes) What could be the reason for this problem? How can we solve this? or Can we ignore this error ? regards Vivek Goel _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginxby goelvivek - Nginx Mailing List - English
Is there a way to change the file permission of access.log and error.log? Currently nginx is creating file in user readable and writable mode. I want those files to be readable by group. regards Vivek Goel _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginxby goelvivek - Nginx Mailing List - English