We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The process I use for "shutting down" OSRM, including freeing shared memory, is less than elegant:
osrm-datastore
icmp -m
shmid
ipcrm -m {shmid}
Is there a better way of doing this?
The text was updated successfully, but these errors were encountered:
At the time ipcrm is the way to go. We should add this functionality to osrm-datastore.
ipcrm
Sorry, something went wrong.
Adding it to osrm-datastore:
$ ./osrm-datastore -h [info] osrm-datastore [<options>] <configuration>: Options: -v [ --version ] Show version -h [ --help ] Show this help message -s [ --springclean ] Remove all regions in shared memory -c [ --config ] arg (="server.ini") Path to a configuration file Configuration: --hsgrdata arg .hsgr file --nodesdata arg .nodes file --edgesdata arg .edges file --geometry arg .geometry file --ramindex arg .ramIndex file --fileindex arg .fileIndex file --namesdata arg .names file --timestamp arg .timestamp file
usage is easy:
$ ./osrm-datastore --springclean [info] springleaning: y [info] spring-cleaning all shared memory regions
implements #947, free osrm-datastore's shared memory
3d691a3
No branches or pull requests
The process I use for "shutting down" OSRM, including freeing shared memory, is less than elegant:
osrm-datastore
's runtime output, noting the # of bytes it loads.icmp -m
and look for a segment with the same # of bytes to get ashmid
ipcrm -m {shmid}
to free the shared memory...Is there a better way of doing this?
The text was updated successfully, but these errors were encountered: