You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Hans Scharler <hs...@gmail.com> on 2011/08/24 03:19:26 UTC

Re: [ANNOUNCE] mod_perl 2.0.5

Any word on the release of mod_perl 2.0.6?

I will be glad to test to see if it solves the Apache restart issue when a
client stops the browser.

Thanks,
Hans


On Mon, May 30, 2011 at 8:31 PM, Fred Moyer <fr...@redhotpenguin.com> wrote:

> You might try pulling and building from svn trunk, Steve Hay fixed
> something that may be related.  I don't have enough WinFoo to say for
> sure.  Or wait another 4-6 weeks for 2.0.6.
>
> http://perl.apache.org/download/source.html
>
> =item 2.0.6-dev
>
> PerlIOApache_flush() and mpxs_Apache2__RequestRec_rflush() now no longer
> throw
> exceptions when modperl_wbucket_flush() fails if the failure was just a
> reset
> connection or an aborted connection. The failure is simply logged to the
> error
> log instead. This should fix cases of httpd.exe crashing when users press
> the
> Stop button in their web browsers.
> [Steve Hay]
>
> On Sun, May 29, 2011 at 7:56 PM, Hans Scharler <hs...@gmail.com>
> wrote:
> > Yes, the entire process restarts.
> > Here is the exact line:
> > ModPerl::Util::exit: (120000) exit was called at
> > D:/InterfaceServer/Perl/lib/CGI/Carp.pm line 561
> > [Sun May 29 05:25:10 2011] [notice] Parent: child process exited with
> status
> > 255 -- Restarting.
> > It's a notice.
> > I did some further testing and found that it restarts and exits apache
> when
> > the application is printing to the browser. So, if you have a bunch of
> data
> > to send to the browser and the connection stops in the middle, it throws
> > the above error.
> > my $template = "Lots of data ..";
> > print $template;
> > Is there a better way to transfer lots of data to the browser?
> > This is where I was able to to track it down to. If I stop the browser
> > before it hits this print line, the "ModPerl::Util::exit(0)" works.
> > Thanks fro taking a look.
> > Hans
> >
> > On Sun, May 29, 2011 at 3:07 PM, Thomas den Braber <th...@delos.nl>
> wrote:
> >>
> >> Hans,
> >>
> >> > ModPerl::Util::exit: (120000) exit was called at
> >> > D:/InterfaceServer/Perl/lib/CGI/Carp.pm line 561
> >> > Parent: child process exited with status 255 -- Restarting.
> >>
> >> I have done a lot of testing on windows with the 2.05 release and have
> not
> >> seen this error before. It must be something specific in your code. It
> >> looks like the exit command is triggers some where in your code (
> >> http://perl.apache.org/docs/2.0/api/ModPerl/Util.html#C_exit_ ).
> >>
> >> Does it also restart Apache?
> >>
> >> I have done some testing with calling ModPerl::Util::exit(0) (that's
> what
> >> is actually done in CGI::Carp) and did not found an error in my log.
> does
> >> it say [error] or [warn] in your log file ?
> >>
> >> --
> >> Thomas
> >>
> >>
> >
> >
>

Re: [ANNOUNCE] mod_perl 2.0.5

Posted by Fred Moyer <fr...@redhotpenguin.com>.
The word is 'pretty soon'.  We're working out some of the release
issues that slowed down the last release.

You can always pull from subversion trunk and test with that version
to see if it resolves the issue you are seeing.

On Tue, Aug 23, 2011 at 6:19 PM, Hans Scharler <hs...@gmail.com> wrote:
> Any word on the release of mod_perl 2.0.6?
> I will be glad to test to see if it solves the Apache restart issue when a
> client stops the browser.
> Thanks,
> Hans
>
> On Mon, May 30, 2011 at 8:31 PM, Fred Moyer <fr...@redhotpenguin.com> wrote:
>>
>> You might try pulling and building from svn trunk, Steve Hay fixed
>> something that may be related.  I don't have enough WinFoo to say for
>> sure.  Or wait another 4-6 weeks for 2.0.6.
>>
>> http://perl.apache.org/download/source.html
>>
>> =item 2.0.6-dev
>>
>> PerlIOApache_flush() and mpxs_Apache2__RequestRec_rflush() now no longer
>> throw
>> exceptions when modperl_wbucket_flush() fails if the failure was just a
>> reset
>> connection or an aborted connection. The failure is simply logged to the
>> error
>> log instead. This should fix cases of httpd.exe crashing when users press
>> the
>> Stop button in their web browsers.
>> [Steve Hay]
>>
>> On Sun, May 29, 2011 at 7:56 PM, Hans Scharler <hs...@gmail.com>
>> wrote:
>> > Yes, the entire process restarts.
>> > Here is the exact line:
>> > ModPerl::Util::exit: (120000) exit was called at
>> > D:/InterfaceServer/Perl/lib/CGI/Carp.pm line 561
>> > [Sun May 29 05:25:10 2011] [notice] Parent: child process exited with
>> > status
>> > 255 -- Restarting.
>> > It's a notice.
>> > I did some further testing and found that it restarts and exits apache
>> > when
>> > the application is printing to the browser. So, if you have a bunch of
>> > data
>> > to send to the browser and the connection stops in the middle, it throws
>> > the above error.
>> > my $template = "Lots of data ..";
>> > print $template;
>> > Is there a better way to transfer lots of data to the browser?
>> > This is where I was able to to track it down to. If I stop the browser
>> > before it hits this print line, the "ModPerl::Util::exit(0)" works.
>> > Thanks fro taking a look.
>> > Hans
>> >
>> > On Sun, May 29, 2011 at 3:07 PM, Thomas den Braber <th...@delos.nl>
>> > wrote:
>> >>
>> >> Hans,
>> >>
>> >> > ModPerl::Util::exit: (120000) exit was called at
>> >> > D:/InterfaceServer/Perl/lib/CGI/Carp.pm line 561
>> >> > Parent: child process exited with status 255 -- Restarting.
>> >>
>> >> I have done a lot of testing on windows with the 2.05 release and have
>> >> not
>> >> seen this error before. It must be something specific in your code. It
>> >> looks like the exit command is triggers some where in your code (
>> >> http://perl.apache.org/docs/2.0/api/ModPerl/Util.html#C_exit_ ).
>> >>
>> >> Does it also restart Apache?
>> >>
>> >> I have done some testing with calling ModPerl::Util::exit(0) (that's
>> >> what
>> >> is actually done in CGI::Carp) and did not found an error in my log.
>> >> does
>> >> it say [error] or [warn] in your log file ?
>> >>
>> >> --
>> >> Thomas
>> >>
>> >>
>> >
>> >
>
>

Re: [ANNOUNCE] mod_perl 2.0.5

Posted by Fred Moyer <fr...@redhotpenguin.com>.
The word is 'pretty soon'.  We're working out some of the release
issues that slowed down the last release.

You can always pull from subversion trunk and test with that version
to see if it resolves the issue you are seeing.

On Tue, Aug 23, 2011 at 6:19 PM, Hans Scharler <hs...@gmail.com> wrote:
> Any word on the release of mod_perl 2.0.6?
> I will be glad to test to see if it solves the Apache restart issue when a
> client stops the browser.
> Thanks,
> Hans
>
> On Mon, May 30, 2011 at 8:31 PM, Fred Moyer <fr...@redhotpenguin.com> wrote:
>>
>> You might try pulling and building from svn trunk, Steve Hay fixed
>> something that may be related.  I don't have enough WinFoo to say for
>> sure.  Or wait another 4-6 weeks for 2.0.6.
>>
>> http://perl.apache.org/download/source.html
>>
>> =item 2.0.6-dev
>>
>> PerlIOApache_flush() and mpxs_Apache2__RequestRec_rflush() now no longer
>> throw
>> exceptions when modperl_wbucket_flush() fails if the failure was just a
>> reset
>> connection or an aborted connection. The failure is simply logged to the
>> error
>> log instead. This should fix cases of httpd.exe crashing when users press
>> the
>> Stop button in their web browsers.
>> [Steve Hay]
>>
>> On Sun, May 29, 2011 at 7:56 PM, Hans Scharler <hs...@gmail.com>
>> wrote:
>> > Yes, the entire process restarts.
>> > Here is the exact line:
>> > ModPerl::Util::exit: (120000) exit was called at
>> > D:/InterfaceServer/Perl/lib/CGI/Carp.pm line 561
>> > [Sun May 29 05:25:10 2011] [notice] Parent: child process exited with
>> > status
>> > 255 -- Restarting.
>> > It's a notice.
>> > I did some further testing and found that it restarts and exits apache
>> > when
>> > the application is printing to the browser. So, if you have a bunch of
>> > data
>> > to send to the browser and the connection stops in the middle, it throws
>> > the above error.
>> > my $template = "Lots of data ..";
>> > print $template;
>> > Is there a better way to transfer lots of data to the browser?
>> > This is where I was able to to track it down to. If I stop the browser
>> > before it hits this print line, the "ModPerl::Util::exit(0)" works.
>> > Thanks fro taking a look.
>> > Hans
>> >
>> > On Sun, May 29, 2011 at 3:07 PM, Thomas den Braber <th...@delos.nl>
>> > wrote:
>> >>
>> >> Hans,
>> >>
>> >> > ModPerl::Util::exit: (120000) exit was called at
>> >> > D:/InterfaceServer/Perl/lib/CGI/Carp.pm line 561
>> >> > Parent: child process exited with status 255 -- Restarting.
>> >>
>> >> I have done a lot of testing on windows with the 2.05 release and have
>> >> not
>> >> seen this error before. It must be something specific in your code. It
>> >> looks like the exit command is triggers some where in your code (
>> >> http://perl.apache.org/docs/2.0/api/ModPerl/Util.html#C_exit_ ).
>> >>
>> >> Does it also restart Apache?
>> >>
>> >> I have done some testing with calling ModPerl::Util::exit(0) (that's
>> >> what
>> >> is actually done in CGI::Carp) and did not found an error in my log.
>> >> does
>> >> it say [error] or [warn] in your log file ?
>> >>
>> >> --
>> >> Thomas
>> >>
>> >>
>> >
>> >
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org