You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_python-dev@quetz.apache.org by Graham Dumpleton <gr...@dscpl.com.au> on 2006/08/01 13:02:54 UTC
Subversion trunk (3.3) currently hangs on tests.
FYI. The change I made for memory leak described in:
https://issues.apache.org/jira/browse/MODPYTHON-181
has caused a problem with other changes I made for:
https://issues.apache.org/jira/browse/MODPYTHON-155
This is causing test suite to hang on the tests:
test_req_handler
test_accesshandler_add_handler_to_empty_hl
The specific problem is caused by code which uses req.add_handler().
If you are using 3.3 from trunk, as long as you aren't using that method
you should be okay.
I'll try and work out an alternate way of doing what I needed. :-(
Graham
Re: Subversion trunk (3.3) currently hangs on tests.
Posted by Jim Gallacher <jp...@jgassociates.ca>.
I just noticed that when it hangs, the Apache process pegs the CPU at 98%.
When the test initially hung I just killed the test.py, but didn't think
to actually stop Apache. It took me a little while to figure out why my
computer was *so* sluggish this morning.
Jim
Jim Gallacher wrote:
> I just ran the tests with r427382 Apache 2.0.55 mpm-prefork.
>
> It *does not* hang with the traditional importer.
>
> It *does* hang when I enable the new importer in the tests with
> PythonOption('mod_python.future.importer *')
>
> Jim
>
>
> Graham Dumpleton wrote:
>> FYI. The change I made for memory leak described in:
>>
>> https://issues.apache.org/jira/browse/MODPYTHON-181
>>
>> has caused a problem with other changes I made for:
>>
>> https://issues.apache.org/jira/browse/MODPYTHON-155
>>
>> This is causing test suite to hang on the tests:
>>
>> test_req_handler
>> test_accesshandler_add_handler_to_empty_hl
>>
>> The specific problem is caused by code which uses req.add_handler().
>> If you are using 3.3 from trunk, as long as you aren't using that method
>> you should be okay.
>>
>> I'll try and work out an alternate way of doing what I needed. :-(
>>
>> Graham
>>
>
>
Re: Subversion trunk (3.3) currently hangs on tests.
Posted by Jim Gallacher <jp...@jgassociates.ca>.
I just ran the tests with r427382 Apache 2.0.55 mpm-prefork.
It *does not* hang with the traditional importer.
It *does* hang when I enable the new importer in the tests with
PythonOption('mod_python.future.importer *')
Jim
Graham Dumpleton wrote:
> FYI. The change I made for memory leak described in:
>
> https://issues.apache.org/jira/browse/MODPYTHON-181
>
> has caused a problem with other changes I made for:
>
> https://issues.apache.org/jira/browse/MODPYTHON-155
>
> This is causing test suite to hang on the tests:
>
> test_req_handler
> test_accesshandler_add_handler_to_empty_hl
>
> The specific problem is caused by code which uses req.add_handler().
> If you are using 3.3 from trunk, as long as you aren't using that method
> you should be okay.
>
> I'll try and work out an alternate way of doing what I needed. :-(
>
> Graham
>