Skip to Content
Web Performance Tuning, 2nd Edition
book

Web Performance Tuning, 2nd Edition

by Patrick Killelea
March 2002
Intermediate to advanced
482 pages
16h 11m
English
O'Reilly Media, Inc.
Content preview from Web Performance Tuning, 2nd Edition

Chapter 7. Reliability

It seems there are an infinite number of ways for a web site to break, making it difficult to systematically check all of them. The longer I work on web sites, the more surprised I am at the creativity of complex systems in finding ways to fail.

Typical Failures

I cannot make an exhaustive list here, so I’ll concentrate on the most common problems capable of crashing a web site. If you guard against these routine problems, the problems that eventually get you will be worthy opponents. If you find patterns of failure not mentioned here, please write . I would be interested to hear about them.

Disk Full

The most likely cause of a system failure is a full disk. A good system administrator will watch disk usage closely and offload to backup storage, such as tape, at regular intervals.

Log files use up disk space quickly. Web server log files, SQL*Net log files, JDBC log files, and application server log files are all the disk equivalents of memory leaks. One good preventative measure is to keep log files on a different filesystem from the operating system. The web server may still hang when the log filesystem is full, but the machine itself is less likely to hang.

Process Out of File Descriptors

If a web server or other critical process needs more file descriptors than are allotted to it, it will hang or give an error until it gets what it needs. File descriptors are used to keep track of open files and open sockets, both of which are critical ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Web Performance Tuning

Web Performance Tuning

Patrick Killelea
Web performance basics

Web performance basics

Maximiliano Firtman

Publisher Resources

ISBN: 059600172XErrata Page