X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 004EC11F6964 for ; Tue, 18 Apr 2006 00:25:26 -0300 (ADT) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Score: 0.12 X-Spam-Level: X-Spam-Status: No, score=0.12 required=5 tests=[AWL=0.120] Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id vxzWIXvMdOkW for ; Tue, 18 Apr 2006 00:25:23 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from lvs2.netcore.co.in (lvs2.netcore.co.in [202.162.240.2]) by postgresql.org (Postfix) with ESMTP id 11EE111F6711 for ; Tue, 18 Apr 2006 00:25:22 -0300 (ADT) Received: from uucp3.netcore.co.in (uucp3.netcore.co.in [202.162.229.13]) by lvs2.netcore.co.in (Postfix) with ESMTP id 7E22C350E71; Tue, 18 Apr 2006 08:55:18 +0530 (IST) Received: from uucp1.netcore.co.in (unknown [192.168.2.1]) by uucp3.netcore.co.in (Postfix) with ESMTP id D81B63B887; Tue, 18 Apr 2006 08:55:17 +0530 (IST) Received: by uucp1.netcore.co.in (Postfix, from userid 10) id ACDA21913; Tue, 18 Apr 2006 08:55:18 +0530 (IST) Received: from pavan.psmw (unknown [192.168.70.1]) by ho.netcore.co.in (Postfix) with ESMTP id 33D57834019; Tue, 18 Apr 2006 09:11:41 +0530 (IST) Subject: Re: thread hang on execute call From: Pavan Kumar To: Dave Cramer Cc: David Hustace , pgsql-jdbc@postgresql.org In-Reply-To: <509620E2-FA77-4A73-AC9F-9FB8C4B5B218@fastcrypt.com> References: <1144141469.16392.18.camel@pavan.psmw> <13631ECC-A37D-4A7E-A730-6CE9670724A4@fastcrypt.com> <18448.1144158004@sss.pgh.pa.us> <1144323083.26830.53.camel@pavan.psmw> <44350696.6030506@mobicomp.com> <44353BD2.7060108@opencloud.com> <2E5000CC-3E4B-4EC5-B26C-2A6CB989971E@fastcrypt.com> <4435842C.3000909@opencloud.com> <8E73BF65-87AA-4DCA-8FF2-1170101928DE@fastcrypt.com> <1144386438.17761.30.camel@pavan.psmw> <335427EC-F708-4607-848C-5EA27A4898E6@fastcrypt.com> <509620E2-FA77-4A73-AC9F-9FB8C4B5B218@fastcrypt.com> Content-Type: text/plain Date: Tue, 18 Apr 2006 08:52:20 +0530 Message-Id: <1145330540.11961.10.camel@pavan.psmw> Mime-Version: 1.0 X-Mailer: Evolution 2.4.0 Content-Transfer-Encoding: 7bit X-MailServ-MailFilter-MailScanner-Information: Please contact the ISP for more information X-MailServ-MailFilter-MailScanner: Found to be clean X-MailScanner-From: pavan@netcore.co.in X-Archive-Number: 200604/118 X-Sequence-Number: 15052 hi i had 15 worker threads running and performing xml parsing and then database operation on hug data(most operation are update). I am not sure but what i think is that my threads stuck one by one due to unavailability of memory or some other resources. but i was not able to get exact problem. Then i tried with single thread and it worked well for me. now i have been testing it with 5 threads and i haven't seen any problem so far. Thanks Pavan Kumar On Mon, 2006-04-17 at 12:40 -0400, Dave Cramer wrote: > David, > > Is there any way to simulate this. I'd like to get to the bottom of > it. I re-read your posts, and it appears you are using an old version > of the driver. > > Dave > On 17-Apr-06, at 11:48 AM, David Hustace wrote: > > > Pavan, > > > >> hi > >> i sending procedure as attachments that is called by java program. > >> please get it from attachments. > >> i creates 15 worker threads and there is queue for job. > >> worker threads get job from queue if it there and do some db > >> operation. > >> and wait if there is no job in queue. there is another thread that > >> push > >> job in queue. > >> since whole processing takes time.....so worker threads always > >> find job > >> in queue. > > > > Did you ever resolve this issue? I had a similar thread running on > > this recently: > > > > http://archives.postgresql.org/pgsql-jdbc/2006-01/msg00124.php > > > > and I haven't any closer on your thread, either. > > > > > > -David > > > > > > David Hustace > > The OpenNMS Group, Inc. > > Main : +1 919 545 2553 Fax: +1 503-961-7746 > > Direct: +1 919 827 1201 Skype: dhustace > > Key Fingerprint: 8EC1 F319 2C1D 3197 AAB9 580F FACD 1D19 175E D903 > > > > > > > > ---------------------------(end of > > broadcast)--------------------------- > > TIP 4: Have you searched our list archives? > > > > http://archives.postgresql.org > > > ------------------------------------------------------------------------ Netcore Solutions Pvt. Ltd. Website: http://www.netcore.co.in Spamtraps: http://cleanmail.netcore.co.in/directory.html Support FAQ : http://support.netcore.co.in/ This e-mail contains confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure, use or distribution of the material in this e-mail is strictly forbidden. ------------------------------------------------------------------------