[OSRM-talk] Planet prepare problems
Grant Heffernan
grant at mapzen.com
Sun Dec 29 17:35:00 UTC 2013
Had the same issue using the develop branch.
--
Grant Heffernan
+01 703.655.7396
On Sunday, December 29, 2013 at 7:20 AM, Grant Heffernan wrote:
> Dennis,
> /tmp is 100GB partition. I don’t see any evidence of running out of disk space there or elsewhere (the /osrm partition where I’m building everything is about 1.8TB).
>
> I’m using master of git://github.com/DennisOSRM/Project-OSRM.git (http://github.com/DennisOSRM/Project-OSRM.git), so I’ll try develop.
>
> --
> Grant Heffernan
>
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Sat, 28 Dec 2013 14:31:47 +0100
> > From: Dennis Luxen <luxen at kit.edu (mailto:luxen at kit.edu)>
> > To: osrm-talk at openstreetmap.org (mailto:osrm-talk at openstreetmap.org)
> > Subject: Re: [OSRM-talk] planet prepare problems
> > Message-ID: <B2944AAB-215A-4DA0-B404-E9BC559F5A42 at kit.edu (mailto:B2944AAB-215A-4DA0-B404-E9BC559F5A42 at kit.edu)>
> > Content-Type: text/plain; charset=windows-1252
> >
> > Grant,
> >
> > Am 28.12.2013 um 00:46 schrieb Grant Heffernan <grant at mapzen.com (mailto:grant at mapzen.com)>:
> >
> > > Hi all. Was wondering if anyone has successfully run osrm-prepare on the planet recently. I?ve successfully set up north-america and other extracts, but the planet load fails every time, and in a very odd way, which is making tracking the problem down an issue. More specifically, the host it?s being run on becomes completely unresponsive (I?m running on EC2) and I?m unable to recover the instance to track additional details down. I can terminate but not reboot the instance, which makes me suspect it?s getting starved of resources and the hypervisor is unable to get it to respond. I?m presently testing on the following setup:
> >
> > Indeed, it looks like your system runs out of resources. Couple of questions:
> >
> > - Are you using the latest code from develop branch? If not, do so.
> > - How much disk space is available under /tmp
> >
> > [?]
> >
> > > [info] constructing r-tree of 923822461 elements
> >
> > It is sorting all the data at this stage. This is indeed quite resource intensive, but it shouldn?t die. What does df -h say?
> >
> > ?Dennis
> >
> >
> >
> >
> > ------------------------------
> >
> > Message: 2
> > Date: Sat, 28 Dec 2013 15:36:32 +0100
> > From: Spyou <root at spyou.org (mailto:root at spyou.org)>
> > To: OSRM-talk at openstreetmap.org (mailto:OSRM-talk at openstreetmap.org)
> > Subject: [OSRM-talk] profile.lua for railways
> > Message-ID: <52BEE1F0.1040006 at spyou.org (mailto:52BEE1F0.1040006 at spyou.org)>
> > Content-Type: text/plain; charset=ISO-8859-1
> >
> >
> >
> > Hi there,
> >
> >
> > I'm working on the server side engine for the raildar.fr (http://raildar.fr) project (Yes, i
> > know, google map sucks. client side implementation with OSM is in progress).
> >
> > In order to place trains on the right path, we need to extract railways
> > from OSM. We've (very) partialy done the work based on JOSM extracts but
> > that's quite a long and borring work.
> >
> > I've managed to get a osrm instance running on FreeBSD with the default
> > car.lua profile. I'm now trying to understand how to patch it to only
> > get railways routing.
> >
> > Did anyone done this before or is there any documentation for the
> > profile files ?
> >
> >
> > Thanks for any help :)
> >
> > Bruno
> >
> >
> >
> > ------------------------------
> >
> > Message: 3
> > Date: Sat, 28 Dec 2013 19:27:10 +0100
> > From: Spyou <root at spyou.org (mailto:root at spyou.org)>
> > To: OSRM-talk at openstreetmap.org (mailto:OSRM-talk at openstreetmap.org)
> > Subject: Re: [OSRM-talk] profile.lua for railways
> > Message-ID: <52BF17FE.1070108 at spyou.org (mailto:52BF17FE.1070108 at spyou.org)>
> > Content-Type: text/plain; charset=ISO-8859-1
> >
> > Le 28/12/2013 15:36, Spyou a ?crit :
> > >
> > > Did anyone done this before or is there any documentation for the
> > > profile files ?
> > >
> >
> >
> > I've managed to write a dummy version.
> >
> > If anyone has idea on it, i'll be glad to hear them :)
> >
> > function way_function (way)
> > local railway = way.tags:Find("railway")
> > if (railway=='rail') then
> > way.speed = 10
> > way.direction = Way.bidirectional
> > way.type = 1
> > return 1
> > end
> > return 0
> > end
> >
> > function turn_function (angle)
> > if (angle < -45) or (angle > 45) then return 200 end
> > return 0
> > end
> >
> >
> >
> >
> > ------------------------------
> >
> > _______________________________________________
> > OSRM-talk mailing list
> > OSRM-talk at openstreetmap.org (mailto:OSRM-talk at openstreetmap.org)
> > https://lists.openstreetmap.org/listinfo/osrm-talk
> >
> >
> > End of OSRM-talk Digest, Vol 12, Issue 7
> > ****************************************
> >
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20131229/99f9a519/attachment-0001.html>
More information about the OSRM-talk
mailing list