Re: DSO Issues

2001-11-28 Thread Vivek Khera

 JC == John Chia [EMAIL PROTECTED] writes:

JC On 27 November 2001 15:17 (-0500), Vivek Khera wrote:
 The *only* issue I encounter is a massive memory leak upon SIGHUP or
 SIGUSR to apache. 

JC Hm.  I only get memory leaks if PerlFreshRestart is enabled and I SIGHUP
JC it.

Perl 5.005_03 has the leaks no matter what.  And with DSO,
PerlFreshStart is a no-op, since you get a fresh perl no matter what.

One of these days I'll take the time to migrate to 5.6.1 and then
regression test my whole app, which ain't easy to do on a web-based
interactive system where you have hundreds of options to test in
combination.



Re: DSO Issues

2001-11-28 Thread Daniel Jacobowitz

On Wed, Nov 28, 2001 at 10:34:00AM -0500, Vivek Khera wrote:
  SR == Stephen Reppucci [EMAIL PROTECTED] writes:
 
 SR If we're collecting a list of things that don't work in a DSO
 SR build, add perl subs (via !--#perl sub=My::handler--).
 
 SR At least, they didn't work as of January of this year.
 
 Doubtful that they ever will, either, since that introduces a
 dependency on mod_perl into mod_include.  Both have to be linked
 together (ie, statically) for that to work.

Not really, you can do it with just module DT_NEEDED depends.  It does
mean you have to build them together and load in the right order.

-- 
Daniel Jacobowitz   Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer



Re: DSO Issues

2001-11-28 Thread Vivek Khera

 SR == Stephen Reppucci [EMAIL PROTECTED] writes:

SR If we're collecting a list of things that don't work in a DSO
SR build, add perl subs (via !--#perl sub=My::handler--).

SR At least, they didn't work as of January of this year.

Doubtful that they ever will, either, since that introduces a
dependency on mod_perl into mod_include.  Both have to be linked
together (ie, statically) for that to work.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/



DSO Issues

2001-11-27 Thread David Wheeler

Hi All,

While it seems to be well-known anecdotally that one should never use a
DSO install of mod_perl (particularly among Mason developers), is there
yet any place where all the known issues surrounding the use of DSO
mod_perl are documented? I see a place in the guide where Stas mentions
issues with mymalloc and such, but I also saw a post from a few months
ago where he'd asked for someone with extensive experience with DSO
installs to come forward and discuss the known issues. Did this ever
come about?

Thanks!

David
-- 
David Wheeler AIM: dwTheory
[EMAIL PROTECTED] ICQ: 15726394
   Yahoo!: dew7e
   Jabber: [EMAIL PROTECTED]




RE: DSO Issues

2001-11-27 Thread Christian Gilmore

Ditto. DSO makes my life so much better in terms of portability and
administratability that having my services down for a few seconds during a
log rotation is certainly worth it.

Regards,
Christian

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Vivek Khera
 Sent: Tuesday, November 27, 2001 2:17 PM
 To: [EMAIL PROTECTED]
 Subject: Re: DSO Issues


  DW == David Wheeler [EMAIL PROTECTED] writes:

 DW While it seems to be well-known anecdotally that one
 should never use a
 DW DSO install of mod_perl (particularly among Mason
 developers), is there
 DW yet any place where all the known issues surrounding the
 use of DSO

 The *only* issue I encounter is a massive memory leak upon SIGHUP or
 SIGUSR to apache.  The amount of leakage depends on my particular
 application.  Having a DSO makes it much easier for me to administer
 (having multiple instances of apache running on the same machine, some
 with and some without mod_perl), so I live with it and do a full
 stop/restart instead of SIGHUP to rotate logs.

 --
 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Vivek Khera, Ph.D.Khera Communications, Inc.
 Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497
 AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/





Re: DSO Issues

2001-11-27 Thread John Chia

On 27 November 2001 15:17 (-0500), Vivek Khera wrote:
 The *only* issue I encounter is a massive memory leak upon SIGHUP or
 SIGUSR to apache. 

Hm.  I only get memory leaks if PerlFreshRestart is enabled and I SIGHUP
it.

-- 
john chia [EMAIL PROTECTED]  starnix inc.
tollfree: 1-87-pro-linuxthornhill, ontario, canada
http://www.starnix.com  professional linux services  products



Re: DSO Issues

2001-11-27 Thread Vivek Khera

 DW == David Wheeler [EMAIL PROTECTED] writes:

DW While it seems to be well-known anecdotally that one should never use a
DW DSO install of mod_perl (particularly among Mason developers), is there
DW yet any place where all the known issues surrounding the use of DSO

The *only* issue I encounter is a massive memory leak upon SIGHUP or
SIGUSR to apache.  The amount of leakage depends on my particular
application.  Having a DSO makes it much easier for me to administer
(having multiple instances of apache running on the same machine, some
with and some without mod_perl), so I live with it and do a full
stop/restart instead of SIGHUP to rotate logs.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/



Re: DSO Issues

2001-11-27 Thread Stephen Reppucci


If we're collecting a list of things that don't work in a DSO
build, add perl subs (via !--#perl sub=My::handler--).

At least, they didn't work as of January of this year.

On Tue, 27 Nov 2001, John Chia wrote:

 On 27 November 2001 15:17 (-0500), Vivek Khera wrote:
  The *only* issue I encounter is a massive memory leak upon SIGHUP or
  SIGUSR to apache.

 Hm.  I only get memory leaks if PerlFreshRestart is enabled and I SIGHUP
 it.



-- 
Steve Reppucci   [EMAIL PROTECTED] |
Logical Choice Software  http://logsoft.com/ |
=-=-=-=-=-=-=-=-=-=-  My God!  What have I done?  -=-=-=-=-=-=-=-=-=-=