Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 7011 invoked from network); 10 Mar 2008 10:04:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Mar 2008 10:04:10 -0000 Received: (qmail 8416 invoked by uid 500); 10 Mar 2008 10:04:07 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 8140 invoked by uid 500); 10 Mar 2008 10:04:06 -0000 Mailing-List: contact axis-c-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C User List" Reply-To: "Apache AXIS C User List" Delivered-To: mailing list axis-c-user@ws.apache.org Received: (qmail 8129 invoked by uid 99); 10 Mar 2008 10:04:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Mar 2008 03:04:06 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.68.5.17] (HELO relay03.pair.com) (209.68.5.17) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 10 Mar 2008 10:03:17 +0000 Received: (qmail 74847 invoked from network); 10 Mar 2008 10:03:33 -0000 Received: from unknown (HELO ?10.100.1.93?) (unknown) by unknown with SMTP; 10 Mar 2008 10:03:33 -0000 X-pair-Authenticated: 123.231.21.16 Message-ID: <47D5076D.8050602@wso2.com> Date: Mon, 10 Mar 2008 15:33:25 +0530 From: Samisa Abeysinghe User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Apache AXIS C User List Subject: Re: Core dumps in Axis libraries References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Raghavendra SM wrote: > As expected, when I put a delay of about 50 milliseconds between the > requests there is no dump. > > But we would still like to know the following, > + Isn't Axis capable of handling such huge bombardment of requests (of > the order of 1000's) one after another without any delay between the > requests? Has anyone tried such client before? > Yes it is supposed to. We have done performance testing that proved that Axis2/C can serve more than 300 rps. > + Can we make out anything out of the valgrind report or the axis logs > that were attached? > Unfortunately not. When valgrind runs, it makes the system slow, that prevents the system crashing in situations like that you are experiencing. To solve this kind of a problem, it is a must that you provide us with some sample code that can be used to reproduce the problem. Without having a way to re-produce the situation, there is no way to fix this problem - it could well be a problem in Axis2/C as well as it could also be in the code that you use. Samisa... > Regards, > ~raghav > > > -----Original Message----- > From: Senaka Fernando [mailto:senaka@wso2.com] > Sent: Thursday, March 06, 2008 4:22 PM > To: Apache AXIS C User List > Subject: RE: Core dumps in Axis libraries > > Hi Raghav, > > Can you please try this with --enable-guthilla=yes, and send the > dump.log, > and also the appropriate log_files generated by the server/client. > > There also can be issues with your "condition variable" being used in > multiple threads. > > It also seems that if you pause between your requests you might get this > solved. According to what you say, when you increase the log_level, > obviously you waste some time there which might be the solution rather. > You can use the AXIS2_SLEEP() and AXIS2_USLEEP() inside Axis2/C to pause > between requests. You can get an idea on how to use these functions by > taking a look at the Axis2/C user_guide/client samples. > > Regards, > Senaka > > >> Thanks, >> >> As suggested, I tried using axis2c-1.3.0 both with and without >> --enable-guthilla=yes. But I still see different dumps consistently. >> Please find the attached file with back-traces. >> >> Are you using the same service client instance from multiple threads? >> >>>>> We have a axis thread pool with default number of threads and a set >>>>> >> of our own threads(about 10, lets call them "database threads"). >> + On receiving a HTTP soap request, axis thread invokes the >> > appropriate > >> function that is bound to our logic. >> + Now, the axis thread requests a "database thread" to perform the >> appropriate query and waits on a condition variable. >> + our "db thread" performs the necessary query and signals on that >> condition variable so that axis thread shall take the control over. >> + axis thread will create the om output and dispatch as usual. >> >> My doubts: >> + does this design has any apparent drawback when there is a flurry of >> back-to-back soap requests? >> + Is there a need to increase the axis thread pool size? If yes, how >> > to > >> do it? >> + As told before, the dump is seen during a particular scenario only. >> i.e: while trying to add a list of already existing users to my >> database. For each user there is a SOAP request generated and the >> requests are sequential, i.e the second request is sent only after the >> response for previous request is received. >> + if I increase the log level of my own module that uses axis2c, there >> is no dump. On increasing the log level, my module writes quite a bit >> > of > >> information to my log file. >> >> Your help is appreciated. >> >> Thanks & Regards, >> ~raghav >> >> >> -----Original Message----- >> From: Samisa Abeysinghe [mailto:samisa@wso2.com] >> Sent: Wednesday, March 05, 2008 7:25 PM >> To: Apache AXIS C User List >> Subject: Re: Core dumps in Axis libraries >> >> Raghavendra SM wrote: >> >>> Thanks Manjula, >>> >>> But thats not a viable option for us. We would still want to continue >>> using axis2C-1.0 for some more time. >>> >>> Are these dumps well known? >>> >> No. >> >> Are you using the same service client instance from multiple threads? >> >> Samisa... >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org >> For additional commands, e-mail: axis-c-user-help@ws.apache.org >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org >> For additional commands, e-mail: axis-c-user-help@ws.apache.org >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-c-user-help@ws.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-c-user-help@ws.apache.org > > > > -- Samisa Abeysinghe Software Architect; WSO2 Inc. http://www.wso2.com/ - "Oxygenating the Web Service Platform." --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-user-help@ws.apache.org