Mailing List Archive

Strange (and varying!) number of CPUs in backhand status
Hello,

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?

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.

Humbly,

Andrew

----------------------------------------------------------------------
Andrew Ho http://www.tellme.com/ andrew@tellme.com
Engineer 1-800-555-TELL Voice 650-930-9062
Tellme Networks, Inc. Fax 650-930-9101
----------------------------------------------------------------------
Strange (and varying!) number of CPUs in backhand status [ In reply to ]
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
Strange (and varying!) number of CPUs in backhand status [ In reply to ]
Hello,

AH>Information about my setup:
AH> % uname -srm
AH> SunOS 5.7 i86pc
AH> % httpd -v | grep version
AH> Server version: Apache/1.3.19 (Unix)

TS>What does psrinfo -v return?
TS>It seems to work okay on my SunOS 5.9 i86pc box.

This is a dual PIII box.

% psrinfo -v
Status of processor 0 as of: 08/22/03 11:21:22
Processor has been on-line since 08/02/03 16:28:37.
The i386 processor operates at 708 MHz,
and has an i387 compatible floating point processor.
Status of processor 1 as of: 08/22/03 11:21:22
Processor has been on-line since 08/02/03 16:28:37.
The i386 processor operates at 708 MHz,
and has an i387 compatible floating point processor.

Humbly,

Andrew

----------------------------------------------------------------------
Andrew Ho http://www.tellme.com/ andrew@tellme.com
Engineer 1-800-555-TELL Voice 650-930-9062
Tellme Networks, Inc. Fax 650-930-9101
----------------------------------------------------------------------