[OSM-dev] app launchers should NOT modify /proc/sys/vm
Emilie Laffray
emilie.laffray at gmail.com
Tue Nov 24 11:59:38 GMT 2009
Is this email not better sent to the navit developers?
I don't think Navit is maintained by anyone in the community of OSM. It may
use data from OSM but it is not an OSM initiated project as far as I can
see.
Emilie Laffray
2009/11/24 Sebastian Spaeth <Sebastian at sspaeth.de>
> Currently, the navit (routing app) launcher script modifies
> /proc/sys/vm/overcommit_memory without ever setting it back. This change
> should -if at all- should only be done with serious evaluation on the
> respective devices IMHO. I don't want to introduce random OOM process
> killings because apps start using the RAM the kernel has promised to them.
>
> Do I get the OK to remove the relevant lines? I will follow up on this
> mail with a patch that you can ACK.
>
> spaetz
>
> Commit introducing this:
>
> http://cgit.openembedded.net/cgit.cgi/openembedded/commit/?id=742fb4ae71e6a7e655385086ba9edebbf00b6ebd
>
> author Matthias Hentges <oe at hentges.net>
> committer Matthias Hentges <oe at hentges.net> 2008-01-05
> commit 742fb4ae71e6a7e655385086ba9edebbf00b6ebd
> --- a/dev/null
> +++ b/packages/navit/files/navit.launcher
> ...
> + if test "$USER" = "root"
> + then
> + echo "Enabling low-mem workaround..."
> + echo 1 > /proc/sys/vm/overcommit_memory
>
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20091124/b7ab9078/attachment.html>
More information about the dev
mailing list