Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 99562 invoked from network); 19 Apr 2008 09:16:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Apr 2008 09:16:30 -0000 Received: (qmail 76907 invoked by uid 500); 19 Apr 2008 09:16:30 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 76887 invoked by uid 500); 19 Apr 2008 09:16:30 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 76876 invoked by uid 99); 19 Apr 2008 09:16:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Apr 2008 02:16:30 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [66.39.3.87] (HELO wbm9.pair.net) (66.39.3.87) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Apr 2008 09:15:47 +0000 Received: by wbm9.pair.net (Postfix, from userid 65534) id 82A6F3BD20; Sat, 19 Apr 2008 05:15:56 -0400 (EDT) Received: from 124.43.200.251 ([124.43.200.251]) (SquirrelMail authenticated user senaka@wso2.com) by webmail9.pair.com with HTTP; Sat, 19 Apr 2008 14:45:56 +0530 (IST) Message-ID: <1144.124.43.200.251.1208596556.squirrel@webmail9.pair.com> In-Reply-To: <22a059a60804182357t161e1af5m2feddf74e09e1f1b@mail.gmail.com> References: <87wsmyymq0.fsf@etch.wso2.com> <48083B4D.9070404@gmail.com> <1208509896.6208.18.camel@manjula> <48095DC6.5000708@gmail.com> <1208581038.6174.50.camel@manjula> <22a059a60804182357t161e1af5m2feddf74e09e1f1b@mail.gmail.com> Date: Sat, 19 Apr 2008 14:45:56 +0530 (IST) Subject: Re: [Axis2]Apache Axis2/C 1.3.1 RC2 From: "Senaka Fernando" To: "Apache AXIS C Developers List" Reply-To: senaka@wso2.com User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I ran Axis2/C with the IIS module (WinXP + IIS 5.1). All samples ran well and no build issues etc. Regards, Senaka > Hi all, > There was a bug in guththila_un_init function and guththila_reader_free > function which will cause memory leaks. Should I commit the fix into the > trunk. I think these fixes must go with the 1.3.1. > > Thanks > Milinda > > On Sat, Apr 19, 2008 at 10:27 AM, Manjula Peiris wrote: > >> Hi Damitha, >> >> With HTTPD we are now creating the local pool (actually request pool) >> with our own apr_allocator. See the following two function calls at the >> beginning of the mod_axis2.c axis2_handler function. >> >> apr_allocator_create(&local_allocator); >> apr_pool_create_ex(&local_pool, NULL, NULL, local_allocator); >> >> The two NULL values passing are the parent pool and the callback >> function inorder to handle pool creation failure. >> >> At the end of this axis2_handle function we free both apr_pool and the >> apr_allocator using the following two calls. >> >> apr_pool_destroy(local_pool); >> apr_allocator_destroy(local_allocator); >> >> What makes sandesha to crash is the call to apr_allocator_destroy. But >> that call is necessary when handling large size of requests frequently. >> (specially quite large attachments). >> >> Because sandesha starts threads and since these threads remains after >> the request the crashing happens. The solution for this is we need to >> keep a pointer to this apr_allocator_t * (here local_allocator) and a >> ref count to keep the number of references. Inside Sandesha sender >> thread we can increment the ref count. This destroy function calls only >> if the ref count is zero. we can keep the ref_count and the pointer to >> the apr_allocator inside axutil_allocator. Then checking for the ref >> count and calls to destroy functions are wrapped in a macro called >> AXIS2_POOL_ALLOCATOR_DESTROY which is similar to AXIS2_FREE. Both >> Sandesha and mod_axis2 calls this macro instead of calling destroy >> functions straightway as we are doing now. >> >> Thanks, >> -Manjula. >> >> >> >> On Sat, 2008-04-19 at 08:19 +0530, Damitha Kumarage wrote: >> > Manjula Peiris wrote: >> > >> > >On Fri, 2008-04-18 at 11:40 +0530, Damitha Kumarage wrote: >> > > >> > > >> > >>Axis2C-1079 is still open. That means Sandesha2/C dual channel does >> not >> > >>work with Apache2. >> > >>This problem started due to a change to Axis2/C code. We cannot >> release >> > >>without solving this. >> > >> >> > >> >> > > >> > >This may fails because now we are freeing the apr local pool. I did >> fix >> > >this locally in my machine but it needs more testing. Since it is now >> so >> > >close to the release I will commit the stuff after the release. >> > > >> > > >> > +1 for doing this after 1.3.1 release. Could you please explain about >> > the changes involved so that I too can have a look at it. >> > thanks >> > Damitha >> > >> > >Thanks, >> > >-Manjula. >> > > >> > > >> > > >> > >>thanks >> > >>Damitha >> > >> >> > >>Dinesh Premalal wrote: >> > >> >> > >> >> > >> >> > >>>Hi All, >> > >>> >> > >>> I have packed and uploaded Apache Axis2/C 1.3.1 RC2 here >> > >>> [1]. Please test and send your feedback. >> > >>> >> > >>>thanks, >> > >>>Dinesh >> > >>> >> > >>>1.http://people.apache.org/~dinesh/release/Axis2C-1.3.1-RC2/ >> > >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > >>--------------------------------------------------------------------- >> > >>To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org >> > >>For additional commands, e-mail: axis-c-dev-help@ws.apache.org >> > >> >> > >> >> > >> >> > > >> > > >> > >--------------------------------------------------------------------- >> > >To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org >> > >For additional commands, e-mail: axis-c-dev-help@ws.apache.org >> > > >> > > >> > > >> > > >> > >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org >> > For additional commands, e-mail: axis-c-dev-help@ws.apache.org >> > >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org >> For additional commands, e-mail: axis-c-dev-help@ws.apache.org >> >> > > > -- > http://inf-dimensions.blogspot.com "Infinite Dimensions" > http://wsaxc.blogspot.com "Web Services With Axis2/C" > --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-dev-help@ws.apache.org