X-Original-To: pgsql-jdbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 8FB199FB1F5 for ; Thu, 10 Aug 2006 16:55:34 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 47352-05 for ; Thu, 10 Aug 2006 16:55:28 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mir3-fs.mir3.com (mail.mir3.com [65.208.188.100]) by postgresql.org (Postfix) with ESMTP id 5EA0C9FB1F0 for ; Thu, 10 Aug 2006 16:55:27 -0300 (ADT) Received: mir3-fs.mir3.com 172.16.1.11 from 172.16.2.68 172.16.2.68 via HTTP with MS-WebStorage 6.0.6249 Received: from archimedes.mirlogic.com by mir3-fs.mir3.com; 10 Aug 2006 12:55:26 -0700 Subject: Re: SQL query never ends From: Mark Lewis To: James Im Cc: pgsql-jdbc@postgresql.org In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: MIR3, Inc. Date: Thu, 10 Aug 2006 12:55:26 -0700 Message-Id: <1155239726.13254.3.camel@archimedes> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-27) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.463 tagged_above=0 required=5 tests=AWL, UNPARSEABLE_RELAY X-Spam-Level: X-Archive-Number: 200608/60 X-Sequence-Number: 15587 Yeah, Windows special-cases even non-loopback local network traffic and bypasses the packet sniffer. I once had to do some iptables magic with a Linux box to bounce local traffic off a remote server and back in so I could sniff it. -- Mark On Thu, 2006-08-10 at 14:55 +0000, James Im wrote: > Sorry it doesn't work. I connect to 192.168.0.8 but Wireshark doesn't > caputre anything on the database port. > > I'll try to reproduced the problem on linux. > > Dave Cramer wrote: > >James, > > > >Change the connection so that it connects to the ethernet device on > >the box, then Wireshark can listen to it. > > > >--dc-- > >On 10-Aug-06, at 6:45 AM, James Im wrote: > > > >>I've done some more tests and I think that I can say that a same > >>connection is not used by several thread at the same time. > >>However different connections are being used by several threads at the > >>same time. > >> > >>>Can you capture the network traffic between the server and JDBC driver? > >>I don't know how to do that on Windows. Wireshark cannot listen to the > >>windows loopback interface. > >> > >>Have you seen the thread dump? Does it helps you at all? > >> > >>_________________________________________________________________ > >>Ta' p udsalg ret rundt p MSN Shopping: http://shopping.msn.dk - > >>her finder du altid de bedste priser > >> > >> > >>---------------------------(end of broadcast)--------------------------- > >>TIP 3: Have you checked our extensive FAQ? > >> > >> http://www.postgresql.org/docs/faq > >> > > > > > >---------------------------(end of broadcast)--------------------------- > >TIP 4: Have you searched our list archives? > > > > http://archives.postgresql.org > > > > _________________________________________________________________ > Find dine dokumenter lettere med MSN Toolbar med Windows-pc-sgning: > http://toolbar.msn.dk > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly