Re: unexpected Apache::VMonitor output

[prev] [thread] [next] [Date index for 2005/01/21]

From: Stas Bekman
Subject: Re: unexpected Apache::VMonitor output
Date: 22:30 on 21 Jan 2005
Todd Finney wrote:
[...]
> Allow me to rephrase the question.  Looking at contemporaneous VMonitor 
> and ExtendedStatus reports (below), I don't know where to being 
> interpreting the differences between the two, or the fact that the 
> spurious processes show up in the former, but not the latter.
> 
> In the VMonitor listing, #11 and #16 are both supervise (daemontools) 
> processes.  Neither one of them appears in the ExtendedStatus listing, 
> though.  If VMonitor is getting its information from the scoreboard, and 
> ExtendedStatus isn't seeing them, where are they coming from?
> 
> VMonitor also isn't reporting any activity on children >13, whereas 
> ExtendedStatus is showing that they're in use.

Any chance you could compare the logic of mod_status and Apache::VMonitor 
and see why there is a difference? In order for me to debug that I need to 
be able to reproduce the problem. But it seems just fine (and it was like 
that for a quite a few years). I'd suspect that what you see is some 
process IDs that used to be use by Apache but now re-used by the OS, and 
the scoreboard gives the stale info. I see that mod_status has all kind of 
  freshness checks. May be Apache::VMonitor should do the same?

> One other question - In the VMonitor source, you have vhost information 
> disabled, and a comment that it's not available in the 1.3 scoreboard.  
> ExtendedStatus is reporting it, though.  Where is it getting it from, 
> and why can't VMonitor get to it.

I've just released Apache::Scoreboard 0.12 which exposes the vhost record 
for mod_perl 1, and the newly released Apache::VMonitor 2.02 uses that 
information.

        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

(message missing)

Re: unexpected Apache::VMonitor output
Todd Finney 10:38 on 14 Jan 2005

Re: unexpected Apache::VMonitor output
Stas Bekman 22:30 on 21 Jan 2005

Re: unexpected Apache::VMonitor output
Todd Finney 01:07 on 22 Jan 2005

Re: unexpected Apache::VMonitor output
Stas Bekman 01:37 on 22 Jan 2005

Re: unexpected Apache::VMonitor output
Todd Finney 01:54 on 22 Jan 2005

Re: unexpected Apache::VMonitor output
Stas Bekman 02:00 on 22 Jan 2005

Re: unexpected Apache::VMonitor output
Todd Finney 02:02 on 26 Jan 2005

Re: unexpected Apache::VMonitor output
Stas Bekman 02:18 on 29 Jan 2005

Re: unexpected Apache::VMonitor output
Todd Finney 02:43 on 29 Jan 2005

Re: unexpected Apache::VMonitor output
Stas Bekman 02:53 on 29 Jan 2005

Re: unexpected Apache::VMonitor output
Todd Finney 03:08 on 29 Jan 2005

Re: unexpected Apache::VMonitor output
Stas Bekman 03:16 on 29 Jan 2005

Re: unexpected Apache::VMonitor output
Stas Bekman 02:42 on 29 Jan 2005

Re: unexpected Apache::VMonitor output
Stas Bekman 02:48 on 29 Jan 2005

Generated at 12:39 on 05 Feb 2005 by mariachi v0.52