Re: [mp2] $| doesn't work with mod_perl

2005-09-19 Thread Alexander Charbonnet
Are you sure mod_deflate isn't one of your active Apache filters? mod_deflate will not output until its buffer is full, $| notwithstanding. I tore my hair out trying to work around it, and ended up writing my own compression filter. But if you don't need compression, try disabling mod_deflate

Re: [mp2] $| doesn't work with mod_perl

2005-09-19 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 pradeep kumar wrote: > Can you please elaborate on why apache filters can be an issue with the > autoflush problem that I noticed ? > > Also, I noticed that the autoflush work properly when I flush it to a > regular file. Its only when I choose STDOUT

Re: Child Exit error on MP2

2005-09-19 Thread Boysenberry Payne
When I apachectl stop it breaks the httpd debug freeze and outputs the following: Carp::CODE(0x18f6968)(/opt/local/lib/perl5/5.8.7/Carp/Heavy.pm:122): 122: return @_ if ref($_[0]); # don't break references as exceptions DB<3> Carp::CODE(0x18f6968)(/opt/local/lib/perl5/5.8.7/Carp/Heavy.p

Re: Child Exit error on MP2

2005-09-19 Thread Boysenberry Payne
When I get to the following line the debugger hangs: my $apr = APR::Request::Apache2->handle( $r ); In the following situation: use Apache2::RequestRec (); use Apache2::RequestIO (); use Apache2::Const -compile => qw(OK REDIRECT); use strict; use diagnostics; use APR::Pool (); use Apache::DB (

Re: Child Exit error on MP2

2005-09-19 Thread Frank Wiles
On Mon, 19 Sep 2005 18:50:40 -0500 Boysenberry Payne <[EMAIL PROTECTED]> wrote: > I'm getting the following error: > [Mon Sep 19 18:45:48 2005] [notice] child pid 29371 exit signal Bus > error (10) > > How do I go about troubleshooting this in MP2. I'm just switching to > it and finally > afte

Child Exit error on MP2

2005-09-19 Thread Boysenberry Payne
I'm getting the following error: [Mon Sep 19 18:45:48 2005] [notice] child pid 29371 exit signal Bus error (10) How do I go about troubleshooting this in MP2. I'm just switching to it and finally after 3 days got libapreq installed, yeah... Is there a new and improved way to debug or anythi

Re: mod_perl, shared memory and solaris

2005-09-19 Thread Frank Wiles
On Tue, 20 Sep 2005 10:13:39 +1200 [EMAIL PROTECTED] wrote: > Hi > > I've set up mod_perl v1.29 with apache 1.3.33 and I'm trying to > maximise the amount of memory shared between the httpd processes. > > I've created a startup.pl file and have entered all modules I use, and > > have loaded t

mod_perl, shared memory and solaris

2005-09-19 Thread dan . horne
Hi I've set up mod_perl v1.29 with apache 1.3.33 and I'm trying to maximise the amount of memory shared between the httpd processes. I've created a startup.pl file and have entered all modules I use, and have loaded the specific the DB driver etc.  I'm not using CGI, and only one custom module

Re: cdb/Storable (Was: Storable Freeze/thaw ....)

2005-09-19 Thread Perrin Harkins
On Mon, 2005-09-19 at 13:09 -0700, Bill Whillers wrote: > So at what point (1k, 10k, 100k) might the overhead of a decompress on a > frozen chunk make real sense? You have to benchmark it yourself with your own data and network to see. - Perrin

Re: mp2 crashing Apache server

2005-09-19 Thread Philip M. Gollucci
Aliet Santiesteban Sifontes wrote: Windows 2003 Enterprise Server, ActivePerl 5.8.7 Build 813, Apache-2.0.54. Perl with modules: 8. DBI[1.48] good. Active Perl ships with cgi-3.10, U updated to 3.11 as mod_perl says. good. in includes.pl use lib qw(D:/Apache2/htdocs/i

mp2 crashing Apache server

2005-09-19 Thread Aliet Santiesteban Sifontes
Hi list, I'm in the process of migrating our CGI applications to mod_perl, we are using: Windows 2003 Enterprise Server, ActivePerl 5.8.7 Build 813, Apache-2.0.54. Perl with modules: 1. ActivePerl-DocTools [0.5] 2. Archive-Tar[1.23] 3. Archive-Zip[1.14] 4. CGI

Re: cdb/Storable (Was: Storable Freeze/thaw ....)

2005-09-19 Thread Bill Whillers
Thanks Perrin, > Compression (using zlib) tends to speed things up a bit. So at what point (1k, 10k, 100k) might the overhead of a decompress on a frozen chunk make real sense? -- If we compressed every frozen 1k item (requiring decompress everytime), might this only add unnecessary overhead?

Re: cdb/Storable (Was: Storable Freeze/thaw ....)

2005-09-19 Thread Perrin Harkins
On Mon, 2005-09-19 at 12:02 -0700, Bill Whillers wrote: > From what I've learned (mostly from the generous people on this list), our > local mysql, Storable and other usages does a great job at meeting those > needs. In reality, the ideal case would be if our data were non-changing and > could

cdb/Storable (Was: Storable Freeze/thaw ....)

2005-09-19 Thread Bill Whillers
> Why wrap the stored object in a database? Thanks Matthew -- Our data is somewhat volatile but since our frozen objects can get pretty big, like others we're always looking for an all-around better "shared" solution for volatile data which is required during almost every session. From what I'

Re: Apache::Test problem

2005-09-19 Thread Malcolm J Harwood
On Monday 19 September 2005 12:59 pm, Geoffrey Young wrote: > > t/response/Something/00foo.pm > > > > requires the NNfoo.pm to be lower case. > > 00foo.pm works > > 00Foo.pm does not. > yeah, IIRC I mention in those slides somewhere that the t/response > voodoo is case sensitive. You d

Re: Apache::Test problem

2005-09-19 Thread Geoffrey Young
Philip M. Gollucci wrote: Malcolm J Harwood wrote: http://people.apache.org/~geoff/Apache-Test-skeleton-mp2.tar.gz THIS PACKAGE IS FOR mod_perl 2.0 (1.99_XX) ONLY! a mod_perl 1.0 package is available from http://perl.apache.org/~geoff/ You may want to update that slightly as I think RC5

Re: Apache::Test problem

2005-09-19 Thread Geoffrey Young
missing piece: t/response/Something/00foo.pm requires the NNfoo.pm to be lower case. 00foo.pm works 00Foo.pm does not. yeah, IIRC I mention in those slides somewhere that the t/response voodoo is case sensitive. I know I try to remember to emphasize that when I talk about it...

Re: Apache::Test problem

2005-09-19 Thread Philip M. Gollucci
Malcolm J Harwood wrote: http://people.apache.org/~geoff/Apache-Test-skeleton-mp2.tar.gz THIS PACKAGE IS FOR mod_perl 2.0 (1.99_XX) ONLY! a mod_perl 1.0 package is available from http://perl.apache.org/~geoff/ You may want to update that slightly as I think RC5 was the only 1.99_XX (22) rele

Re: Apache::Test problem

2005-09-19 Thread Malcolm J Harwood
On Monday 19 September 2005 07:39 am, Geoffrey Young wrote: > > however "make test" (or "t/TEST") fails because it can't find > > TestStartup/00startup.pm as it's only got "t/" in the path, not > > "t/response". > > > > What did I miss? > > are you using TestRunPerl in your Makefile.PL? Yes. > t

my todo list:

2005-09-19 Thread Philip M. Gollucci
I've gotten a bit behind in my list responses; however, don't think I've forgotten you. I owe the following threads some responses hopefully tonightish: Re: [mp2] Directive changes the command name <[EMAIL PROTECTED]> Re: Mod_Perl2 w/mod_proxy/mod_rewrite <[EMAIL PROTECTED]> Re: Sth I don't u

Re: Apache::Test problem

2005-09-19 Thread Geoffrey Young
> however "make test" (or "t/TEST") fails because it can't find > TestStartup/00startup.pm as it's only got "t/" in the path, not "t/response". > > What did I miss? are you using TestRunPerl in your Makefile.PL? try starting with this skeleton http://people.apache.org/~geoff/Apache-Test-ske

Re: Storable Freeze/thaw - Size Limits - 65535 (?)

2005-09-19 Thread Bill Whillers
I should have had "sanity check" in my subject -- This was exactly the problem.. my first asumption a couple hours ago was 2^24 ... not 16 -- (wrong table) -- Grief!! Thanks _alot_ guys. On Sunday 18 September 2005 22:45, you wrote: > Bill, > > It might be a MySQL limitation: > > http://dev

Re: Storable Freeze/thaw - Size Limits - 65535 (?)

2005-09-19 Thread Peter Leonard
Bill, It might be a MySQL limitation: http://dev.mysql.com/doc/mysql/en/storage-requirements.html If you're using a BLOB column type, you're limited to 2^16 bytes, which is the barrier you're hitting. Try a MEDIUMBLOB column and see if that helps. --pete On Sun, 18 Sep 2005, Bil