Setting up OSRM for North America in a Docker container #3161
Closed
Description
Hey all, thanks for this awesome project and all the great work done here.
I have been trying to set up an instance of OSRM in house and I cannot figure out why I always get this STXXL "No space left on device" error:
Step 8 : RUN ./osrm-extract /osrm-data/hugedata.osm.pbf
---> Running in 10ba7e361bdf
[info] Using script profile.lua
[info] Input file: hugedata.osm.pbf
[info] Profile: profile.lua
[info] Threads: 16
[STXXL-MSG] STXXL v1.3.1 (release)
[STXXL-MSG] 1 disks are allocated, total space: 200000 MiB
[info] Parsing in progress..
[info] input file generated by Osmium (http://wiki.openstreetmap.org/wiki/Osmium)
[info] timestamp: 2016-10-23T19:29:02Z
[info] Found 3 exceptions to turn restrictions:
[info] motorcar
[info] motor_vehicle
[info] vehicle
[STXXL-ERRMSG] io_error thrown in ~vector(): Error in function virtual void stxxl::syscall_file::serve(const stxxl::request*): Info: this=0x25583d0 call=::write(fd,buffer,bytes) path=/tmp/stxxl fd=5 offset=0 buffer=0x7f8edae9c000 bytes=2097152 type=WRITE rc=-1 No space left on device
[STXXL-ERRMSG] io_error thrown in ~vector(): Error in function virtual void stxxl::syscall_file::serve(const stxxl::request*): Info: this=0x25583d0 call=::write(fd,buffer,bytes) path=/tmp/stxxl fd=5 offset=1956642816 buffer=0x7f8ee76a2000 bytes=2097152 type=WRITE rc=-1 No space left on device
[warn] Error in function virtual void stxxl::syscall_file::serve(const stxxl::request*): Info: this=0x25583d0 call=::write(fd,buffer,bytes) path=/tmp/stxxl fd=5 offset=1950351360 buffer=0x7f8ee70a2000 bytes=2097152 type=WRITE rc=-1 No space left on device
This particular instance has 128GB of RAM and 320GB of disk. As you can see from the logs above the .stxxl file is over 209 GB.
I should note that I'm running this in a Docker container.
I am working with the North America data from Geofabrik (http://download.geofabrik.de/north-america-latest.osm.pbf)
Metadata
Assignees
Labels
No labels