in reply to CPU Usage by VirtualHost

Check out merlyn's Stonehenge::Throttle.

Replies are listed 'Best First'.
Re^2: CPU Usage by VirtualHost
by tdevil76 (Beadle) on Jun 11, 2007 at 03:30 UTC
    Stonehenge::Throttle uses the same /proc/pid/stats that I've been using ...
      What makes you think they don't get updated until after the request completes?
        I've checked using a combination of the exact same thing Stonehenge::Throttle does (in fact, that module would have saved me a bunch of development time!), plus the apache server-status directive, command line ps on the server, and a test script that uses lots of cpu....