X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id B9693D1B3B6 for ; Thu, 27 May 2004 00:32:02 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 79868-03 for ; Thu, 27 May 2004 00:31:43 -0300 (ADT) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by svr1.postgresql.org (Postfix) with ESMTP id 4528FD1CA04 for ; Thu, 27 May 2004 00:31:42 -0300 (ADT) Received: from localhost.localdomain (c-67-162-79-220.client.comcast.net[67.162.79.220]) by comcast.net (sccrmhc12) with ESMTP id <20040527033141012007j63ve>; Thu, 27 May 2004 03:31:41 +0000 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.12.11/8.12.11) with ESMTP id i4R3VAoO004797; Wed, 26 May 2004 22:31:11 -0500 Received: (from spike@localhost) by localhost.localdomain (8.12.11/8.12.11/Submit) id i4R3VACW004794; Wed, 26 May 2004 22:31:10 -0500 X-Authentication-Warning: localhost.localdomain: spike set sender to mike@thegodshalls.com using -f Subject: Re: Error: server closed the connection unexpectedely From: mike g Reply-To: mike@thegodshalls.com To: Janez =?iso-8859-2?Q?Kostanj=B9ek?= Cc: "Pgsql-General (E-mail)" In-Reply-To: References: Content-Type: text/plain; charset= Content-Transfer-Encoding: quoted-printable Message-Id: <1085628670.4674.18.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Wed, 26 May 2004 22:31:10 -0500 X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.1 tagged_above=0.0 required=5.0 tests=RCVD_IN_SORBS X-Spam-Level: X-Archive-Number: 200405/815 X-Sequence-Number: 61249 I believe this is a known problem with the cygwin version of 7.4.1.=20 7.4.2 should be available soon now that cygwin 1.5.10 has been released. I believe their was a post in the pgsql-cygwin mailing list from Jason Tishler with the reasons for waiting for 1.5.10. Hopefully Jason can release 7.4.2 soon. On Wed, 2004-05-26 at 09:17, Janez Kostanj=C5=A1ek wrote: > Hello everyone, >=20=20 > this is my first post to postgres mailing list.=20 >=20=20 > System that I use: > I am using Postgres under last CygWin published on public mirrors at > the moment.=20 > OS system runing is Windows 2000 professional, 1024 or 256 or 512 MB > of RAM and 40Gb of disk. > Postmaster shows version 7.4.1 >=20=20 > Problem: > When trying to create database using script file (containing only > create DB, USERS, TABLES, INDEXES inside tables) using psql or > pgadminIII after awhile (5 seconds or so) I get next error: >=20=20 > server closed the connection unexpectedly > This probably means the server terminated abnormally > before or while processing the request. >=20=20 > in log file I get this: >=20=20 > LOG: server process (PID 1080) was terminated by signal 11 > LOG: terminating any other active server processes > LOG: all server processes terminated; reinitializing > LOG: database system was interrupted at 2004-05-26 15:55:48 CEDT > LOG: checkpoint record is at 0/9DE7C8 > LOG: redo record is at 0/9DE7C8; undo record is at 0/0; shutdown TRUE > LOG: next transaction ID: 534; next OID: 17142 > LOG: database system was not properly shut down; automatic recovery > in progress > LOG: redo starts at 0/9DE808 > LOG: startup process (PID 1396) was terminated by signal 11 > LOG: aborting startup due to startup process failure >=20=20 > This error happens sooner if I use pgadminIII and later if I use psql. > I have instaled ipc-daemon2. I tried also with cygserver configuring > enough memory, nothing happened. > I suspect error is somehow connected with size of one transaction. If > transaction is small everything is OK. if transaction is large, this > error happens. >=20=20 > I get the same error when doing vacuum analyze or when inserting > larger amount of staff into database inside one transaction. >=20=20 > I tried to set next parameters from min to max in postgresql.conf but > nothing helps (I get the same error). > shared_buffers =3D 10000 > sort_mem =3D 2048 > vacuum_mem =3D 8192 > fsync =3D true > wal_buffers =3D 32 > effective_cash_size =3D 5000 > default_statistics_target =3D 50 > tcpip_socket =3D true > max_connections =3D 32 > other parameters are as default (I tried also with all parameters as > default but problem remains the same). >=20=20 > I also tested memory (RAM), tests came out OK. >=20=20 >=20=20 > One interesting thing more: > On Linux RH8.0, Postgres 7.4.2 everything works fine. Also tried with > the same postgresql.conf file on Linux,postgres 7.4.2. works ok, on > Windows under CygWin, last postgres 7.4.1 have this error. >=20=20 >=20=20 >=20=20 >=20=20 > if somebody have a clue, what is going on here, please help. >=20=20 > Janez Kostanjsek > software engineer >=20=20 >=20=20 >=20