Practical mod_perl / HTML Book /



previous page: Chapter 14. Defensive Measures for Performance Enhancement
  
page up: HTML Version of the book
  
next page: 14.1.1. Defining the Minimum Shared Memory Size Threshold

14.1. Controlling Your Memory Usage


When you need to control the size of your httpd processes, use one of the two modules, Apache::GTopLimit and Apache::SizeLimit, which kill Apache httpd processes when those processes grow too large or lose a big chunk of their shared memory. The two modules differ in their methods for finding out the memory usage. Apache::GTopLimit relies on the libgtop library to perform this task, so if this library can be built on your platform you can use this module. Apache::SizeLimit includes different methods for different platforms—you will have to check the module's manpage to figure out which platforms are supported.

 

Continue to:

  • prev: Chapter 14. Defensive Measures for Performance Enhancement
  • Table of Contents
  • next: 14.1.1. Defining the Minimum Shared Memory Size Threshold







TOP
previous page: Chapter 14. Defensive Measures for Performance Enhancement
  
page up: HTML Version of the book
  
next page: 14.1.1. Defining the Minimum Shared Memory Size Threshold


Menu

  • HTML Book
  • PDF Book
  • Download Code
  • Table of Contents
  • Errata
  • mod_perl2 User's Guide
  • Sitemap

Search


Add to Google




Creative Commons License


Written by
Eric Cholet (Logilune) and
Stas Bekman (StasoSphere & Free Books).


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

© 2007 StasoSphere.com