HTML::Mason issues with mod_perl DSO ..?

I see in the RT docs that mod_perl, as a DSO, has some serious problems
(performance or otherwise).

I’m wondering if that issue is still applicable, and what the specific
issues are. The platform I’m running is FreeBSD-4.8. I posed this
statement to someone on the mod_perl mailing list, and they asked me to
elaborate on what the problems were.

I posted this to the masonhq list, but no response - they do have an older
entry in their FAQ (older, so uncertain about whether it’s still valid).

I’ve had a devil of a time getting mod_perl set up statically on FreeBSD
(perhaps my own mistakes), but have managed to get the DSO working, but
would rather do a static compile to avoid any scaling or performance issues.

Since this has to do with RT, specifically, I’m wondering if someone on
this list might know what the problem(s) are, etc.

Thanks,
Forrest

“FA” == Forrest Aldrich forrie@forrie.com writes:

FA> I’m wondering if that issue is still applicable, and what the specific
FA> issues are. The platform I’m running is FreeBSD-4.8. I posed this
FA> statement to someone on the mod_perl mailing list, and they asked me to
FA> elaborate on what the problems were.

The only issue I encounter in FreeBSD is a massive (~40Mb) memory
leak when doing a restart (SIGUSR1 or SIGHUP) of Apache. The
workaround is not do do that :wink: Seriously, just stop/start apache
instead and you’re golden. The mod_perl DSO runs perfectly fine and
pretty darned fast. If it weren’t I’d be in there hacking it up so
that it did work fine, and use my mod_perl commit priveleges to make
it distributed that way.

Of course, you still need to follow the suggestions in the most
excellently written (if I do say so myself…) mod_perl_tuning doc
that comes with it. My favorite way these days it to use mod_proxy
and mod_rewrite to selectively send requests back to the mod_perl
backend. For RT, you just send everything (no need for mod_rewrite)
and it works.

Vivek Khera, Ph.D. Khera Communications, Inc.
Internet: khera@kciLink.com Rockville, MD +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/

At Tue, 10 Jun 2003 13:38:16 -0400,
Forrest Aldrich wrote:

I see in the RT docs that mod_perl, as a DSO, has some serious problems
(performance or otherwise).

I believe that most of these issues are historical, and it should work
just fine now.

You’ll know if it isn’t working, because it will segfault.

-R