From: | "Andrus" <kobruleht2(at)hot(dot)ee> |
---|---|
To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: How to fix lost synchronization with server |
Date: | 2014-05-07 18:26:16 |
Message-ID: | B49457549FE24E0097BB0D795A9993EF@dell2 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi!
>> pg_dump: Error message from server: lost synchronization with server: got
>> message type "d", length 5858454
>I think this is probably an out-of-memory situation inside pg_dump, ie
>libpq failing to make its input buffer large enough for the incoming row.
>It's hard to believe that there's not 6MB available on any modern machine,
>so I'm thinking this is an OS-level restriction on how much memory we can
>get. On a Unix machine I'd recommend looking at the ulimit settings
>pg_dump is being run under. Dunno the equivalent for Windows.
Backup computer has modern Windows client OS.
It has GBs of memory and swap file possibility.
Based on my knowledge there is no memory settings in windows which can
restrict 6MB allocation.
On memory shortage Windows shows message like "Increasing swap file size".
Customer did'nt report such message.
Dump worked for years without issues when server was 32 bit Windows 2003
server and Postgres and pg_dump were earlier version 9 (but after upgrade
new rows are added to attachme table).
How to create backup copies or diagnose the issue ?
I can change pg_dump execution parameters.
I can install VC++ Express and compile something to add diagnozing if this
can help.
Maybe this message can improved to include more details about the reason.
Andrus.
From | Date | Subject | |
---|---|---|---|
Next Message | David G Johnston | 2014-05-07 18:43:05 | Re: How to fix lost synchronization with server |
Previous Message | Tom Lane | 2014-05-07 17:39:43 | Re: Server process crash - Segmentation fault |