I am moving from Apache 1.3 to Apache 2.063, and it is difficult for me to work with Apache :: VMonitor .
I tried a setting similar to the way I installed it in my old Apache:
<Perl> use Apache::VMonitor(); $Apache::VMonitor::Config{BLINKING} = 1; $Apache::VMonitor::Config{refresh} = 0; $Apache::VMonitor::Config{verbose} = 1; $Apache::VMonitor::Config{system} = 1; $Apache::VMonitor::Config{apache} = 1; $Apache::VMonitor::Config{procs} = 1; $Apache::VMonitor::Config{mount} = 1; $Apache::VMonitor::Config{fs_usage} = 1; $Apache::VMonitor::Config{apache_sort_by} = 'vsize'; $Apache::VMonitor::PROC_REGEX = join "\|", qw(.*) </Perl> <Location /vmonitor> SetHandler perl-script PerlHandler Apache::VMonitor Order deny,allow Deny from all Allow from 127.0.0.1 Allow from XXXX
When I try to start my server, I get this error:
ap_scoreboard_image does not exist ...
I found a note in the Apache :: VMonitor documentation that says:
NOTE. For versions of Apache later than 2.0.53 (tested on 2.0.54, 2.0.55 and 2.0.58) loading Apache :: VMonitor in sections and / or PostConfigRequire files does not work due to a change when Apache initializes the scoreboard object.
The problem is that it does not say when I can initialize the scoreboard object in later versions of Apache. I tried to omit the "use" statement and get this error:
panic: del_backref during global destruction.
* Error code 255
Does anyone know how to do this? I'm not stuck with using Apache :: VMonitor, I'm open to suggestions if anyone can offer an alternative way to analyze and display data from the Apache scoreboard.
gpojd source share