Whats wrong in HTML::TableExtract with modperl

2004-10-15 Thread Siyad Ahmed Naina
Hi, list i have encountered with inclusion error while attempt to use module HTML::TableExtract use HTML::TableExtract; and i'm using this in mod_perl. when i checked error log i got this description. [Fri Oct 15 15:55:57 2004] [error] 860: ModPerl::Registry: HTML::Parser object version 3.3

Re: [mp2] HTTP status code w/ ModPerl::Registry

2004-10-15 Thread Stas Bekman
Colin Wetherbee wrote: Greetings. Seems I'm confused about how to get mod_perl to send status codes other than 200 OK. I want to have my Perl script, upon getting the wrong CGI parameters, to give a status 404. Then, the ErrorDocument for 404 goes back to that same Perl script but with the CGI par

Re: [mp2] Large (>11584 bytes) requests truncated

2004-10-15 Thread Stas Bekman
Scot Martin wrote: Apache 2.0.52 mod_perl 1.99_16 Perl 5.8.5 OpenSSL 0.9.7d Solaris 8 Greetings! I am building a load test environment that simulates responses from a large database, with all I/O in an XML payload. Most of the requests and responses are no more than a few hundred bytes, b

Re: problem building modperl 1.99

2004-10-15 Thread Stas Bekman
Christian Krause wrote: While you are at it, if you can post a patch that will make the build croak if the same function is encountered more than once, that would be helpful for the future. Thanks. Here is a patch which makes the Makefile creating abort in case of 1) an already mapped function wil

[mp2] HTTP status code w/ ModPerl::Registry

2004-10-15 Thread Colin Wetherbee
Greetings. Seems I'm confused about how to get mod_perl to send status codes other than 200 OK. I want to have my Perl script, upon getting the wrong CGI parameters, to give a status 404. Then, the ErrorDocument for 404 goes back to that same Perl script but with the CGI parameter ?page=error404

OT: mod_ssl list...

2004-10-15 Thread Tim Howell
Sorry for the off-topic post, but I'm having some trouble subscribing to the mod_ssl list and thought someone here might have additional information. Does the mod_ssl list still exist? I've tried subscribing both from the web and by sending an email to [EMAIL PROTECTED] but after fifteen hoursI h

Re: debugging run away httpd process

2004-10-15 Thread Brian Reichert
On Fri, Oct 15, 2004 at 10:46:01AM +0800, victor wrote: > >How are you invoking strace? > > > > > As root I ran /usr/bin/strace -p There are other useful arguments to strace; see the manpage for '-f -F -v', and so forth. > We have sorted out the problem on this part it turns out to be a > sp

Re: Using mod_perl on foreign host...

2004-10-15 Thread Perrin Harkins
On Fri, 2004-10-15 at 05:59, Rajesh Pethe wrote: > I'm new to mod_perl and I'm looking to develop a set of mudules for my > site which I'm looking to host on a foreign server. I want to know if > there is any dificulties involved in achieving this as mod_perl > modules need some extra configuration

Re: debugging run away httpd process

2004-10-15 Thread victor
Hello Brian, thanks for your reply, On Thu, Oct 14, 2004 at 12:07:17PM +0800, victor wrote: 2) Why strace doesn't return anything? or is strace the appropiate tool to use at all? is there any mod_perl module/option I should turn on/off/tweak to help me find out what the process is doing?

Re: debuging run away httpd process

2004-10-15 Thread victor
Hi malcolm, Malcolm J Harwood wrote: On Thursday 14 October 2004 04:23 am, Victor Tsang wrote: We use mod_perl heavily here, and lately I notice some apache children for some reason chew up large amount of cpu (indeed all cpu). Using apache's server-status i can tell it is one of the new script

Re: debuging run away httpd process

2004-10-15 Thread Malcolm J Harwood
On Thursday 14 October 2004 10:49 pm, victor wrote: > Hi malcolm, > >This might be stating the obvious, but have you run it under a profiler? ( > >Devel::Profiler::Apache is what I've been using). If it's a problem with > > the actual perl script, that should give you a good idea what part of the

Re: [mp1] text-book forking code still producing zombies

2004-10-15 Thread Scot Martin
Hi Mark, I don't know if this will help, but out of the numerous ways I tried this is the only way I could solve the zombie issue in MP2 on Solaris 8: use POSIX 'WNOHANG'; use POSIX ":sys_wait_h"; my($kid); do { $kid=waitpid(-1,WNOHANG); } until $kid <= 0; if(!(defined ($pid = fork( {

[mp2] Large (>11584 bytes) requests truncated

2004-10-15 Thread Scot Martin
Apache 2.0.52 mod_perl 1.99_16 Perl 5.8.5 OpenSSL 0.9.7d Solaris 8 Greetings! I am building a load test environment that simulates responses from a large database, with all I/O in an XML payload. Most of the requests and responses are no more than a few hundred bytes, but then there are

Re: Memory leakage?

2004-10-15 Thread Stas Bekman
Batara Kesuma wrote: Hi Stas, Batara, please try first with mod_perl 1.19_16 or the current cvs [1]. If it didn't make any different please tell us how much memory consumes each modperl process on the startup (shared and absolute). You can use Apache::VMonitor for that purpose if you have libgtop

Using mod_perl on foreign host...

2004-10-15 Thread Rajesh Pethe
Hi,   I'm new to mod_perl and I'm looking to develop a set of mudules for my site which I'm looking to host on a foreign server. I want to know if there is any dificulties involved in achieving this as mod_perl modules need some extra configuration parameters in the httpd.conf.   Please clear the c

apache and mod_perl in pdas?

2004-10-15 Thread eps com estem
This is not a technical question, but now that more-than-600MHz PDA are just attacking our wallets it is curious to know if there is any plan to port both apache and modperl to palmOs / pocketPc machines. Since i was running my linux+apache2+mp2 in an old pentium at 266MHz with no kind of problem