Catching a POST_MAX overage

2006-02-02 Thread Jonathan
I've got POST_MAX set to limit to 100k sub handler { my $r = shift; my $apr = Apache2::Request->new( $r , DISABLE_UPLOADS=>0 , POST_MAX=>100_000 ); } I'm able to upload files < 100 k fine But I just realized - what will happen if i try to upload a 200k file? so i tried

mp2 error

2006-02-02 Thread The Doctor
I compiled mod perl 2.0.2 using perl 5.8.8 and upon installation telnet localhost 80 gives me Apache/2.0.55 (Unix) DAV/2 mod_ruby/1.2.4 mod_python/3.1.3 Python/2.3.2 FrontPage/5.0.2.2635 PHP/5.0.4 mod_perl/2.0.2 Perl/v5.8.6 ??? What is wrong? -- Member - Liberal International This is [

Re: mod_perl2 DBI handle freshining problem solved "once and for all"...

2006-02-02 Thread Clinton Gormley
> Okay, thanks for the report and the patch. We definitely want this > functionality to work. I haven't used Apache::DBI recently, but the > current code was working fine for me on mp1. Can you file this bug > report and patch on the RT queue for Apache::DBI on CPAN? That would > make it easie

Re: child process exited with status 3221225477 -- Restarting

2006-02-02 Thread Brian Reichert
On Thu, Feb 02, 2006 at 03:18:41PM +0100, Henrik Schak Hansen wrote: > > -8<-- Start Bug Report 8<-- > 1. Problem Description: > > Every now and then (random) mod_perl/apache restarts for no apparent > reason, with > "child process exited with status 32212

Re: mod_perl2 DBI handle freshining problem solved "once and for all"...

2006-02-02 Thread Perrin Harkins
On Thu, 2006-02-02 at 00:43 +0100, Clinton Gormley wrote: > That is now what I have seen in mp2. In fact the code that (according > to the comments) is supposed to do that, does nothing but avoid > connecting to the DB on the very first start. (when restart count == 1) > > The parent server immed

Re: mod_perl2 DBI handle freshining problem solved "once and for all"...

2006-02-02 Thread Henri Asseily
Apache::DBI overrides disconnect() to be a no-op, and connect_cached() doesn't. (But Apache::DBI doesn't do this during startup.) It would be reasonable for Apache::DBI to provide a way for applications to call disconnect() and have it actually disconnect. If you want another hack :-), ch

Re: hardware prerequisite

2006-02-02 Thread Jonathan
On Feb 2, 2006, at 4:15 AM, Ken Perl wrote: My machine which cpu is celeron 266Mhz is running Debian 3.1, and apche2 modperl2 are configured for running the content manager program WebGUI which needs modperl2. Now my issue is the performance is very bad and very slow even I click edit a link. T

child process exited with status 3221225477 -- Restarting

2006-02-02 Thread Henrik Schak Hansen
-8<-- Start Bug Report 8<-- 1. Problem Description: Every now and then (random) mod_perl/apache restarts for no apparent reason, with "child process exited with status 3221225477 -- Restarting." Since my perl web-application is very large and the error lo

Re: hardware prerequisite

2006-02-02 Thread Ken Perl
I could run WebGUI with apache very well before, but apache2 is very slow, so I doubt some bugs in apache2 or modperl2, but I can't finger this out. On 2/2/06, Mark Galbreath <[EMAIL PROTECTED]> wrote: > I wasn't aware you could run any modern software on a CPU that slow. Use > that machine for a

[AuthenNTLM, mod_proxy] Apache2::AuthenNTLM fails to work with mod_proxy

2006-02-02 Thread Konstantin Khomoutov
I want to implement NTLM-based access to CUPS. CUPS doesn't support that by itself so I've decided to make it listen strictly on 127.0.0.1 and "export" it via a local Apache's vhost using mod_proxy. Here's my vhost setup: ---8<--[cut start] Se

Re: mod_perl2 DBI handle freshining problem solved "once and for all"...

2006-02-02 Thread Tim Bunce
On Wed, Feb 01, 2006 at 02:06:22PM -0800, Tyler MacDonald wrote: > Perrin Harkins <[EMAIL PROTECTED]> wrote: > > > You have to expect certain basic things to work, and one of them is that a > > connection which can't be ping'ed is not holding a table lock. > > I completely disagree. Here's

Re: hardware prerequisite

2006-02-02 Thread Mark Galbreath
I wasn't aware you could run any modern software on a CPU that slow.  Use that machine for a doorstop, dude, and upgrade to something manufactured in the last 3 years.   mark>>> Ken Perl <[EMAIL PROTECTED]> 02-Feb-06 04:15 AM >>> My machine which cpu is celeron 266Mhz is running Debian 3.1, andap

Re: hardware prerequisite

2006-02-02 Thread John ORourke
There's some good performance advice on perl.apache.org: http://perl.apache.org/docs/general/hardware/hardware.html#Memory Use top or ps to look at the size of the httpd processes - the memory used by the individual process is 'RSS' minus 'SHARE'. The more modules you load, objects you create

Re: hardware prerequisite

2006-02-02 Thread Tom Schindl
Hi, it depends on how many traffic you are expecting? Most of the time not you CPU is the bottleneck but your memory, at the moment your system begins to swap you are lost. For medium traffic sites a Celeron 1200 with 1 GB Ram is sufficient. Tom Ken Perl wrote: > My machine which cpu is celeron

hardware prerequisite

2006-02-02 Thread Ken Perl
My machine which cpu is celeron 266Mhz is running Debian 3.1, and apche2 modperl2 are configured for running the content manager program WebGUI which needs modperl2. Now my issue is the performance is very bad and very slow even I click edit a link. The question is what is hardware prereuisite for

Apache::AuthenNTLM problem and solution

2006-02-02 Thread OlkhinAG
Hello all,   Recently I had problem with Apache::AuthenNTLM and find no similar problem description in inet.   Problem was: I’ve installed latest Apache::AuthenNTLM module on Apache/1.3.33 (Unix) mod_perl/1.29 mod_ssl/2.8.23 OpenSSL/0.9.8 FreeBSD 4.10.   A

Re: mod_perl2 DBI handle freshining problem solved "once and for all"...

2006-02-02 Thread michael . peppler
> > > For this purpose, "connected" and "pingable" are the same thing. > > > > Yes and no. If you can't ping the server, but the TCP socket is > > still open, that means you essentially have this TCP connection to the > > server that's not being used, in an open state, for the rest of the lifet