Last active
December 28, 2015 16:19
-
-
Save clintharris/7527976 to your computer and use it in GitHub Desktop.
UNIX shell output to supplement https://github.com/DennisOSRM/Project-OSRM/issues/802
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo su - | |
# ulimit -a | |
core file size (blocks, -c) 0 | |
data seg size (kbytes, -d) unlimited | |
scheduling priority (-e) 0 | |
file size (blocks, -f) unlimited | |
pending signals (-i) 1967992 | |
max locked memory (kbytes, -l) 64 | |
max memory size (kbytes, -m) unlimited | |
open files (-n) 1024 | |
pipe size (512 bytes, -p) 8 | |
POSIX message queues (bytes, -q) 819200 | |
real-time priority (-r) 0 | |
stack size (kbytes, -s) 8192 | |
cpu time (seconds, -t) unlimited | |
max user processes (-u) 1967992 | |
virtual memory (kbytes, -v) unlimited | |
file locks (-x) unlimited | |
# ulimit -l unlimited | |
# cd /mnt/xvdf/Project-OSRM/ | |
# ls | |
Algorithms Docs osrm-extract planet-131106.osrm.nodes README.md test | |
build Extractor osrm-prepare planet-131106.osrm.ramIndex routed.cpp test_locate.sh | |
cmake extractor.cpp osrm-routed planet-131106.osrm.restrictions RoutingAlgorithms test_nearest.sh | |
CMakeLists.txt features out.json planet-131106.osrm.timestamp run_osrm-extract.sh test_viaroute.sh | |
config Gemfile planet-131106.osrm Plugins run_osrm-prepare.sh Tools | |
Contractor Gemfile.lock planet-131106.osrm.edges prepare.cpp run_osrm-routed.sh typedefs.h | |
datastore.cpp Library planet-131106.osrm.fileIndex profile.lua Server Util | |
DataStructures LICENCE.TXT planet-131106.osrm.hsgr profiles stxxl.errlog win | |
Descriptors osrm-datastore planet-131106.osrm.names Rakefile stxxl.log | |
# git describe --tags | |
v0.3.5-465-g8b6fe69 | |
# git branch | |
* develop | |
master | |
# cat planet-131106.osrm.timestamp | |
1384637913 | |
# cat run_osrm-routed.sh | |
#!/bin/bash | |
./osrm-routed --hsgrdata planet-131106.osrm.hsgr --nodesdata planet-131106.osrm.nodes --edgesdata planet-131106.osrm.edges --ramindex planet-131106.osrm.ramIndex --fileindex planet-131106.osrm.fileIndex --namesdata planet-131106.osrm.names --timestamp planet-131106.osrm.timestamp | |
# ./run_osrm-routed.sh | |
[info] starting up engines, v0.3.5-465-g8b6fe69, compiled at Nov 18 2013, 13:01:44 | |
[info] HSGR file: "planet-131106.osrm.hsgr" | |
[info] loading graph data | |
[info] loading graph from planet-131106.osrm.hsgr | |
[info] loaded 910130226 nodes and 1299452349 edges | |
[info] Data checksum is 64447612 | |
[info] loading egde information | |
[info] loading r-tree | |
[info] loading timestamp | |
[info] Loading Timestamp | |
[info] loading street names | |
[info] loaded plugin: hello | |
[info] loaded plugin: locate | |
[info] loaded plugin: nearest | |
[info] loaded plugin: timestamp | |
[info] loaded plugin: viaroute | |
[info] http 1.1 compression handled by zlib version 1.2.3.4 | |
[server] running and waiting for requests | |
[info] 18-11-2013 13:42:09 127.0.0.1 - curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3 /viaroute?loc=52.455969,13.381344&loc=49.235919,4.026759 | |
./run_osrm-routed.sh: line 2: 2183 Segmentation fault (core dumped) ./osrm-routed --hsgrdata planet-131106.osrm.hsgr --nodesdata planet-131106.osrm.nodes --edgesdata planet-131106.osrm.edges --ramindex planet-131106.osrm.ramIndex --fileindex planet-131106.osrm.fileIndex --namesdata planet-131106.osrm.names --timestamp planet-131106.osrm.timestamp | |
# | |
=========== Separate session after osrm-routed started =============== | |
$ ps -ef | grep osrm | |
root 2182 2116 0 13:32 pts/1 00:00:00 /bin/bash ./run_osrm-routed.sh | |
root 2183 2182 23 13:32 pts/1 00:00:59 ./osrm-routed --hsgrdata planet-131106.osrm.hsgr --nodesdata planet-131106.osrm.nodes --edgesdata planet-131106.osrm.edges --ramindex planet-131106.osrm.ramIndex --fileindex planet-131106.osrm.fileIndex --namesdata planet-131106.osrm.names --timestamp planet-131106.osrm.timestamp | |
$ top -p 2183 | |
top - 13:41:26 up 54 min, 1 user, load average: 0.00, 0.04, 0.15 | |
Tasks: 1 total, 0 running, 1 sleeping, 0 stopped, 0 zombie | |
Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st | |
Mem: 251649120k total, 65277224k used, 186371896k free, 44780k buffers | |
Swap: 0k total, 0k used, 0k free, 30188288k cached | |
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND | |
2183 root 20 0 31.5g 30g 28m S 0 12.9 0:59.13 osrm-routed | |
$ cd /mnt/xvdf/Project-OSRM/ | |
$ cat test_viaroute.sh | |
#!/bin/bash | |
curl -X GET 'http://localhost:5000/viaroute?loc=52.455969,13.381344&loc=49.235919,4.026759' | |
echo "" | |
$ ./test_viaroute.sh | |
curl: (52) Empty reply from server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment