r/ObservabilityOPS • • 1d ago

Cloudflare kept serving cached pages for two hours while the origin was down

1 Upvotes

TL;DR my uptime check only ever hit a cached homepage so it stayed green through a two hour origin outage. Looking for better ways to check the origin through Cloudflare.

One of my clients runs WordPress behind Cloudflare with fairly aggressive page caching. On Sunday the origin server ran out of disk. For about two hours the homepage and most posts loaded fine from cache while the contact form, the cart and wp admin all returned 5xx. I found out when the client couldn't log in.

What I changed my Dotcom Monitor check now loads a page with a cache bypass query string plus the login page so it actually reaches the origin. Where the setup allows it I also check the origin IP directly with the Host header set.

So for anyone who has solved this properly through Cloudflare with bypass URLs, straight to the origin, or both? And how do you keep the bypass check from being flagged by bot protection?


r/ObservabilityOPS • • 6d ago

if you could only keep logs, metrics or traces for a month which one

1 Upvotes

hypothetical but it came up at work and people got way more heated than I expected

my vote is metrics. most of what I deal with is hosting, servers, certs, disk filling up, and I can usually tell somethings wrong from a graph before I ever need to dig. but someone else said logs without hesitating and had a good point about debugging stuff that doesnt show up as a number

traces people were outnumbered but very confident lol

which one and why. bonus if your answer changed after a specific incident


r/ObservabilityOPS • • 6d ago

whats the first thing you harden on a brand new server

1 Upvotes

setting up a few new servers this week and I realized my order of operations is basically whatever I remember first. ssh keys and disable password login is always early, then firewall, then updates, then I get distracted by the actual app

I know there are full checklists out there but im more curious what people do in the first 10 minutes before anything else touches the box. like what would you never skip even if you were in a hurry

also does anyone set up monitoring before the app goes on or after. I keep doing it after and then forgetting half of it


r/ObservabilityOPS • • 23d ago

Plugin auto updates on client WooCommerce stores how do you catch the one that breaks checkout?

2 Upvotes

I host a handful of WooCommerce stores for clients and auto updates are on for most plugins because the alternative options is that nothing gets updated at all. The last time it happened bcz of shipping plugin. After an overnight update the checkout page is loading fine but shipping options never appeared and nobody is able to place an order. The store owner noticed this while launching.

What I do now

  1. Plugin updates only run at 3am not at random times so I know when to look
  2. A recorded checkout journey runs every 15 minutes in Dotcom Monitor and goes up to the payment step with a test product
  3. The update log from WP-CLI goes to a file per site so when the journey fails I can see what changed that night

What I haven't solved is rolling back fast. Restoring a full backup for one plugin is slow. Do you keep the previous plugin versions around, use staging copy that updates first or just turn off auto-updates on stores entirely?


r/ObservabilityOPS • • 26d ago

What's on your checklist when a client says "the site is slow"?

3 Upvotes

"The site is slow" is the most common ticket I get from hosting clients, and it's also the least specific. It can be the server, a plugin, the client's own connection, or one page with a huge image.

This is the order I go through it on an Nginx and PHP-FPM box:

  1. Ask which page and roughly what time, because "everything" is usually one page
  2. Load the page from outside and compare time to first byte with the full load. A slow first byte points at PHP or the database, a fast first byte with a slow load points at assets or scripts
  3. Check the PHP-FPM status page for busy workers and the slow log for that time
  4. Look at the MySQL slow query log, mostly for WooCommerce stores
  5. Check whether a bot or crawler was hammering the site at that time in the access log

In most cases it ends at step 3 or 5. A plugin doing an uncached query on every page, or a crawler going through every filter combination on a shop page.

What does your list look like? And how do you explain to a client that it was their office wifi without it sounding like an excuse?


r/ObservabilityOPS • • 27d ago

PHP-FPM hitting max children vs slow response from outside

1 Upvotes

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?


r/ObservabilityOPS • • 28d ago

What I checked on each client server after the October PHP security updates

1 Upvotes

I run hosting for a set of client sites, mostly WordPress plus a few WooCommerce stores, on Nginx and PHP-FPM across six servers. When the PHP security releases came out on October 21 I patched everything that evening and I wanted one short list to run on every server so nothing was missed.

What I did on each server

  1. Checked every installed PHP version, not just the default. Two servers still had an old pool for one legacy client, and that one needed its own package.
  2. Restarted each PHP-FPM pool and checked the version from the web side, not only php -v, because the CLI and FPM packages are separate and can be on different builds.
  3. Watched the PHP and Nginx error logs for 15 minutes for fatal errors from plugins.
  4. Waited for a clean run of the checkout check on each store before moving to the next server. I have these running in Dotcom Monitor anyway for normal monitoring so it cost nothing extra.

The checkout step is the one that caught something. On one store add to cart failed for logged out visitors after the restart, because the page cache was serving pages with an expired nonce. Logged in, it worked fine for me, so I would not have seen it by clicking around.

What's on your list after a patch like this? I'm especially interested in how people handle servers they can't patch the same day.


r/ObservabilityOPS • • Oct 19 '26

How do you load test a server before moving client sites to it?

2 Upvotes

I run hosting for a set of client sites mostly WordPress and a few WooCommerce stores on Nginx and PHP-FPM. Last month I moved them from an older server to a new one and I wanted to know before the move whether the new server would hold up during the stores' busy hours.

What I did

  1. Copied two of the busiest stores to the new server on a temporary hostname.
  2. Recorded the normal shopper flow once: home page, a product, add to cart, checkout page.
  3. Ran it in steps of 25, 50 and 100 users, and watched PHP-FPM workers, MySQL slow queries and page load time while it ramped.

I want to run the flow in real browsers so I can analyze the page timings included the theme and plugin scripts, not just the server response so I used LoadView for this and the first thing that broke wasn't CPU. PHP-FPM ran out of workers at around 60 users and requests started queuing. Raising pm.max_children and adding page caching for logged out visitors fixed most of it.

If you don't need real browsers, k6 or JMeter against the main URLs gets you the server side for free.

How do you test before a migration? Do you load test at all or move one site first and watch it?


r/ObservabilityOPS • • Oct 19 '26

New sub for people who get paged.... what r/observabilityops is for

1 Upvotes

I run Linux servers and hosting for client sites, which means I get the 2am alerts. Most of them don't need anything from me. A few of them really matter and the hard part of the job is telling those apart quickly.

That's what this sub is about. Not which dashboard looks nicest, but the practical side of running production

what to alert on, what to log and what to throw away, how to find the cause when something slows down, how to test before a launch or a migration and how small teams do all of it without a dedicated SRE.

A few things that help here. Say how big your setup is when you ask something, because advice for three servers and three hundred is very different. Share what actually fixed it, even when the fix was boring. And if you work for a vendor, say so when you mention your product.

First question for everyone what is the noisiest alert you've ever had to live with and did you ever manage to fix it?

I'm also looking for one or two people to help moderate. Message me if that sounds like you.