Better Programming

Advice for programmers.

Follow publication

Member-only story

How To Troubleshoot Slow Linux Servers

Tate Galbraith
Better Programming
Published in
5 min readJan 6, 2022
Photo by Patrik Kernstock on Unsplash

Requests are taking forever. Latency times are increasing rapidly. Alerts are being sent over and over again. It's happening…

…One of your Linux machines is dying a slow, painful death.

We’ve all been there. It’s a nerve-wracking situation to be in.

Diagnosing a slow Linux server can be a tricky process. If you’re running a lot of production services, the potential problem area is ever-broadening. Is it CPU? Memory? Disk I/O?

In this article, we’ll look at the arsenal of tools you can use to get to the bottom of a lagging host. Locate those greedy resource hogs, restore peace and prosperity to your fiefdom of servers.

CPU usage over time with atop

Want to know absolutely everything you can about your system usage over time? Want it all jammed into one big window of glorious data? The atop program is for you.

Using atop on a Raspberry Pi. Swap is unhappy.

One of the many benefits of using atop is that it can record the performance of your host over time. By default, it will show you 10-second…

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Tate Galbraith
Tate Galbraith

Written by Tate Galbraith

Software Engineer @mixhalo & die-hard Rubyist. Amateur Radio operator with a love for old technology. Tweet at me: https://twitter.com/@Tate_Galbraith

Write a response