Hi,
I am running mod_perl handlers under mod_perl 2.0.4 and apache 2.2.16.
Recently (probably after rebuilding with a more recent apache version - I
was using 2.2.9 before) I started frequently getting the following errors
in my error log:
Apache2::RequestIO::rflush: (103) Software caused connec
Hi,
your problem has nothing to do with the mod_perl output. The 20d and 0 are
length descriptors for chunked encoding, check out the response header:
Transfer-Encoding: chunked
This SHOULD be supported by a HTTP 1.1 client. In fact, I would be
surprised if cadaver/neon couldnt handle this.
Wha
Btw, if you simply want to disable chunked encoding, buffer your output in
your mod_perl handler, set the Content-Length response header once your
output is complete and only after that print your output.
Apache only activates chunked encoding if no Content-Length header is
present when output is
Am Do, 2.12.2010, 02:24, schrieb Xiao Lan:
> On Thu, Dec 2, 2010 at 3:38 AM, Mithun Bhattacharya
> wrote:
>> Can you confirm the error you are encountering using your current method
>> ?
>>
>> I would like to understand what you are trying to achieve by having a
>> global file handle - do you want
Am Do, 2.12.2010, 14:24, schrieb Xiao Lan:
> On Thu, Dec 2, 2010 at 5:58 PM, Hendrik Schumacher
> wrote:
>
>>
>> In the perl file that holds your handler declare a variable on module
>> level:
>>
>> my $qqwry = undef;
>>
>> In the handler inst
Am Fr, 28.01.2011, 09:31, schrieb Michiel Beijen:
> On Fri, January 28, 2011 01:14, Michael Peters wrote:
>> Another thing that maybe the OP should look at (if he hasn't already) is
>> to run a proxy in front of the main mod_perl application. Even if the
>> proxy is on the same machine it will help
Am Fr, 11.02.2011, 16:46, schrieb Michael Peters:
> On 02/11/2011 09:26 AM, Torsten Förtsch wrote:
>
>> What does that mean?
>>
>>
>> The total size of a process comprises its complete address space.
>> Normally, by
>> far not everything of this space is present in RAM.
>
> I'
Am Fr, 11.02.2011, 17:10, schrieb Michael Peters:
> On 02/11/2011 11:01 AM, Hendrik Schumacher wrote:
>
>> I didnt have time yet to read Torsten's post (will do later) but I will
>> take a stab at this question. You are missing the difference between
>> address
Hi,
I would go with rss - shared_size. Especially on 64bit-platforms the
total_size gives much too high values (even without swap space). Using the
other values like Pss or Swap is not possible on older kernels (I don't
have these values on EC2-instances for example). An option would be to
substra
Am Mi, 30.03.2011, 12:17 schrieb Chris Datfung:
> I have a script that uses Apache2::Filter to filter the server response
> output and inject a string into the HTML body. The script normally works
> fine expect intermittently the output is missing the injected string. This
> happens around 10% of t
Am Do, 31.03.2011, 06:30 schrieb Chris Datfung:
> On Wed, Mar 30, 2011 at 12:36 PM, Hendrik Schumacher
> wrote:
>
>> Am Mi, 30.03.2011, 12:17 schrieb Chris Datfung:
>>
>> I had a similar problem with a http proxy that injected a string into
>> the
>> HTML
imes gets cut after ~2500 bytes
> or so. Do you know of any way to force the bucket to be a certain length?
>
> Thanks
> Chris
>
> On Thu, Mar 31, 2011 at 10:07 AM, Hendrik Schumacher
> wrote:
>
>> Am Do, 31.03.2011, 06:30 schrieb Chris Datfung:
>> > On
Am Mo, 4.07.2011, 12:03 schrieb Tosh Cooey:
> The only public AMI for EC2 setup with mod_perl I can easily find is an
> OpenSuse one from 2009.
>
> Services like Bitnami are a really nice platform for launching LAMP
> stacks, unfortunately the P is anything but Perl :(
>
> Is there a reason for the
Maybe you are using the wrong sethandler value for your application, check
http://perl.apache.org/docs/2.0/user/config/config.html#C_GlobalRequest_
If you are using a global $r variable you should specify
SetHandler perl-script
and not
SetHandler modperl
Using the latter you get the $r variab
I think it really depends on what the handler is doing. If it is mainly
executing some db queries rewriting it in C won't make much of a
difference. If the handler is doing some expensive computation it might
be worth it. Before you rewrite the whole handler though you should look
at the option
15 matches
Mail list logo