embperl

2001-09-07 Thread Diego V
Hi there, Just wanted to ask to any embperl user, is there any real advantage about using embperl instead of PHP ? Thank you Diego Ventrice _ Descargue GRATUITAMENTE MSN Explorer en http://explorer.msn.es/intl.asp

Re: embperl

2001-09-07 Thread iain truskett
* Diego V ([EMAIL PROTECTED]) [07 Sep 2001 06:59]: [...] Just wanted to ask to any embperl user, is there any real advantage about using embperl instead of PHP ? You get the advantage of using Perl rather than PHP. This includes the vast resources of CPAN. Personally, I recommend Mason

Re: memory leaking with closures

2001-09-07 Thread Alex Krohn
Hi, With this simple test script: print Content-type: text/html\n\n; my $var = 'x' x 50; our $var = 'x' x 50; my $sub = sub { my $sub2 = sub { $var; }; }; print Done\n; $var does not get freed, and the process grows each request. Has anyone seen this sort of

Re: embperl

2001-09-07 Thread Jim Cox
This will sould like sour grapes,. But! Since PHP module compiles,... and Mod_Perl will not on AIX with gcc compiler I'm thinkin' PHP is getting better and better all the time. iain truskett wrote: * Diego V ([EMAIL PROTECTED]) [07 Sep 2001 06:59]: [...] Just wanted to ask

Re: embperl

2001-09-07 Thread iain truskett
* Jim Cox ([EMAIL PROTECTED]) [07 Sep 2001 08:03]: This will sould like sour grapes,. But! Since PHP module compiles,... and Mod_Perl will not on AIX with gcc compiler I'm thinkin' PHP is getting better and better all the time. It's all a case of use what works =) There's

Re: embperl

2001-09-07 Thread Jens-Uwe Mager
On Mon, May 07, 2001 at 02:44:13AM -0500, Jim Cox wrote: This will sould like sour grapes,. But! Since PHP module compiles,... and Mod_Perl will not on AIX with gcc compiler As far as I have heard mod_perl will compile using gcc, only you must first compile your perl with gcc.

Re: embperl

2001-09-07 Thread Jim Cox
Well,... Now that makes some sense. I'll try that. Thanks. Jens-Uwe Mager wrote: On Mon, May 07, 2001 at 02:44:13AM -0500, Jim Cox wrote: This will sould like sour grapes,. But! Since PHP module compiles,... and Mod_Perl will not on AIX with gcc compiler As far as I

Re: memory leaking with closures

2001-09-07 Thread Stas Bekman
On Fri, 7 Sep 2001, Alex Krohn wrote: Hi, With this simple test script: print Content-type: text/html\n\n; my $var = 'x' x 50; our $var = 'x' x 50; my $sub = sub { my $sub2 = sub { $var; }; }; print Done\n; $var does not get freed, and the process

tracing memory problem

2001-09-07 Thread Jon Molin
Hi list, I have a memory leak in a script or module, the problem is that i've resently added many scripts and modules and can't easily isolate the problem. Is there a way besides strace to see what the httpd process is up to? 9869 httpd 0 0 21188 19M 2424 S 0 12.2 3.8 0:13

Re: tracing memory problem

2001-09-07 Thread Stas Bekman
On Fri, 7 Sep 2001, Jon Molin wrote: Hi list, I have a memory leak in a script or module, the problem is that i've resently added many scripts and modules and can't easily isolate the problem. Is there a way besides strace to see what the httpd process is up to? 9869 httpd 0 0

Re: tracing memory problem

2001-09-07 Thread Jon Molin
Stas Bekman wrote: On Fri, 7 Sep 2001, Jon Molin wrote: Hi list, I have a memory leak in a script or module, the problem is that i've resently added many scripts and modules and can't easily isolate the problem. Is there a way besides strace to see what the httpd process is up

Re: tracing memory problem

2001-09-07 Thread Stas Bekman
On Fri, 7 Sep 2001, Jon Molin wrote: Stas Bekman wrote: On Fri, 7 Sep 2001, Jon Molin wrote: Hi list, I have a memory leak in a script or module, the problem is that i've resently added many scripts and modules and can't easily isolate the problem. Is there a way besides

Problem on modperl-1.26

2001-09-07 Thread Kevin LEE
Hi list: I try to staticallly compile modperl-1.26 into apache-1.3.20 but I get the following compile error when I compile apache-1.3.20: modules/perl/libperl.a(mod_perl_opmask.o): In function `mod_perl_set_opmask': mod_perl_opmask.o(.text+0x1f): undefined reference to `Perl_croak' ***

Re: tracing memory problem

2001-09-07 Thread Perrin Harkins
ok, i'll look into that. I've been using RLimitMEM and RLimitCPU One thing to be aware of is that using rlimit will kill your process harshly when it goes over the limit. It's better to use Apache::SizeLimit for basic size control, and use rlimit as a backup safety measure to catch runaway

Re: memory leaking with closures

2001-09-07 Thread Perrin Harkins
Oddly, if you just do my $sub = sub { $var; }; it does not grow, definately something strange going on. Happens on perl 5.004_04, 5.005_03 and 5.6.1. You mean this works for you?: while (1) { { my $var = 'x' x 50; my $sub = sub { $var;

Re: embperl

2001-09-07 Thread Perrin Harkins
Just wanted to ask to any embperl user, is there any real advantage about using embperl instead of PHP ? If you want a high-level summary of Embperl features, you could take a look at my article on perl.com: http://www.perl.com/pub/a/2001/08/21/templating.html - Perrin

Apache::ConfigFile just uploaded

2001-09-07 Thread Nathan Wiger
Hey all- So, about 2 years after I originally discussed it here, I finally put the finishing touches on Apache::ConfigFile and uploaded it to CPAN. It is available in my CPAN directory: http://www.cpan.org/authors/id/N/NW/NWIGER/ This modules does the following: - Gives you offline

Re: Help w/ install [ActivePerl,W2K Server,Apache 1.3.20]

2001-09-07 Thread Issac Goldstand
Possible you need an AddModule mod_perl.c line in there somewhere... I'm not such an experienced module-user with Apache for Win32... Issac PGP Key 0xE0FA561B - Fingerprint: 7E18 C018 D623 A57B 7F37 D902 8C84 7675 E0FA 561B - Original Message - From: Brice D Ruth [EMAIL PROTECTED]

Re: Info required

2001-09-07 Thread Jeremy Howard
Medi Montaseri wrote: Having said thatI recommend Writing Apache Modules with Perl and C known as the 'eagle book'. See Chapter 3, 'The Apache Module Architecture and API' and for a quick feeling, see Figure 3-3, page 60, The Request Loop. Of course I'm new to mod_perl, so if Pokymon

ANNOUNCE: Apache::OpenIndex

2001-09-07 Thread George Sanderson
Back on 13 Dec 00, I posted the creation of module Apache::FileMan.pm. Today, I ANNOUNCE that Apache::FileMan has been renamed to Apache::OpenIndex. The name change was made because, several software applications go by the same name, one of which, provides the same basic functionality. The

segfault

2001-09-07 Thread Bob Mroczka
I just compiled and installed Apache 1.3.20 with mod_perl 1.26 and mod_ssl-2.8.4. Apache segfaults almost immediately on all requests. For kicks I compiled Apache without mod_ssl and the segfaults disappear. Also interesting is the fact that when I compile without mod_ssl make test completes

Re: segfault

2001-09-07 Thread Stas Bekman
On Fri, 7 Sep 2001, Bob Mroczka wrote: I just compiled and installed Apache 1.3.20 with mod_perl 1.26 and mod_ssl-2.8.4. Apache segfaults almost immediately on all requests. For kicks I compiled Apache without mod_ssl and the segfaults disappear. Also interesting is the fact that when

RE: memory leaking with closures

2001-09-07 Thread Arthur Bergman
On Fri, Sep 07, 2001 at 12:27:58AM -0700, Alex Krohn wrote: while (1) { { my $var = 'x' x 50; my $sub = sub { my $sub2 = sub { $var; } }; } # $var and $sub should be gone, but memory is never freed sleep 1; # Don't crash things =) } will grow forever it does not

SV: memory leaking with closures

2001-09-07 Thread Arthur Bergman
On Fri, 07 Sep 2001 18:06:17 +0200, Arthur Bergman wrote: On Fri, Sep 07, 2001 at 12:27:58AM -0700, Alex Krohn wrote: while (1) { { my $var = 'x' x 50; my $sub = sub { my $sub2 = sub { $var; } }; } # $var and $sub should be gone, but memory is never freed sleep 1; #

Re: memory leaking with closures

2001-09-07 Thread Barrie Slaymaker
On Fri, Sep 07, 2001 at 12:27:58AM -0700, Alex Krohn wrote: while (1) { { my $var = 'x' x 50; my $sub = sub { my $sub2 = sub { $var; } }; } # $var and $sub should be gone, but memory is never freed sleep 1; # Don't crash things =) }

Re: memory leaking with closures

2001-09-07 Thread Gurusamy Sarathy
On Fri, 07 Sep 2001 18:06:17 +0200, Arthur Bergman wrote: On Fri, Sep 07, 2001 at 12:27:58AM -0700, Alex Krohn wrote: while (1) { { my $var = 'x' x 50; my $sub = sub { my $sub2 = sub { $var; } }; } # $var and $sub should be gone, but memory is never freed sleep 1; # Don't crash