books
Free Books / Computers / Practical mod_perl /

previous page: 14.1.2. Defining the Maximum Memory Size Threshold
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: 14.2. Coding for a Smaller Memory Footprint

14.1.3. Defining the Maximum Unshared Memory Size Threshold




Description

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

Instead of setting the shared and total memory usage thresholds, you can set a single threshold that measures the amount of unshared memory by subtracting the shared memory size from the total memory size.

Both modules allow you to set the thresholds in similar ways. With Apache::GTopLimit, you can set the unshared memory threshold server-wide with:

$Apache::GTopLimit::MAX_PROCESS_UNSHARED_SIZE = 6144;

and locally for a handler with:

Apache::GTopLimit->set_max_unshared_size(6144);

If you are using Apache::SizeLimit, the corresponding settings would be:

$Apache::SizeLimit::MAX_UNSHARED_SIZE = 6144;

and:

Apache::SizeLimit->setmax_unshared(6144);

 

Continue to:

  • prev: 14.1.2. Defining the Maximum Memory Size Threshold
  • Table of Contents
  • next: 14.2. Coding for a Smaller Memory Footprint

Books by Stas Bekman:















TOP
previous page: 14.1.2. Defining the Maximum Memory Size Threshold
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: 14.2. Coding for a Smaller Memory Footprint

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