mod_perl memory leaks on Windows

2002-06-25 Thread Andrey Prokopenko
Hi, I'm using ActiveState Perl v5.6.1 MSWin32-x86-multi-thread, Apache 1.3.26 and mod_perl 1.27 ( as DSO ) on Windows 2000 with 256MB of RAM. I configurel location in a simple way, showed below: -- a piece from httpd.conf Location /mod_perl Options +ExecCGI AddHandler

RE: Apache vulnerability: update of uwinnipeg win32 packages planned?

2002-06-25 Thread Alessandro Forghieri
Greetings. Randy Kobes wrote: [...] There is still some demand for the all-inclusive apache/perl/mod_perl perl-win32-bin-x.x.exe binary packages we have, Uhm, yes I would be in that audience :) but I wasn't planning on making a new one of those until perl-5.8 is officially released.

RE: getting node values from XML::Parser

2002-06-25 Thread mikedennisdanese
ok, it's 1am, time to ask. I am able to parse thru XML (using XML::Parser, Expat) to retrieve the element I am interested in with: my $line= $parser-current_line; $data =~ s/\n/n\t/g; but how to get the element value?? thanks for advice, md

Re: Apache vulnerability: update of uwinnipeg win32 packages planned?

2002-06-25 Thread Stas Bekman
Alessandro Forghieri wrote: but I wasn't planning on making a new one of those until perl-5.8 is officially released. Any idea on when that may happen? My wild guess is on July 24, 2002. __ Stas BekmanJAm_pH

Re: getting node values from XML::Parser

2002-06-25 Thread Stas Bekman
[EMAIL PROTECTED] wrote: ok, it's 1am, time to ask. I am able to parse thru XML (using XML::Parser, Expat) to retrieve the element I am interested in with: my $line= $parser-current_line; $data =~ s/\n/n\t/g; but how to get the element value?? thanks for advice, md is it just me or

ANNOUNCE: Embperl 2.0b8

2002-06-25 Thread Gerald Richter - ecos gmbh
The URL ftp://ftp.dev.ecos.de/pub/perl/embperl/Embperl-2.0b8.tar.gz has entered CPAN as file: $CPAN/authors/id/G/GR/GRICHTER/Embperl-2.0b8.tar.gz size: 628343 bytes md5: d089a86671a0c559b77f107a4e6d67c9 I have done a lot of fine tuning and error fixing since 2.0b7. Also Embperl

RE: when to mod_perl?

2002-06-25 Thread Christian Jaeger
At 9:52 Uhr +0200 25.06.2002, Alessandro Forghieri wrote: FastCGI has slightly better speed, but I have seen it hanging (and it does not look like support for FastCGI is going to be huge in the futuer), It took mod_perl ages (i.e. until mod_accel has come up) to get an as decent proxying setup

Re: Apache:: module organization and getting it to work with PAUSE

2002-06-25 Thread Per Einar Ellefsen
Hi Tim, thanks for replying, At 22:33 23.06.2002, Tim Bunce wrote: Why am I adressing you? Because Randy suggested, and I agreed, that some kind of module listing in categories would be interesting for the modules and for the mod_perl community--probably having a page dedicated to

Win32 Binarys

2002-06-25 Thread [EMAIL PROTECTED]
Where can I get a Win32 binary of mod_perl? I use Apache 1.3.26/ActivePerl Build 522. None of Randy Kobes' PPMs would Install and the newest pre-compiled zipped binary is for mod_perl 1.16. Thanks! http://www.sold.com.au - SOLD.com.au - Find yourself a bargain!

Re: Win32 Binarys

2002-06-25 Thread Per Einar Ellefsen
At 14:15 25.06.2002, [EMAIL PROTECTED] wrote: Where can I get a Win32 binary of mod_perl? I use Apache 1.3.26/ActivePerl Build 522. None of Randy Kobes' PPMs would Install and the newest pre-compiled zipped binary is for mod_perl 1.16. You probably want to get a new ActivePerl version. Build 522

Is mod_perl the right solution for my GUI dev?

2002-06-25 Thread Ganesan M
Hello list, Please pardon me if it is not related to the list. We have a C application which runs on both SCO open server and Red Hat Linux with Oracle/Informix database. It is a text based application originally developed for CRDS box with UNOS. Now management needs a GUI for the text

Re: Is mod_perl the right solution for my GUI dev?

2002-06-25 Thread Per Einar Ellefsen
At 16:09 25.06.2002, Ganesan M wrote: Hello list, Please pardon me if it is not related to the list. We have a C application which runs on both SCO open server and Red Hat Linux with Oracle/Informix database. It is a text based application originally developed for CRDS box with UNOS.

Re: when to mod_perl?

2002-06-25 Thread Perrin Harkins
md wrote: I was just a bit worried about the amount of static content. In the past I've had a lot more hardware to work with and I never had to worry about it much. Static content is easy; just don't serve it from mod_perl. The proxy approach is good, and so is a separate image server

Re: mod_perl memory leaks on Windows

2002-06-25 Thread Perrin Harkins
Andrey Prokopenko wrote: After a fresh restart, I started Apache/mod_perl. Then i issued a little stress test using simple perl script with LWP::Simple. I ran a performance test on /mod_perl/index.pl page for 10 minutes. The source code of that page is given below : -

Re: Apache::DBI with mod_perl 2.0

2002-06-25 Thread Zac Morris
Yeah, so I've tried these suggestions: use Apache2(); use Apache::compat; and I'm still getting the errors: Undefined subroutine Apache::Module::loaded called at /usr/lib/perl5/site_perl/5.6.1/i386-linux/Apache/compat.pm line 95. Compilation failed in require at ./db_connect_test.pm

Re: Is mod_perl the right solution for my GUI dev?

2002-06-25 Thread Ganesan M
At 16:09 25.06.2002, Ganesan M wrote: My suggestions are: 1. Get rid of screen driver codes from the existing C programs 2. Use Inline C in the mod_perl programs and run it through apache webserver as a web page. But, some of my colleagues are suggesting to write a Java/VC++

FW: Is mod_perl the right solution for my GUI dev?

2002-06-25 Thread Prakash Chatterjee
-Original Message- From: Prakash Chatterjee [mailto:[EMAIL PROTECTED]] Sent: 25 June 2002 16:00 To: Ganesan M Subject: RE: Is mod_perl the right solution for my GUI dev? Actually, no you can't. At least not without masses of Javascript and god knows what else. And of course you'll

Re: Apache::DBI with mod_perl 2.0

2002-06-25 Thread Stas Bekman
Zac Morris wrote: Yeah, so I've tried these suggestions: use Apache2(); use Apache::compat; and I'm still getting the errors: Undefined subroutine Apache::Module::loaded called at /usr/lib/perl5/site_perl/5.6.1/i386-linux/Apache/compat.pm line 95. Compilation failed in

Re: Is mod_perl the right solution for my GUI dev?

2002-06-25 Thread Fran Fabrizio
Please correct me if this is wrong. What is the big difference between web frontend and a normal GUI? Can't you do everything in the web frontnend that you do in normal GUI? No, not at all. The web is bound by HTTP and HTML. This comes with many ramifications. There are three main

Re: Apache::DBI with mod_perl 2.0

2002-06-25 Thread Zac Morris
Ahhh, ok more clarity. :) Forgive me if I'm just not doing my detective work in poking around for documentation, but is there a doc that contains all the kludges or assumed modules I need to already have in place? I'm assuming that the bulk of these things are handled via a CPAN Apache::bundle

Re[2]: mod_perl memory leaks on Windows

2002-06-25 Thread Andrey Prokopenko
Hello Perrin, Tuesday, June 25, 2002, 6:40:01 PM, you wrote: PH Andrey Prokopenko wrote: After a fresh restart, I started Apache/mod_perl. Then i issued a little stress test using simple perl script with LWP::Simple. I ran a performance test on /mod_perl/index.pl page for 10 minutes. The

TransHandler called a second time after I've returned DECLINED

2002-06-25 Thread Randy Harmon
I'm using a TransHandler, and having a problem where it sometimes gets called twice when I don't expect it - in most cases it's called just once as I expect. When I specify a file in a directory that doesn't exist (I'm going to use path_info in a Mason dhandler, either to deliver a custom 404

RE: Re[2]: mod_perl memory leaks on Windows

2002-06-25 Thread Randy Harmon
Apache 1.3.x has always been experimental and not-for-production-use on Win32 :( Hopefully these modules will support Apache 2.0 pretty soon, for your sake. Randy -Original Message- From: Andrey Prokopenko [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 8:31 AM To: [EMAIL

Re: when to mod_perl?

2002-06-25 Thread Randal L. Schwartz
Perrin == Perrin Harkins [EMAIL PROTECTED] writes: Perrin Static content is easy; just don't serve it from mod_perl. The proxy Perrin approach is good, and so is a separate image server (which you can Perrin host on the same machine). I've found thttpd to be an amazingly Perrin efficient

Re: Is mod_perl the right solution for my GUI dev?

2002-06-25 Thread Ganesan M
Thanks for the info. What I am looking for here is: just a front-end GUI which will interact with the existing C programs. The base application is written in C. That is not going to change(That is one heck of the job to re-write the C application). Perl programs will be used to get the data

Re: [JOB] Crack OOP Perl whitebox tester wanted

2002-06-25 Thread David Jacobs
I think *all* job postings and offers should be forked to another list. This should be mod_perl only! Per Einar Ellefsen wrote: At 11:46 22.06.2002, Ged Haywood wrote: Hi all, On Fri, 21 Jun 2002, Zac Morris wrote: Old fashioned is right, Can we decide whether this kind of post is or

Re: [JOB] Crack OOP Perl whitebox tester wanted

2002-06-25 Thread Vlad Safronov
Hi, What is the right way of authorizing users under Mason? Should it be done as PerlAccessHandler or coded in handler.pl? --- # require myhandler.pl Location /registered PerlAccessHandler Apache::MyAccessHandler PerlHandler HTML::Mason /Location --- Vlad

Re: Is mod_perl the right solution for my GUI dev?

2002-06-25 Thread Rob Nagler
Fran Fabrizio writes: - Real-time data updates. HTTP is stateless: it serves up the page then closes the connection. Any updating involves a round-trip back to the server. In traditional GUI, you just hold a db connection and repaint the areas that are updated. Solved with refresh?

Re: mod_perl memory leaks on Windows

2002-06-25 Thread Perrin Harkins
Andrey Prokopenko wrote: I tried a plain Perl cgi script, with no module used, and still the same. ;(( Do you mean that this leak cannot be fixed from Apache/mod_perl side ? I can't say for sure since I don't use mod_perl on Win32, but most of the process growth problems reported when using

Re: Is mod_perl the right solution for my GUI dev?

2002-06-25 Thread Ganesan M
[snip] The problem with all of the above is that it takes a VERY VERY complex analysis, planning, deployment, and long term environmental support infrastructure that most companies just don't have. So while J2EE all sounds great on paper, implementation of any reasonable J2EE system actually

What is the right way of authorizing users under HTML::Mason?

2002-06-25 Thread Vlad Safronov
Hi, What is the right way of authorizing users under Mason? Should it be done as PerlAccessHandler or coded in handler.pl? --- # require myhandler.pl Location /registered PerlAccessHandler Apache::MyAccessHandler PerlHandler HTML::Mason /Location --- Vlad

Re: Is mod_perl the right solution for my GUI dev?

2002-06-25 Thread Fran Fabrizio
Rob Nagler wrote: Solved with refresh? JavaScript and Java can also help here. Yes, solved with refresh. Of the entire page. Which may be quite complex and have some hefty SQL queries, etc...not to mention other issues such as network latency, the re-rendering of the page, etc...all

Re: Apache::DBI with mod_perl 2.0

2002-06-25 Thread Stas Bekman
Zac Morris wrote: Ahhh, ok more clarity. :) Forgive me if I'm just not doing my detective work in poking around for documentation, but is there a doc that contains all the kludges or assumed modules I need to already have in place? All the docs that we have now are at

Re: when to mod_perl?

2002-06-25 Thread Peter Bi
Thanks to the caching, any of my images or other static content gets pushed once a day to the front, and then doesn't tie up the back ever again. . I have a question regarding to the cached files. Although the maximal period is set to be 24 hours in httpd.conf's proxy settings, many

Re: when to mod_perl?

2002-06-25 Thread Randal L. Schwartz
Peter == Peter Bi [EMAIL PROTECTED] writes: Peter I have a question regarding to the cached files. Although the Peter maximal period is set to be 24 hours in httpd.conf's proxy Peter settings, many of the files, which were cached from the backend Peter mod_perl dynamical program, are strangely

Re: Is mod_perl the right solution for my GUI dev?

2002-06-25 Thread Ganesan M
Thank you all for all your input on this. Here are the reasons why I chose web interface using Apache/CGI/Mod_perl/GD for our front-end reports. * Quick solution. Our management needed the report screens in a very short period. * Our C application runs on two different OS and two different

Re: Is mod_perl the right solution for my GUI dev?

2002-06-25 Thread Fran Fabrizio
Well it sounds like most of your design goals are pointing you towards the web interface. These same goals are what made me choose web even though I knew that I'd have to make some sacrifices on the interface. You'll be able to do it fine on the web, just be prepared to be flexible with

RE: Is mod_perl the right solution for my GUI dev?

2002-06-25 Thread Vuillemot, Ward W
:I would like to continue in the same web front-end : path for more : interactive forms. May be I will have to fight with : Javascript more. : : Yes, much more. But a book I found helpful was 'DHTML : and CSS for the : WWW'. It has helpful examples of

Re: ANNOUNCE: Embperl 2.0b8

2002-06-25 Thread Per Einar Ellefsen
At 12:39 25.06.2002, Gerald Richter - ecos gmbh wrote: I have done a lot of fine tuning and error fixing since 2.0b7. Also Embperl now supports mod_perl 2.0 with prefork MPM (threaded MPM will require Perl 5.8.0). The docs are moveing towards 2.0, but some features are still only documentent in

Re: when to mod_perl?

2002-06-25 Thread Peter Bi
- Original Message - From: Randal L. Schwartz [EMAIL PROTECTED] To: Peter Bi [EMAIL PROTECTED] Cc: Perrin Harkins [EMAIL PROTECTED]; md [EMAIL PROTECTED]; Stas Bekman [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, June 25, 2002 10:18 AM Subject: Re: when to mod_perl? Peter ==

Re: ANNOUNCE: Embperl 2.0b8

2002-06-25 Thread Gerald Richter
Hi, While I am not very familiar with Embperl, I saw some discussion concerning PHP that struck me as pretty interesting for Embperl and similar applications: have you considered making (or atleast having an option for) Embperl an output filter for Apache 2/mod_perl 2? I think this would

Re: ANNOUNCE: Embperl 2.0b8

2002-06-25 Thread Per Einar Ellefsen
At 21:30 25.06.2002, Gerald Richter wrote: Hi, While I am not very familiar with Embperl, I saw some discussion concerning PHP that struck me as pretty interesting for Embperl and similar applications: have you considered making (or atleast having an option for) Embperl an output