Why doesn't Nginx support fastcgi keepalive connection?

Maxim Dounin mdounin at mdounin.ru
Fri May 13 17:09:31 MSD 2011


Hello!

On Fri, May 13, 2011 at 10:58:54AM +0800, Liu bbskill wrote:

> Hi, all
> 
>     It seems that nginx will communicate with fastcgi using short
> connection, and with heavy load, nginx and fastcgi will cause large number
> of TIME_WAIT.  It's annoying.
> 
>    I am wondering why nginx doesn't support fastcgi keepalive connection(*
> FCGI_KEEP_CONN*)?
> 
>    Are there some special considerations?

There are some experimental patches available which add fastcgi 
keepalive support (with upstream keepalive module).

I'll post refreshed version in a few weeks.

Maxim Dounin



More information about the nginx mailing list