axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dumindu Pallewela" <>
Subject Re: [Axis2C] mod_axis2 service shutdown problem
Date Wed, 20 Feb 2008 06:09:58 GMT
Hi Ben,

On Feb 20, 2008 1:40 AM, Ben Wyckoff <> wrote:
> Has anyone else run into this issue? Is anyone trying to allocate resources
> that have to be freed? (In particular, I'm opening a database, and I need to
> properly close it - I can't just rely on the OS to free memory or close file
> handles.)

This seems to be a problem with mod_axis2. Although the memory
allocated with apr_pools will get free'd eventually without free
functions being called, in order to free up other resources, we need
to register relevant free functions to pool cleanup of a pool which
has resource's lifetime. Please add a jira issue.

The attached patch should solve this issue when shared memory is not
used. I'm not sure if it works when shared memory is used. Hope that
someone familiar with axis2c shared memory implementation will look
further into it.


Dumindu Pallewela
GPG ID: 0x9E131672

WSO2 | "Oxygenating the Web Service Platform" |

View raw message