Welcome! Log In Create A New Profile

Advanced

Request are getting assigned to same worker

November 21, 2012 12:02PM
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 according to
fastcgi logs.

What I am thinking problem is,Same worker is handling fastcgi and location
request, due to blocking nature of location handler response of fastcgi is
waiting to be served?
Is there a way I can avoid this condition without replacing the module?

1. Reserving one worker to server only fastcgi request?
2. Using round robin worker assignment to avoid such condition.


regards
Vivek Goel
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Request are getting assigned to same worker

goelvivek 1294 November 21, 2012 12:02PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 220
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready