View Single Post
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#606
Originally Posted by maacruz View Post
what dsmetool does is to signal dsme, again closed source, through dbus to load the process, so the process will inherit dsme ulimits and not the rc.d script's.
Argh, yeah that'll break it :-(

The workaround, to try next, could be little ash script daemon to poll every few minutes the gpsdriver vmData size and kill it when it grows more than a given size.
Perhaps a simpler option would be to wrap a shell script around gpsdriver that just sets limits and execs it, and tell dsme to start that from the init script.
 

The Following User Says Thank You to lma For This Useful Post: