Welcome! Log In Create A New Profile

Advanced

Re: Sensible Performance/Growth Strategies?

August 16, 2010 03:00PM
On Mon, Aug 16, 2010 at 9:43 AM, Raina Gustafson <raina@thequeensmen.com> wrote:

> To date, I've been needing to manually re-start PHP-FPM about every
> other day due to steadily increasing memory consumption over time. I'm
> thinking about implementing a script to auto-restart it upon reaching
> a certain threshold. I'm wondering if this is a ridiculously lazy
> solution, or a reasonably respectable one.

what's your pm.max_requests set to?

it's the normal way to recycle PHP engines after N number of requests
in an attempt to avoid memory leakage over time.

what are you looking at to show/detect memory consumption? top? ps? free?

note that over time more "free" memory gets thrown into the "cached"
bucket, and that memory is able to be reused, the kernel just doesn't
mark it as free (at least on Linux, and I believe I summarized it
right)

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Sensible Performance/Growth Strategies?

Raina Gustafson August 04, 2010 01:38PM

Re: Sensible Performance/Growth Strategies?

Hone Watson August 04, 2010 08:04PM

Re: Sensible Performance/Growth Strategies?

Raina Gustafson August 05, 2010 11:14AM

Re: Sensible Performance/Growth Strategies?

Igor Sysoev August 05, 2010 11:48AM

Re: Sensible Performance/Growth Strategies?

Alex Sergeyev August 05, 2010 12:30PM

Re: Sensible Performance/Growth Strategies?

Igor Sysoev August 05, 2010 12:42PM

Re: Sensible Performance/Growth Strategies?

Anonymous User August 05, 2010 12:54PM

Re: Sensible Performance/Growth Strategies?

Igor Sysoev August 05, 2010 01:02PM

Re: Sensible Performance/Growth Strategies?

Raina Gustafson August 05, 2010 01:46PM

Re: Sensible Performance/Growth Strategies?

mike August 05, 2010 03:00PM

Re: Sensible Performance/Growth Strategies?

Guillaume Filion August 16, 2010 09:06AM

Re: Sensible Performance/Growth Strategies?

Raina Gustafson August 16, 2010 12:48PM

Re: Sensible Performance/Growth Strategies?

mike August 16, 2010 03:00PM

Re: Sensible Performance/Growth Strategies?

Rainer Duffner August 05, 2010 02:54PM

Re: Sensible Performance/Growth Strategies?

Igor Sysoev August 05, 2010 02:58PM

Re: Sensible Performance/Growth Strategies?

Rainer Duffner August 05, 2010 03:12PM

Re: Sensible Performance/Growth Strategies?

Hone Watson August 05, 2010 09:22PM

Re: Sensible Performance/Growth Strategies?

Dennis J. August 05, 2010 10:38PM

Re: Sensible Performance/Growth Strategies?

Hone Watson August 05, 2010 11:52PM

Re: Sensible Performance/Growth Strategies?

Kevin August 06, 2010 01:40AM

Re: Sensible Performance/Growth Strategies?

Ryan Malayter August 06, 2010 07:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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