- ホーム
- > 洋書
- > 英文書
- > Computer / Operating Systems
Full Description
"If you're a developer trying to figure out why your application is not responding at 3 am, you need this book! This is now my go-to book when diagnosing production issues. It has saved me hours in troubleshooting complicated operations problems." -Trotter Cashion, cofounder, MashionDevOps can help developers, QAs, and admins work together to solve Linux server problems far more rapidly, significantly improving IT performance, availability, and efficiency. To gain these benefits, however, team members need common troubleshooting skills and practices.In DevOps Troubleshooting: Linux Server Best Practices, award-winning Linux expert Kyle Rankin brings together all the standardized, repeatable techniques your team needs to stop finger-pointing, collaborate effectively, and quickly solve virtually any Linux server problem. Rankin walks you through using DevOps techniques to troubleshoot everything from boot failures and corrupt disks to lost email and downed websites. You'll master indispensable skills for diagnosing high-load systems and network problems in production environments.Rankin shows how toMaster DevOps' approach to troubleshooting and proven Linux server problem-solving principlesDiagnose slow servers and applications by identifying CPU, RAM, and Disk I/O bottlenecksUnderstand healthy boots, so you can identify failure points and fix themSolve full or corrupt disk issues that prevent disk writesTrack down the sources of network problemsTroubleshoot DNS, email, and other network servicesIsolate and diagnose Apache and Nginx Web server failures and slowdownsSolve problems with MySQL and Postgres database servers and queriesIdentify hardware failures-even notoriously elusive intermittent failures
Contents
Preface xiii Acknowledgments xixAbout the Author xxiChapter 1: Troubleshooting Best Practices 1Divide the Problem Space 3Practice Good Communication When Collaborating 4Favor Quick, Simple Tests over Slow, Complex Tests 8Favor Past Solutions 9Document Your Problems and Solutions 10Know What Changed 12Understand How Systems Work 13Use the Internet, but Carefully 14Resist Rebooting 15Chapter 2: Why Is the Server So Slow? Running Out of CPU, RAM, and Disk I/O 17System Load 18Diagnose Load Problems with top 20Troubleshoot High Load after the Fact 29Chapter 3: Why Won't the System Boot? Solving Boot Problems 35The Linux Boot Process 36BIOS Boot Order 45Fix GRUB 47Disable Splash Screens 51Can't Mount the Root File System 51Can't Mount Secondary File Systems 55Chapter 4: Why Can't I Write to the Disk? Solving Full or Corrupt Disk Issues 57When the Disk Is Full 58Out of Inodes 61The File System Is Read-Only 62Repair Corrupted File Systems 63Repair Software RAID 64Chapter 5: Is the Server Down? Tracking Down the Source of Network Problems 67Server A Can't Talk to Server B 68Troubleshoot Slow Networks 78Packet Captures 83Chapter 6: Why Won't the Hostnames Resolve? Solving DNS Server Issues 93DNS Client Troubleshooting 95DNS Server Troubleshooting 98Chapter 7: Why Didn't My Email Go Through? Tracing Email Problems 119Trace an Email Request 120Understand Email Headers 123Problems Sending Email 125Problems Receiving Email 135Chapter 8: Is the Website Down? Tracking Down Web Server Problems 141Is the Server Running? 143Test a Web Server from the Command Line 146HTTP Status Codes 149Parse Web Server Logs 154Get Web Server Statistics 158Solve Common Web Server Problems 163Chapter 9: Why Is the Database Slow? Tracking Down Database Problems 171Search Database Logs 172Is the Database Running? 174Get Database Metrics 177Identify Slow Queries 182Chapter 10: It's the Hardware's Fault! Diagnosing Common Hardware Problems 185The Hard Drive Is Dying 186Test RAM for Errors 190Network Card Failures 191The Server Is Too Hot 192Power Supply Failures 194Index 197