Welcome! Log In Create A New Profile

Advanced

Re: nginx-0.7.55

May 08, 2009 07:16PM
There appears to be a bug in 0.7.55 (as well as 0.7.54, and perhaps others) when serving .flv files.

Connections never free. If you look at the stub_status page, the list of writers increases without limit. On a completely idle machine, connections that use the flv module are permanently added to the "writing" list, no matter how long it has been since the connection was closed; connections that do not use the flv module increment the other connection counters, as expected, but do not create lingering "ghost writers."

The server in question is hosting the flv files from an XFS partition. The nginx executable has been linked with libhugepages and is fully loaded in a tlbfs segment. Sendfile is enabled and it makes no difference what the output buffers parameter is set to. I have tried it with directio on and off with the same result: with directio on, nginx leaks buffer memory, increasing the size of its memory image without limit; with directio off, it would (eventually, if I let it) exhaust file descriptors.

This problem does not exist for 0.6.36 using the exact same compilation options, configuration files and spool directory.
Subject Author Posted

nginx-0.7.55

Igor Sysoev May 06, 2009 05:34AM

RE: nginx-0.7.55

郭振立 May 06, 2009 06:23AM

Re: nginx-0.7.55

Igor Sysoev May 06, 2009 07:18AM

Re: nginx-0.7.55

Ebiss Ebiss May 06, 2009 11:02PM

Re: nginx-0.7.55

kevinmkilbride May 08, 2009 07:16PM

Re: nginx-0.7.55

Maxim Dounin May 09, 2009 05:15AM

Re: nginx-0.7.55

kevinmkilbride May 10, 2009 03:04AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 314
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