books
Free Books / Computers / Practical mod_perl /

previous page: 21.7. Hanging Processes: Detection and Diagnostics
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: 21.7.2. When a Process Might Hang

21.7.1. Hanging Because of an Operating System Problem




Description

This section is from the "Practical mod_perl" book, by Stas Bekman and Eric Cholet. Also available from Amazon: Practical mod_perl

Sometimes you can find a process hanging because of some kind of system problem. For example, if the processes was doing some disk I/O operation, it might get stuck in uninterruptible sleep ('D' disk wait in ps report, 'U' in top), which indicates either that something is broken in your kernel or that you're using NFS. Also, usually you find that you cannot kill -9 this process.

Another process that cannot be killed with kill -9 is a zombie process ('Z' disk wait in ps report, <defunc> in top), in which case the process is already dead and Apache didn't wait on it properly (of course, it can be some other process not related to Apache).

In the case of disk wait, you can actually get the wait channel from ps and look it up in your kernel symbol table to find out what resource it was waiting on. This might point the way to what component of the system is misbehaving, if the problem occurs frequently.

 

Continue to:

  • prev: 21.7. Hanging Processes: Detection and Diagnostics
  • Table of Contents
  • next: 21.7.2. When a Process Might Hang

Books by Stas Bekman:















TOP
previous page: 21.7. Hanging Processes: Detection and Diagnostics
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: 21.7.2. When a Process Might Hang

Topics

  • Animals
  • Architecture
  • Arts
  • Business
  • Computers
  • Crafts
  • Fairy Tales
  • Finance
  • Flora and Plants
  • Cooking
  • Gardening
  • Health and Healing
  • History
  • Home Improvements
  • Languages
  • New Age
  • Novels
  • Real Estate
  • Reference
  • Religion
  • Science
  • Society
  • Sports
  • Travel
  • Outdoors


Search

My Books

Headaches Begone! A Systemic Approach To Healing Your Headaches
Don't Let Your Bike Seat Ruin Your Sex Life Book

Discover

  • Answers FAQ

[ Privacy Policy | Terms of Use | About Us | Search ]

© 2007-2021 StasoSphere.com