Re: [patch mp2] Fixes to $0 handling [Was: Directive changes the command name]

2005-09-22 Thread Philip M. Gollucci
Philippe M. Chiasson wrote: I've finally had time to dig deeper in the troubling $0 and process display problems that seem to exist at least on *BSDs and HP-UX. On linux, modifications to the original argv[0] will directy modify the process information. On some other OSes, some special API is ne

Re: Looking to hire MP guru for setup/config

2005-09-22 Thread Philip M. Gollucci
Patrick Kennedy wrote: My techie set-up MP 1.99 on a new server running Apache 2 but things just aren't working properly. Unfortunately he had to go out of town for awhile, so I am looking to hire a MP "guru" to finishing the setup/config. I assume it wouldn't take you more than 30-60 minutes to

Re: Apache2::SOAP newbie

2005-09-22 Thread Foo Ji-Haw
Yes, you need to do a bit of 'massaging' of the output SOAP XML to make the .NET server happy. Most of the simple function calls may not work, so you have to do a bit of a runaround instead. Let me know if you need some examples. - Original Message - From: "Kurt Hansen" <[EMAIL PROTECTED]

Re: Apache DSO compile issue...

2005-09-22 Thread Philip M. Gollucci
John.kelley wrote: LoadModule Mod_perl or libperl? Is there supposed to be a mod_perl.so or am I supposed to overlay the "old" libperl.so? LoadModule perl_modulelibexec/libperl.so AddModule mod_perl.c ls libexec/ |grep perl :-rwxr-xr-x 1 pgollucci wheel - 4.9M Sep 22 19:50:20 2005

Re: Apache DSO compile issue...

2005-09-22 Thread Philip M. Gollucci
AddModule mod_perl.c . See http://perl.apache.org/docs/1.0/guide/install.html#Installing_separate_Apache_and_mod_perl_RPMs You're missing the LoadModule line. I swore the order was AddModule then LoadModule, so try both.. or whatever you have these things in your httpd.conf . . Alia

Apache DSO compile issue...

2005-09-22 Thread John Kelley
Hi, I'd greatly appreciate ideas on getting mod_perl successfully loaded via DSO into my Apache 1.3.33 installation. I compile and receive no errors (via Makefile.PL or via direct apache compile). I am not sure if I do not have my config file properly referencing mod_perl (I think it's right)

Re: HTML::Parser not mod_perl safe?

2005-09-22 Thread Barry Hoggard
On Sep 22, 2005, at 2:30 PM, Mike Henderson wrote: Hello, just a quick question...   Has anyone out there successfully deployed HTML::Parser in an apache 1.3.x / mod_perl / HTML::Mason environment (dynamically parsing pages) ?   I realize that the module itself is kind of crunky, and addition

HTML::Parser not mod_perl safe?

2005-09-22 Thread Mike Henderson
Hello, just a quick question...   Has anyone out there successfully deployed HTML::Parser in an apache 1.3.x / mod_perl / HTML::Mason environment (dynamically parsing pages) ?   I realize that the module itself is kind of crunky, and additionally an XS module, so, i'm left wondering.   Basically, w

Re: httpd consumes 220mb of RAM when printing alot of output

2005-09-22 Thread Perrin Harkins
On Thu, 2005-09-22 at 12:02 -0400, Jeff Ambrosino wrote: > I'm using: > > DBD-mysql-2.9004 > DBI-1.47 > (and Apache::DBI) > > Good question about MySQL cursors... I looked through the DBD::Mysql > docs and didn't find anything about cursors. So this means that if > you query the whole table ("s

Re: httpd consumes 220mb of RAM when printing alot of output

2005-09-22 Thread Jeff Ambrosino
I'm using: DBD-mysql-2.9004 DBI-1.47 (and Apache::DBI) Good question about MySQL cursors... I looked through the DBD::Mysql docs and didn't find anything about cursors. So this means that if you query the whole table ("select * from ") then you need to have as much RAM as the size of the ta

Re: httpd consumes 220mb of RAM when printing alot of output

2005-09-22 Thread Geoffrey Young
>>while ( my $rowref = $sth->fetchrow_arrayref ) { >> $r->print $rowref->[0]; >> # ...more $r->print statements for each field... >>} > > > Does it do the same thing if you don't print anything? I believe some of the > DBD's cache the entire result set rather than getting it a chunk at a time

Re: httpd consumes 220mb of RAM when printing alot of output

2005-09-22 Thread Malcolm J Harwood
On Thursday 22 September 2005 11:06 am, Jeff Ambrosino wrote: > I'm exporting a database table through a mod_perl2 handler. The > problem is that for large tables, the size of the httpd process > balloons to consume alot of RAM. For example, a 299mb MySQL table > (size of .MYD file), which creat

Re: Looking to hire MP guru for setup/config

2005-09-22 Thread Dzuy Nguyen
It can, if you compiled it natively. I have Apache2 and MP2 compiled and running happily on RH9. I would not recommend the stock RH MP2 rpm. Patrick Kennedy wrote: Why are you using 1.99 when 2.0.1 is out? If you can give me more information about what you need you can contact me offline an

Re: Looking to hire MP guru for setup/config

2005-09-22 Thread Frank Wiles
On Thu, 22 Sep 2005 10:09:40 -0500 Patrick Kennedy <[EMAIL PROTECTED]> wrote: > > >Why are you using 1.99 when 2.0.1 is out? If you can give me more > >information about what you need you can contact me offline and maybe > >I can help you. > > > >Tom > > Apparently MP2 isn't compatible with my R

Re: Looking to hire MP guru for setup/config

2005-09-22 Thread Patrick Kennedy
Why are you using 1.99 when 2.0.1 is out? If you can give me more information about what you need you can contact me offline and maybe I can help you. Tom Apparently MP2 isn't compatible with my RedHat 3 ES ??

httpd consumes 220mb of RAM when printing alot of output

2005-09-22 Thread Jeff Ambrosino
I'm exporting a database table through a mod_perl2 handler. The problem is that for large tables, the size of the httpd process balloons to consume alot of RAM. For example, a 299mb MySQL table (size of .MYD file), which creates a 35mb export, causes httpd to consume about 220mb of RAM! My code

Re: how to avoid the caching of the executed perl file

2005-09-22 Thread Aliet Santiesteban Sifontes
Tom , at this link you can find the scripts, problematic is Listing.pl, don't blame me for the bad code, I'm just trying to fix it, is a very old apps: http://sflcujae.cujae.edu.cu/perl/ Tom Schindl wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aliet Santiesteban Sifontes wrote:

Re: PerlInterpMaxRequests

2005-09-22 Thread Fabian Kreitner
Well, I found the problem. I need to set ... (1) KeepAlive Off (2) MaxRequestsPerChild 1 (1) can be set in the virtual host, unfortunately (2) cant. So it will be a global performance hit :-( If I leave MaxRequestsPerChild > 1 it will cycle between several perl threads (checked with /perl-statu

Re: Apache2::SOAP newbie

2005-09-22 Thread Kurt Hansen
John ORourke wrote: A little OT, but has anyone got any experience or examples that use Apache2::SOAP or some other means to create a mod_perl SOAP server? I'm rushing headlong into SOAP development and (as one does) tackled something nice and big for my first project - a Perl SOAP server tha

Apache2::SOAP newbie

2005-09-22 Thread John ORourke
A little OT, but has anyone got any experience or examples that use Apache2::SOAP or some other means to create a mod_perl SOAP server? I'm rushing headlong into SOAP development and (as one does) tackled something nice and big for my first project - a Perl SOAP server that receives and sends

Re: Looking to hire MP guru for setup/config

2005-09-22 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Why are you using 1.99 when 2.0.1 is out? If you can give me more information about what you need you can contact me offline and maybe I can help you. Tom Patrick Kennedy wrote: > My techie set-up MP 1.99 on a new server running Apache 2 but things >

Re: how to avoid the caching of the executed perl file

2005-09-22 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aliet Santiesteban Sifontes wrote: > The problem was solved using > > ModPerl::PerlRun > I'd suggest to get better performance to switch back to ModPerl::Registry. You have shown us many lines of code but not the one which shows how your problem is