Skip to Content.
Sympa Menu

overpass - RE: [overpass] Can't run some queries (they time out)

Subject: Overpass API developpement

List archive

RE: [overpass] Can't run some queries (they time out)


Chronological Thread 
  • From: FRANCHOIS Serge <>
  • To: "" <>
  • Subject: RE: [overpass] Can't run some queries (they time out)
  • Date: Mon, 14 Nov 2016 09:20:39 +0000
  • Accept-language: en-US, fr-FR

Hi Roland

The maps were downloaded from download.geofabrik.de
Attached is the diff log file
The process of defining the MIN_DIFF_ID is not entirely clear to me.

Here are the vars that I use.

export FIRST_MINDIFF_ID=36078
export DB_DIR="/media/datadrive/osm-data-belgium"
export PLANET_FILE="/media/datadrive/osm/belgium-latest.osm.bz2"
export REPLICATE_DIR="/media/datadrive/osm-diff-belgium"
export EXEC_DIR="/srv/osm-3s"



BR
Serge

-----Original Message-----
From:
[] On Behalf Of Roland Olbricht
Sent: Thursday, November 10, 2016 10:07 PM
To:
Cc:
Subject: Re: [overpass] Can't run some queries (they time out)

Hi,

I'm sorry for all the inconveiences. I hope that we can figure out what has
happened. Resolving similar issues has helped to add a lot of safeguards.

> First time I pay attention to that. That is indeed strange.
> Here’s how I built the database, as per instructions :
>
> $ nohup $EXEC_DIR/bin/init_osm3s.sh $PLANET_FILE $DB_DIR $EXEC_DIR
> --meta &

Could you please send us the values of the variables? The directories are not
so much of interest. What matters here are
- Where has the planet file come from?
- What diff (minute, hour, daily) has been added in which order?

The error message does indeed mean that the database is somehow broken, on
the level that Zlib is unable to decompress this particular block.

> I’ve no access to my overpass VM at the moment. Will dig in the logs
> on Monday.
> Where are those timestamps coming from anyway?

The timestamp of osm_base is always the timestamp of the latest applied diff.
More precisely: the value comes from the .state.txt that has come together
with that diff.

Could you please have a look at the apply_osc_to_db.log in the $DB_DIR?
Most interesting are the last 100 lines or so, in particular to figure out
which files have been applied.

Best regards,

Roland

Attachment: apply_osc_to_db.log
Description: apply_osc_to_db.log




Archive powered by MHonArc 2.6.18.

Top of Page