Hi, <br>My setup description is:<div>1. I have one fastcgi module</div><div>2. I have one location module. </div><div>3. I am running nginx with 20 worker process. </div><div><br></div><div>Location module don't use upstream method so it is blocking call. It takes near about 100ms-1 sec to give a response. </div>
<div><br></div><div>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. </div><div><br></div><div>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?</div>
<div>Is there a way I can avoid this condition without replacing the module?</div><div><ol><li>Reserving one worker to server only fastcgi request?</li><li>Using round robin worker assignment to avoid such condition. </li>
</ol></div><div><br clear="all">regards<div>Vivek Goel</div><br>
</div>