r/ObservabilityOPS • u/Ok_Host_4102 • 27d ago
PHP-FPM hitting max children vs slow response from outside
I have room for one more alert that pages me at night across my client servers, and I can’t pick between two.
A: page when a PHP-FPM pool hits max children. It fires before visitors notice anything. It also fires on short traffic bursts that clear on their own in a minute, and that happens a few times a week.
B: page when response time from outside goes over 2 seconds from a few locations. I already run this in Dotcom Monitor as a daytime warning. It’s closer to what visitors feel, but by the time it fires the site is already slow.
I know the usual advice is alert on symptoms, not causes. B just feels late to me.
Right now both go to email and nobody reads email at night.
Setup if it matters pm is dynamic, max_children is sized per site, a handful of sites per server.
Which would you page on and which would you leave as a warning? Or do you combine them, like page only when the pool is full and response time is also over 2 seconds for 3 minutes straight?