Overpass API developpement

Text archives Help


Re: [overpass] v0.7.54.9 breaks down


Chronological Thread 
  • From: mmd < >
  • To:
  • Subject: Re: [overpass] v0.7.54.9 breaks down
  • Date: Sun, 17 Sep 2017 09:13:59 +0200

Hi,

Am 17.09.2017 um 07:52 schrieb Igor Brejc:


> I've installed the new version and let the diffs run. It ran fine for a
> few hours, but then it started reporting errors. Situation:
>
> Here's the extract of the logs from that moment:
>

> URL:http://planet.osm.org/replication/minute//002/604/993.osc.gz
> [39586/39586] -> "/tmp/osm-3s_update_E8yees/002604993.osc.gz" [1]
> sep 17 01:36:59 jazz fetch_osc_and_apply.sh[15623]: File error
> caught: 2 No such file or directory /osm3s_v0.7.54_osm_base
> Dispatcher_Client::1

>
> I've checked, osm3s_v0.7.54_osm_base exists:
>
> igor@jazz:~/overpass/db$ ls -l osm3s_v0.7.54_osm_base
> srw-rw-rw- 1 igor igor 0 sep 16 20:22 osm3s_v0.7.54_osm_base
>
>
>


The error message basically says that the shared memory file created by
the dispatcher process is no longer there. This file contains some
information about the database directory and the shadow files. Without
it, an interpreter or update_* process has no idea where the database is
and has to stop further processing.

Can you please post the output of:

ls -l /run/shm/osm3s_*

Usually, you could inspect those files as well, but I guess in your case
they're no longer around?

od -c /run/shm/osm3s_v0.7.54_osm_base

Which should return something like:

0000000 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 016 \0 \0 \0
0000020 / s r v / o s m 3 s / d b / 035 \0
0000040 \0 \0 / s r v / o s m 3 s / d b /
0000060 o s m _ b a s e _ s h a d o w
0000077



Thanks!







Archive powered by MHonArc 2.6.19+.

Top of page