excessive RAM consumption - memory leak
dave at cheney.net
Wed Feb 20 23:31:00 MSK 2008
I'm supprised you are finding memory usage a problem, we handle 2mm
hits / day with nginx and memory usage is about 3.5 megabytes total.
What revision of nginx are you running?
Try pointing yslow at your host, and then follow its recommendations
to improve response times (mainly to reduce origin hits).
On 21/02/2008, at 7:15 AM, eliott wrote:
> On 2/20/08, Todd HG <lists at ruby-forum.com> wrote:
>> I have tried reducing the keepalive_timeout to close the connection
>> sooner, so that resources might be freed sooner, but it has no
>> Can someone make some suggestions how I could handle the same
>> but manage the RAM usage better.
> Wow. I would set keepalive to maybe 5 or 10, not 75.
> If you are serving that much traffic, I might even try turning
> keepalives off altogether.
> But if you already modified those values, and didn't see a change,
> then I don't know.
> You may try setting expires headers for your images, if they don't
> change very often (or at all).
More information about the nginx