Re: Strange (and varying!) number of CPUs in backhand status

Theo Schlossnagle <[email protected]> Fri, 22 Aug 2003 14:02:59 -0400
Newsgroups gmane.comp.apache.mod-backhand.general
Message-ID <[email protected]>
On Friday, Aug 22, 2003, at 01:24 US/Eastern, Andrew Ho wrote:
> When I request backhand status (via the backhand-handler handler), I 
> see a
> strange behavior where the "# CPUs" statistic changes over time, and is
> also entirely wrong (I see values in the range of 8-11 when there are 
> in
> fact only 2 CPUs on this test machine). Also, "# ready servers/# total
> servers" always shows 0/0, even though there are clearly Apache 
> children
> running and active.
>
> Is this a known behavior?

The 0/0 is documented in the FAQ.

> Information about my setup:
>
>     % uname -srm
>     SunOS 5.7 i86pc
>     % httpd -v | grep version
>     Server version: Apache/1.3.19 (Unix)
>
> I am using mod_backhand 1.2.2, with platform.c updated to revision 
> 1.23 so
> it would compile on Solaris. mod_backhand was compiled as a shared 
> module
> using the apxs build process.

What does psrinfo -v return?

It seems to work okay on my SunOS 5.9 i86pc box.

// Theo Schlossnagle
// Principal Engineer -- http://www.omniti.com/~jesus/
// Postal Engine -- http://www.postalengine.com/
// Ecelerity: fastest MTA on earth