Re: HTML::Template::Compiled

2005-08-30 Thread Octavian Rasnita
Hi, As a feedback, I have seen that HTML::Template::JIT also works under Windows even though "nmake test" give errors. Teddy - Original Message - From: "Sam Tregar" <[EMAIL PROTECTED]> To: "jonathan vanasco" <[EMAIL PROTECTED]> Cc: "Perrin Harkins" <[EMAIL PROTECTED]>; "Octavian Rasnita

Re: maintaining shared memory size

2005-08-30 Thread Badai Aqrandista
Okay, so it's slow because it does a lot of work. How does it do this search? Is it a bunch of SQL queries, or a request to a remote server of some other kind, or an internal calculation? Is there some possible caching you can do? Lots of SQL queries and calculation based on the query resul

Re: maintaining shared memory size

2005-08-30 Thread Perrin Harkins
Badai Aqrandista wrote: My app is an online hotel booking system. That part is the part where it searches availabilities through all combination of dates, number of guests, rooms, packages, allotments, pricing structures, and more. Okay, so it's slow because it does a lot of work. How does it

Re: maintaining shared memory size (was: Re: swampedwithconnection?)

2005-08-30 Thread Badai Aqrandista
You *do* have KeepAlive off in your httpd, right? No... I mean in the backend Apache, not the frontend whatever. Yes, I understand... I put it in the backend... When you're happering your server, is the CPU on the server running at or near 100%? If not, you have other problems. Almost

Re: maintaining shared memory size (was: Re:swampedwithconnection?)

2005-08-30 Thread Badai Aqrandista
Hi, Rewriting things in C is a last resort. If you must do it, try Inline::C. Yes... Inline::C looks good... Your requests take 110 seconds each? What is your application doing? My app is an online hotel booking system. That part is the part where it searches availabilities through all com

Re: HTML::Template::Compiled

2005-08-30 Thread Sam Tregar
On Tue, 30 Aug 2005, Jonathan Vanasco wrote: > are there any worries for security overflows / memory leaks, having compiled > that stuff into c or xs (its one of those, right?) under mod_perl Sure, it's worth worrying about. Anything written in C can potentially have a buffer-overflow bug or a m

Re: Getting Error(Can't locate object method "log_error" via package "Apache::RequestRec" at /usr/lib/perl5/site_perl/5.8.0/Apache/ASP.pm line 1709.) While connecting to my website (Please help soon)

2005-08-30 Thread Randy Kobes
On Tue, 30 Aug 2005, Amit Kumar wrote: Hi Friend, I am in need of your help, while connecting to my website i am getting these message in error log-file Can't locate object method "log_error" via package "Apache::RequestRec" at /usr/lib/perl5/site_perl/5.8.0/Apache/ASP.pm line 1709. There's

Getting Error(Can't locate object method "log_error" via package "Apache::RequestRec" at /usr/lib/perl5/site_perl/5.8.0/Apache/ASP.pm line 1709.) While connecting to my website (Please help soon)

2005-08-30 Thread Amit Kumar
Hi Friend, I am in need of your help, while connecting to my website i am getting these message in error log-file Can't locate object method "log_error" via package "Apache::RequestRec" at /usr/lib/perl5/site_perl/5.8.0/Apache/ASP.pm line 1709. Why its happening, i am not able to rectify this

Re: maintaining shared memory size (was: Re: swampedwithconnection?)

2005-08-30 Thread David Hodgkinson
On 30 Aug 2005, at 01:56, Badai Aqrandista wrote: You *do* have KeepAlive off in your httpd, right? No... I mean in the backend Apache, not the frontend whatever. When you're happering your server, is the CPU on the server running at or near 100%? If not, you have other problems.

Re: *nix distro compatibility (was Re: survey)

2005-08-30 Thread Carl Johnstone
> I think a great first-place to start for advocacy is to work with the > various linux/bsd/*nix distributions out there to make sure that they > have a modern, compatible version of mod_perl 2. As a user, I don't > want to maintain my own perl/mod_perl build tree - I want my distro to > do the ri

Re: HTML::Template::Compiled

2005-08-30 Thread Jonathan Vanasco
I've got a question about the Compiled/JIT stuff: are there any worries for security overflows / memory leaks, having compiled that stuff into c or xs (its one of those, right?) under mod_perl a friend brought that up with me, and i don't know what to answer under regular perl, that stuff wo

Re: HTML::Template::Compiled

2005-08-30 Thread Sam Tregar
On Tue, 30 Aug 2005, jonathan vanasco wrote: > 2- even the slowest templating option - petal - was a fraction of > the speed of my business logic and db connectivity This is an important point, and it's the main reason I've never actually used HTML::Template::JIT. My ego demanded that I create t

Re: survey

2005-08-30 Thread Randy Kobes
On Fri, 26 Aug 2005, Octavian Rasnita wrote: Some advocacy ideas: I think that there are a few groups we should target: - The programmers/net admins that are already using mod_perl, but older versions (Macromedia is using Apache 1.3 and mod_perl 1) - the programmers that already know perl but t

IO::Select->new() causes error

2005-08-30 Thread Ronald J Kimball
I'm getting the following error from a mod_perl script: [Tue Aug 30 11:27:52 2005] [error] Can't call method "new" without a package or object reference at /usr/lib/perl5/site_perl/5.005/i686-linux/Net/DNS/Resolver/Base.pm line 635. Line 635 of Base.pm is: my $sel = IO::Select->new($sock); I'v

Re: apache+mod_perl on Windows fails ungracefully?

2005-08-30 Thread Randy Kobes
On Tue, 30 Aug 2005, Foo Ji-Haw wrote: Hi all, I have a small setup development setup on a Windows 2000 Server+Apache 2+ActivePerl 5.8.6+mod_perl 2.0.1. With a setting of 5 threads per child. I have 3 external clients hitting the server simultaneously doing batch SOAP calls, plus my local

Re: maintaining shared memory size (was: Re: swampedwithconnection?)

2005-08-30 Thread Perrin Harkins
On Tue, 2005-08-30 at 14:25 +1000, Badai Aqrandista wrote: > I have localized one subroutine that has been heavily called in the search > function. That should be the way to pick the candidate, shouldn't it? What usually matters when working on speed is where the most wall clock time is being spe

Re: Showing internal server error

2005-08-30 Thread Malcolm J Harwood
On Tuesday 30 August 2005 08:12 am, Mahesh kumar wrote: Please reply to the list, not directly to me. Thanks. > > Apache/2.0.54 (Unix) mod_perl/1.99_16 Perl/v5.8.7 Server at > sssupport.asad.srishti Port 80 > [Tue Aug 30 17

Re: hi

2005-08-30 Thread Praveen Ray
First upgrade to mod_perl2. Throw away the beta code (1.99_16). Install Apache2 and mod_perl2 fresh. The installation documents on mod_perl site are very comprehensive. Then, report back if the problem persists. --- ravikumar <[EMAIL PROTECTED]> wrote: > hi, > i have installed Apache-2.0.

Re: maintaining shared memory size (was: Re: swampedwithconnection?)

2005-08-30 Thread Badai Aqrandista
Hi, I see from an earlier post on the mason-users list that your app is using HTML::Mason and Apache::Session::Memcached. It seems like you've got quite a few variables to juggle in your performance bottleneck analysis. Actually, I am using TT and Mason in this application. TT is used to supp

apache+mod_perl on Windows fails ungracefully?

2005-08-30 Thread Foo Ji-Haw
Hi all,   I have a small setup development setup on a Windows 2000 Server+Apache 2+ActivePerl 5.8.6+mod_perl 2.0.1. With a setting of 5 threads per child.   I have 3 external clients hitting the server simultaneously doing batch SOAP calls, plus my local web browser which I browse around my

Re: HTML::Template::Compiled

2005-08-30 Thread Octavian Rasnita
From: "Perrin Harkins" <[EMAIL PROTECTED]>> > No. However, I have spoken with the author about it a bit. Depending on > your use, it seems that HTML::Template::JIT may be a bit faster, and has a > decent test suite, which might ease your mind. It is more compatible with > HTML::Template. Howeve

Re: maintaining shared memory size (was: Re: swampedwithconnection?)

2005-08-30 Thread Tony Clayton
Quoting Badai Aqrandista <[EMAIL PROTECTED]>: > > > > >Then how do you know what to write in C? > > > > I have localized one subroutine that has been heavily called in the > search > function. That should be the way to pick the candidate, shouldn't > it? > > I have never done this and I am wo