X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 3F2429DC83F for ; Fri, 24 Mar 2006 07:36:24 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 85366-08 for ; Fri, 24 Mar 2006 07:36:26 -0400 (AST) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id D75589DC846 for ; Fri, 24 Mar 2006 07:36:21 -0400 (AST) Received: from mx1.sonologic.nl (mx1.sonologic.nl [82.94.245.21]) by svr4.postgresql.org (Postfix) with ESMTP id 4C6D35AF917 for ; Fri, 24 Mar 2006 11:36:25 +0000 (GMT) Received: from [192.168.0.246] (gongmaster.xs4all.nl [213.84.33.240]) (authenticated bits=0) by mx1.sonologic.nl (8.13.6/8.13.6) with ESMTP id k2OBaJZV069527; Fri, 24 Mar 2006 11:36:20 GMT Message-ID: <4423DA81.6010300@metro.cx> Date: Fri, 24 Mar 2006 12:39:45 +0100 From: Koen Martens Organization: Sonologic User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050317 Thunderbird/1.0.2 Mnenhy/0.7.2.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Robin Iddon Cc: pgsql-admin@postgresql.org Subject: Re: Random disconnects References: <4422B86C.5000703@metro.cx> <4422D458.9080204@edesix.com> In-Reply-To: <4422D458.9080204@edesix.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Helo-Milter-Authen: gmc@sonologic.nl, pgsql@metro.cx, mx1 Received-SPF: pass (mx1.sonologic.nl: 213.84.33.240 is authenticated by a trusted mechanism) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.12 required=5 tests=[AWL=0.120] X-Spam-Score: 0.12 X-Spam-Level: X-Archive-Number: 200603/232 X-Sequence-Number: 20989 Robin Iddon wrote: >> But I think there might be some underlying problem and if so, i'd >> like to know about it and fix it. >> >> > It seems to me that the JVM is having problems writing to the socket > that connects to the postgres server with the "Network is unreachable" > error being the cause. > What's the connectivity from your clients to your database - localhost, > same LAN, routed LANs, WAN, ...? > > Even though the perl script says "This probably means the server > terminated abnormally before or while processing the request", I doubt > that's what happened - more likely is you lost the network between them > (but not if you were running on localhost, probably!). Well, that is the strange thing, it is on the same machine. The client is in a freebsd jail however, the database is not. I suspected that maybe the default setting of 128 of maximum number of sockets had something to do with it, but increasing that (to, say, 32768) did not help much.. It is indeed not the case that the server exited abnormally, it is just fine. It could, of course, be that the server process serving the particular client died, then i should enable some more verbose logging probably to find out such things.. Something to dive into! Gr, Koen -- K.F.J. Martens, Sonologic, http://www.sonologic.nl/ Networking, hosting, embedded systems, unix, artificial intelligence. Public PGP key: http://www.metro.cx/pubkey-gmc.asc Wondering about the funny attachment your mail program can't read? Visit http://www.openpgp.org/