[OSM-dev] osm2pgsql: "unexpected chunk size"

Martijn van Oosterhout kleptog at gmail.com
Thu Jun 5 17:20:19 BST 2008


On Thu, Jun 5, 2008 at 4:58 PM, Frederik Ramm <frederik at remote.org> wrote:
>> Smaller files, including the whole europe.osm, work fine. Planet
>> gives me the said error message, and in the log file it says:
>>
>> ERROR: unexpected message type 0x58 during COPY from stdin
>>
>> I'll re-run it with some monitoring to find out if there's a resource
>> shortage.
>
> No error this time. Strange. Lesson learned: If you get strange
> Postgres errors, just retry.

FWIW, the most common cause for this error on the pgsql mailing list
is people trying to use the same connection from different threads at
the same time. osm2pgsql only recently started using threads, perhaps
there is something there?

Have a nice day,
-- 
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/




More information about the dev mailing list