Re: Apache::VMonitor problem

2002-04-26 Thread Richard Titmuss


Stas Bekman wrote:

 Richard Titmuss wrote:

 Hi,

 I am trying to setup Apache::VMonitor on a mod-perl enabled server. 
 The page is returned OK but some of the information seem corrupt. The 
 following is an example of the output which I get:

  ##PID M Elapsed LastReq Srvd  Size Share VSize   Rss   
 ClientRequest (first 64 chars)
   5: 22691 1  0.000s 8.34d 60K 16.1M 14.8M 19.5M 16.1M   
 127.0.0.2 GET /sys-monitor


 The 'M', 'Elapsed', 'LastReq' and 'Srvd' columns are not returning 
 sensible values. I'd only just started this server so the last 
 request cannot have taken 8days!

 It appears the the apache scoreboard is not being read correctly. Can 
 anyone help?


 Well as you've probably figured out it's not an Apache::VMonitor 
 problem, since it doesn't do much but reading the data from 
 Apache::Scoreboard and formatting it nicely.

 Does your mod_status show valid data in the extended mode? Id not it's 
 an apache problem. 

I've checked mod_status and the results are displayed correctly. Does 
this mean that it is an Apache::Scoreboard problem? I've tried 
recompiling both apache and Apache::Scoreboard but this does not help. 
Any ideas?

Thanks,
Richard





Apache::VMonitor problem

2002-04-25 Thread Richard Titmuss

Hi,

I am trying to setup Apache::VMonitor on a mod-perl enabled server. The 
page is returned OK but some of the information seem corrupt. The 
following is an example of the output which I get:

  ##PID M Elapsed LastReq Srvd  Size Share VSize   Rss   Client 
Request (first 64 chars)
   5: 22691 1  0.000s 8.34d 60K 16.1M 14.8M 19.5M 16.1M   127.0.0.2 
GET /sys-monitor


The 'M', 'Elapsed', 'LastReq' and 'Srvd' columns are not returning 
sensible values. I'd only just started this server so the last request 
cannot have taken 8days!

It appears the the apache scoreboard is not being read correctly. Can 
anyone help?

I'm using
 apache_1.3.22
 Apache-Scoreboard-0.10
 Apache-VMonitor-0.6

Thanks,
Richard





Re: [Slightly OT] IPC::Open3 broken in mod_perl/perl 5.6.0?

2000-04-17 Thread Richard Titmuss

Hi,

I have also had this problem. I checked the modperl-cvs archive and this
problem has been fixed in the development release.

I still have an problem using IPC::Open2. This can be demonstrated by:

use IPC::Open2;
$pid = open2(\*A, \*B, '/usr/bin/ls');

The error log shows:

[error] Can't locate object method "FILENO" via package "Apache" at
/usr/local/lib/perl5/5.6.0/IPC/Open3.pm line 183.

I do not understand enough about the perl/mod-perl guts to produce a
patch. Any help appreciated.

Thanks,
Richard

-- 
Richard Titmuss Email: [EMAIL PROTECTED]
B55 Rm122, BT Laboratories  
Martlesham HeathTel:   +44 (0)1473 640306
Ipswich, Suffolk, IP5 3RE, UK   Fax:   +44 (0)1473 646885