The story below is an illustration, a composite of problems that many small tourism businesses meet, not a record of one real place. Imagine a family-run guesthouse near the Goa coast whose booking page runs on a rented Linux server. It is peak season. Every night, around the same hour, the page crawls and some guests see an error. By morning it recovers. Nobody can say why, and the owner’s nephew, who set up the site, is back in college. This is how a SysOps-minded helper might work through it.
The symptom, written down first
The helper does not touch the server yet. They write what is known: slowness at night, recovery by morning, worst at weekends when bookings spike. They also write what is unknown. The habit of recording before acting comes straight from the Ops Atlas, whose SysOps entry lists restart-first among the anti-patterns for the simple reason that a restart erases what you most need to see. Good diagnosis begins with a note, not a command.
Step one: take the quick vital signs
Next, a short run of standard commands: uptime and load, memory, disk space, the busiest processes, recent log errors. The Atlas points to a well-known one-minute sequence of ten commands, written up in 2015, as a template. The results are surprising. Load is high at night but the processors are not busy. Memory looks fine. Then the disk line shows the root filesystem at 97 percent.
A high load figure with idle processors is a classic clue, because the number also counts work stuck waiting on storage. The slow page is a symptom of a disk in trouble, not a shortage of processing power.
Step two: find what is eating the space
A size listing of directories shows two culprits. First, application logs have grown enormous, because the rotation setup truncates files in place and the weekly archive was never cleaned. Second, old backup archives are sitting beside the live site, piling up night after night. The helper recalls from the Atlas that disk percentages understate the danger; what counts is runway. With the rate of growth measured over a week, and the reserved portion of the filesystem subtracted, the server would have been full in under a fortnight, and the real danger date comes sooner than a glance at “97 percent” suggests.
Step three: why the night?
The timing puzzle remains. The helper lists scheduled jobs and finds an old cron entry for the nightly backup. Its command contains a date format with percent signs. Old-style scheduling treats a bare percent sign as the end of a line, which chops the command in two. The job has therefore been failing quietly for weeks, yet something else heavy runs at the same hour: a report export that rebuilds a large file and briefly fills the disk to the brim. When the disk is full, the database cannot write and guests meet errors.
Two lessons arrive together. A job that fails without telling anyone is worse than one that fails loudly, and a nightly peak on a nearly full disk is a recipe for exactly this symptom.
The fix, in order
- Free space safely. Delete only clearly obsolete archives, after copying the newest backup elsewhere. Do not delete anything that has not been identified.
- Repair the backup job. Move it to a systemd timer, where the percent-sign problem does not exist, and add a failure hook that sends a message when it breaks. The timer is set to catch up after downtime.
- Bound the logs. Set explicit size limits for the system journal and fix the rotation of application logs. The Atlas warns that truncating a live log in place can lose a very small time slice of data, so for important logs the helper chooses a rotation method that signals the application to reopen its file.
- Add a runway alert. A message goes out when fewer than fourteen days of space remain at the current growth rate.
- Prove a restore. A sample file is recovered from the newest backup and opened. Only then is the repair called complete, since a backup nobody has tried to restore remains only an assumption.
A second look at the numbers
It is worth pausing on why the first impression was misleading. Had the helper judged by processor graphs alone, they would have concluded the machine was healthy and perhaps suggested paying for a bigger plan. That would have cost money and fixed nothing, because a larger processor does not shrink a log file or repair a broken command. Diagnosis pays for itself by preventing the wrong purchase.
The helper also resisted a tempting shortcut. When the application began failing under the full disk, one suggestion was to protect the database by giving it the lowest possible chance of being killed under memory pressure. The Atlas notes that such an adjustment merely moves the kill to another process, and the real problem would have stayed in place.
What changed afterwards
The next weekend passes without errors. More interesting is what the owner learns. The helper leaves a one-page note: what runs on the server, who may log in, where backups go, how to read the four alerts, and what to do first if the page crawls again. Staff who handle bookings can read it. That small document may be worth more than the fix itself, because it moves the business from remembered tricks toward written practice, which is the first step on the maturity ladder in the Atlas.
Parallels from the guest side
Travellers do a similar thing without noticing. When they compare listings, they look past a single attractive photo and read the details. Guides such as the one about low-cost bohemian lodgings along the northern coast or the one on sociable beach hostels for solo visitors help guests do that comparison, and the businesses behind those listings depend on pages that load when the guest is ready to book.
The diagnostic pattern to keep
If you run a small stay or a tour desk, try the exercise on a quiet afternoon rather than during a crisis. Ask whoever hosts your site three questions: how much disk is left and how fast is it shrinking, which scheduled jobs exist and who hears when one fails, and when a restore was last tested. Frank answers to those three reveal your real exposure far better than a glossy dashboard does.
Strip away the specifics and the method is portable. Write the symptom and the unknowns. Collect vital signs before changing anything. Follow the resource that is waiting, not the one you assumed. Measure how long you have left, not just how full things are. Replace silent failures with noisy ones. Record the fix in plain language. None of it needs expensive software, and all of it works when the season is busiest and the margin for error is smallest.

Leave a Reply
You must be logged in to post a comment.