Software caused connection abort at

2009-07-31 Thread Jim
I recently upgraded software on my apache servers so that I am now running: Apache/2.2.3 MOD_PERL = mod_perl/2.0.4 MOD_PERL_API_VERSION = 2 perl 5.8.8 Operating system: Red Hat Linux 2.6.18-128.2.1 In my web server error logs I started seeing messages such as: Software caused connection abort at

Re: mod_perl2.0.4: Apache2::compat errors

2009-07-31 Thread Perrin Harkins
On Fri, Jul 31, 2009 at 1:23 PM, George Karabotsos wrote: > I have created this minimal script: > > #!/usr/bin/env perl > use Apache2::compat; > > and here's what I get: > >> perl -c Tester.pl You can't do that. The mod_perl classes only work when run inside mod_perl. What are you trying to do?

mod_perl2.0.4: Apache2::compat errors

2009-07-31 Thread George Karabotsos
Hi guys, I have created this minimal script: #!/usr/bin/env perl use Apache2::compat; and here's what I get: > perl -c Tester.pl Undefined subroutine &Apache2::ServerUtil::restart_count called at /usr/lib/perl5/site_perl/5.10.0/i486-linux-thread-multi/Apache2/compat.pm line 76. Compilation fail

Re: Apache2::Resource - What happens when the resource limit is consumed by the process

2009-07-31 Thread Perrin Harkins
On Fri, Jul 31, 2009 at 5:31 AM, Shibi NS wrote: > For example I sets the RSS  to 70 M , but due to some bugs one of the > process requires 80 M how does the systems handles it ? The process will die. Setting resource limits is meant to be a safety measure to prevent runaway code from crashing yo

make fails at Apache-Reload

2009-07-31 Thread George Karabotsos
Hi guys, I got the trunk version from SVN: svn checkout https://svn.apache.org/repos/asf/perl/modperl/trunk/ mod_perl-trunk I am using Apache 2.2.12. To build mod_perl I did: % perl Makefile.PL MP_APXS=/usr/local/httpd/bin/apxs # Completed successfuly. % make which failed at: ... make[1]: Ente

Re: How to write a handler

2009-07-31 Thread André Warnier
Adam Prime wrote: Sudheer Puppala wrote: Hi I am java/flex programmer since 1yrs and a little bit of perl. I have a requirement of write a handler at apache http server side using perl. Scenario: 1. My flex application request for a particular file to the apache server. 2. The serv

Re: How to write a handler

2009-07-31 Thread Adam Prime
Sudheer Puppala wrote: Hi I am java/flex programmer since 1yrs and a little bit of perl. I have a requirement of write a handler at apache http server side using perl. Scenario: 1. My flex application request for a particular file to the apache server. 2. The server upon receiving a

How to write a handler

2009-07-31 Thread Sudheer Puppala
Hi I am java/flex programmer since 1yrs and a little bit of perl. I have a requirement of write a handler at apache http server side using perl. Scenario: 1. My flex application request for a particular file to the apache server. 2. The server upon receiving a request look for the mime

Apache2::Resource - What happens when the resource limit is consumed by the process

2009-07-31 Thread Shibi NS
We can use Apache2::Resource to RSS and Memory,etc usage by the process . - What happens when the resource limit setting is reached and it requires more resource? For example I sets the RSS to 70 M , but due to some bugs one of the process requires 80 M how does the systems handles it ? --Shib