Re: PerlInterpScope removed, the compatibility with threaded MPMs fixed

Steve Hay <[email protected]>
Newsgroups gmane.comp.apache.mod-perl.devel
Message-ID <CADED=K53VZ+bnQkWW--HoavsZC4A1pfWC2Z+9V7+z0F=Q5Q6pg@mail.gmail.com>
On 29 May 2015 at 06:45, Jan Kaluža <[email protected]> wrote:
> Hi,
>
> as discussed in the thread about commit r1676417, I've removed
> PerlInterpScope directive. The reasoning is described in the
> http://svn.apache.org/r1682369 commit message, but I will paste it here too:
>
> ~~~
> Remove PerlInterpScope directive as discussed on mailing list.
> PerlInterpScope did not work correctly with httpd-2.4.x threaded MPMs.
> For example when using 'PerlInterpScope connection' and multiple
> requests are handled using the single connection, every request tries
> to fetch new interpreter. This leads to deadlock soon, because we can always
> have more requests than interpreters.
>
> There are more situations like the one described above and the fix is quite
> hard with the way how the usage of PerlInterpeters is designed currently.
> ~~~
>
> This and other changes I've done in trunk today should fix the
> modperl-2.0.9-RC1 freeze seen with threaded MPMs on httpd-2.4.x. Could you
> please test it?
>
> If things will look OK, maybe we could release RC2 to let more people to
> test it.
>

Fantastic! Thanks for this. I will test it this evening/tomorrow and
roll out an RC2 after that if all is looking well.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.