HTML::Mason 1.15 with RT 2.0.15 spins CPU

Just a heads up, it looks using HTML::Mason 1.15 has a side
effect that Apache uses all available CPU cycles when I point
my browser at my local RT 2.0.15. installation’s home page.
The RT page never loads.

To make certain it’s Mason 1.15, I installed HTML::Mason 1.14
into the same Perl installation, stopped and started Apache and
RT loaded just fine. Installing 1.15 again, restarting Apache
caused the same spin problem.

This is on RedHat 8.0 with Apache 1.3.27 and mod_perl 1.27.

top

PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
6429 root 15 0 15124 14M 15008 S 96.4 5.9 1:12 httpd1

Attaching strace to the process didn’t show a whole lot:

strace -p 6429

select(0, NULL, NULL, NULL, {0, 775341}) = 0 (Timeout)
time(NULL) = 1034637776
wait4(-1, 0xbfffade4, WNOHANG, NULL) = 0
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
time(NULL) = 1034637777
wait4(-1, 0xbfffade4, WNOHANG, NULL) = 0
select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
time(NULL) = 1034637778

Best,
Blair

Blair Zajac blair@orcaware.com
Web and OS performance plots - http://www.orcaware.com/orca/

Blair Zajac wrote:

Just a heads up, it looks using HTML::Mason 1.15 has a side
effect that Apache uses all available CPU cycles when I point
my browser at my local RT 2.0.15. installation’s home page.
The RT page never loads.

To make certain it’s Mason 1.15, I installed HTML::Mason 1.14
into the same Perl installation, stopped and started Apache and
RT loaded just fine. Installing 1.15 again, restarting Apache
caused the same spin problem.

Forget it, I got the same problem with 1.14, it just happens
later when browsing RT.

The problem turned out to be some new Apache configuration stuff
I was trying out.

Best,
Blair

Blair Zajac blair@orcaware.com
Web and OS performance plots - http://www.orcaware.com/orca/