Skip to Content.
Sympa Menu

overpass - [overpass] Trying to debug some 500 errors

Subject: Overpass API developpement

List archive

[overpass] Trying to debug some 500 errors


Chronological Thread 
  • From: Rory McCann <>
  • To: Overpass Dev <>
  • Subject: [overpass] Trying to debug some 500 errors
  • Date: Mon, 18 Apr 2016 15:11:33 +0200

Hi all,

I asked on help.osm.org[1] and I was advised to post here as well.

I have a relatively beefy Ubuntu 14.04 Trusty server (16 CPUs, 48GB RAM,
SSDs). Overpass v0.7.52 was compiled and installed on the machine.
Apache 2.4.7-1ubuntu4.1 was installed from apt. The whole OSM planet
file was imported, and it's kept up to date with minutely diffs from
planet.osm.org.

And it works 99.9+% of the time. However there are sometimes responses
that are http status 500. The apache error logs show:

[Thu Apr 07 10:07:38.737961 2016] [cgid:error] [pid 8783:tid
140682425480960] [client 1.2.3.4:61698] End of script output before
headers: interpreter

A query that causes a 500 can often work fine later on and return a 200
(and results) later.

All queries are very simple and the same (as far as I can tell), just
finding ways near a point that have a speed limit:

way(around:25,$LAT,$LON)["maxspeed"];out;

for various latitudes and longitudes.

The machine is used a lot. About 20K->30K requests per day (of the same
format). About 50 per day give this 500 error. Although the load doesn't
get bad. The machine isn't doing anything else.

I can't see any thing in db/transactions.log for when there's a 500 error.


Does anyone have any idea of what's going on?


Rory

[1]:
https://help.openstreetmap.org/questions/49238/overpass-debugging-intermittant-500-error-messages

--
Rory McCann www.geofabrik.de
Geofabrik GmbH Handelsregister: HRB Mannheim 703657
Amalienstr. 44 Geschaeftsfuehrung: C. Karch, F. Ramm
76133 Karlsruhe Tel: 0721 180 35601
Fax: 0721-1803560-9



Archive powered by MHonArc 2.6.18.

Top of Page