strange problem,please help

2006-08-18 Thread LUKE
Then mod_perl still run the old program after i modify the code. Even restart apache or OS . I still got the old result! Why?  I must run fsck ?? The problem is filesystem Error? I often modify the code,but have no this problem before. How to trace the problem?  

ANNOUNCE: AxKit2 1.0

2006-08-18 Thread Matt Sergeant
Throughout your career you will be asked to make many presentations. The purpose of a presentation is to transfer resources away from accomplishing objectives and concentrate them on explaining how well you're doing. -- Scott Adams "The Dilbert Principle" It took

Re: ModPerl::RegistryLoader doesn't compile from the command line

2006-08-18 Thread Max Kanat-Alexander
On Fri, 2006-08-18 at 14:03 -0400, Perrin Harkins wrote: > You can't do that. These are APIs to apache internals. They don't work > without the httpd environment. Ah, okay. Thanks for the explanation. Changing it to Apache2::ServerUtil->server_root would probably at least make it work at

Re: mod_perl comforts

2006-08-18 Thread Perrin Harkins
On Fri, 2006-08-18 at 13:27 -0500, Frank Wiles wrote: > It doesn't precompile them, so you do take the first hit per template, > but not per apache child. Because you can store a compiled version > of the template on disk where the other children can see it. To explain a bit further, there

Re: mod_perl comforts

2006-08-18 Thread Frank Wiles
On Thu, 17 Aug 2006 22:54:56 +0100 Joel Bernstein <[EMAIL PROTECTED]> wrote: > On Thu, Aug 17, 2006 at 04:50:46PM -0500, Frank Wiles wrote: > > On Thu, 17 Aug 2006 16:54:08 -0400 > > Jonathan Vanasco <[EMAIL PROTECTED]> wrote: > > > > > > > > On Aug 17, 2006, at 1:09 PM, Perrin Harkins wrote: >

Re: ModPerl::RegistryLoader doesn't compile from the command line

2006-08-18 Thread Perrin Harkins
On Fri, 2006-08-18 at 11:00 -0700, Max Kanat-Alexander wrote: > This is not a problem when Apache uses the module, only when you try to > compile a command-line script that uses ModPerl::RegistryLoader. You can't do that. These are APIs to apache internals. They don't work without the http

ModPerl::RegistryLoader doesn't compile from the command line

2006-08-18 Thread Max Kanat-Alexander
From any command line, try: perl -MModPerl::RegistryLoader At least in 2.0.1, that causes this error: Bareword "Apache2::ServerUtil::server_root" not allowed while "strict subs" in use at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/ModPerl/RegistryL

Re: Memory leak in mod_perl?

2006-08-18 Thread Perrin Harkins
On Fri, 2006-08-18 at 19:35 +0200, Andreas Rieke wrote: > as the memory is even gone after apache with mod_perl has been stopped, > I do not think that this really helps. I do know that the kernel should > recover all the memory when processes stop even if these did not free > the memory, thus it s

Re: Memory leak in mod_perl?

2006-08-18 Thread Andreas Rieke
Perrin Harkins wrote: >On Fri, 2006-08-18 at 12:24 +0200, Andreas Rieke wrote: > > >>it runs well using about 300 M of 1 G physical RAM. >>However, the remaining RAM decreases day by day, and after 2 or 3 >>weeks, the machine crashes because swapping takes too much time. >>However, all processes

Re: Memory leak in mod_perl?

2006-08-18 Thread Andreas Rieke
Clinton Gormley wrote: >On Fri, 2006-08-18 at 12:24 +0200, Andreas Rieke wrote: > > >>Hi, >> >> >> > > > >>The strange thing is that all the memory is gone even after stopping all >>apache processes. >>The only thing which helps is to reboot the machine. >> >> >> > >Hi Andreas > >Not m

Re: Memory leak in mod_perl?

2006-08-18 Thread Jonathan Vanasco
Are you using the RH / SuSE versions of mp/apache and postgres ? Or did you compile your own? I my experience, on those systems its best to compile your own. The packages are often way out of date and have issues that have been solved. I've found that running Postgres and MP on the same

Re: Memory leak in mod_perl?

2006-08-18 Thread Philip M. Gollucci
Perrin Harkins wrote: On Fri, 2006-08-18 at 12:24 +0200, Andreas Rieke wrote: it runs well using about 300 M of 1 G physical RAM. However, the remaining RAM decreases day by day, and after 2 or 3 weeks, the machine crashes because swapping takes too much time. However, all processes together tak

Re: Memory leak in mod_perl?

2006-08-18 Thread Perrin Harkins
On Fri, 2006-08-18 at 12:24 +0200, Andreas Rieke wrote: > it runs well using about 300 M of 1 G physical RAM. > However, the remaining RAM decreases day by day, and after 2 or 3 > weeks, the machine crashes because swapping takes too much time. > However, all processes together take about 250 MByte

Re: Not able to install mod_perl - Need Help

2006-08-18 Thread Randy Kobes
On Fri, 18 Aug 2006, Poonam Pahil wrote: I had tried this as well but mod_perl is not able to find apxs or apr-config. I used apache_2.2.3-win32-x86-no_ssl.msi for installing apache binary. Am I missing something? Here are the logs: C:\perl_mods\mod_perl-2.0.2>perl Makefile.PL no conflicting

Re: Using "switch" in section.

2006-08-18 Thread Malcolm J Harwood
On Friday 18 August 2006 08:17 am, Elizabeth Mattijsen wrote: > Source filters don't work in mod_perl. Period. That's not entirely true. I use Data::Dumper::Simple which is a source filter and don't have any problems with it. It might not be recommended, but it's not an absolute "will not work"

Re: Using "switch" in section.

2006-08-18 Thread Elizabeth Mattijsen
Source filters don't work in mod_perl. Period. Because source filters don't work in string evals, and that's what mod_perl is basically doing everywhere. Liz == At 1:15 PM +0200 8/18/06, Hendrik Van Belleghem wrote: Switch is a source filter, w

Re: Memory leak in mod_perl?

2006-08-18 Thread Clinton Gormley
On Fri, 2006-08-18 at 12:24 +0200, Andreas Rieke wrote: > Hi, > > The strange thing is that all the memory is gone even after stopping all > apache processes. > The only thing which helps is to reboot the machine. > Hi Andreas Not my field of expertise, but this sounds like a kernel problem, o

Re: Not able to install mod_perl - Need Help

2006-08-18 Thread Tom Schindl
Hi, did you really read the documents i referenced? I think not because you do not need to compile mod-perl your own but you could use the prepared ppm if you are running ActiveState Perl. Please read this link! http://perl.apache.org/docs/1.0/os/win32/install.html#PPM_Packages If this is not wo

Re: Using "switch" in section.

2006-08-18 Thread Hendrik Van Belleghem
Hey, Switch is a source filter, which basically means that the module will read the script source file and change it before executing. Switch will transform those 'case' statements into a bunch of elsif blocks. I assume Switch will have a hard time interpreting the httpd.conf file. I'm not sure h

Re: Not able to install mod_perl - Need Help

2006-08-18 Thread Poonam Pahil
I had tried this as well but mod_perl is not able to find apxs or apr-config. I used apache_2.2.3-win32-x86-no_ssl.msi for installing apache binary. Am I missing something?   Here are the logs:   C:\perl_mods\mod_perl-2.0.2>perl Makefile.PL no conflicting prior mod_perl version found - good. Next w

Re: Not able to install mod_perl - Need Help

2006-08-18 Thread Tom Schindl
Why do you compile Apache your own? There are precompiled binaries available and mod-perl is loaded as shared object. Compiling on win32 is not the easiest thing and static builds of mod-perl are not that well tested even on *nix platforms. Get Apache: http://httpd.apache.org/download.cgi Tom Po

Memory leak in mod_perl?

2006-08-18 Thread Andreas Rieke
Hi, after booting a redhat enterprise linux 3 machine with apache 2.0.58, perl 5.8.8 and mod_perl 2.0.2, it runs well using about 300 M of 1 G physical RAM. However, the remaining RAM decreases day by day, and after 2 or 3 weeks, the machine crashes because swapping takes too much time. However, a

Re: Not able to install mod_perl - Need Help

2006-08-18 Thread Poonam Pahil
Thanks for the quick reply Tom. the error is showing up when apache is being built. I tried building apache independently.Its still giving the same error.   Thanks Poonam  On 8/18/06, Tom Schindl <[EMAIL PROTECTED]> wrote: To use mod-perl on win32 I'd suggest that you  use the ppm packagesprovided

Using "switch" in section.

2006-08-18 Thread Krist van Besien
Hello, this is my first post to the mod_perl mailing list. I have been using mod_perl for about a week now. I do however have quite a few years Perl scripting experience. What I am trying to do is: Make one httpd.conf that will be suitable for all of our servers. We have about 20 (and growing) a