[gobolinux-users] Prevent a process from paging out
Dan
theyranos at gmail.com
Sat Sep 9 17:33:23 UTC 2006
>> The "obvious" part was that bash/sh was the problem. I haven't really
>> got a good solution. Next time I have a lot of spare time (and am not
>> working on more pressing matters, such as schoolwork or Rootless
>> fixes), I'll probably change my shell script to a tiny C++ program
>> and/or compile the functionality I want into a specialized version of
>> evrouter. If anyone else has a better solution, I'd love to hear it.
>
> Bash should already be in memory. Some googling suggests that linux
> shares one copy of an executable in memory among many different
> processes, as I expected. So that shouldn't be the problem.
> Unless you run zsh on your shells, so that bash actually isn't in
> memory, in which case changing sh to link to zsh might help?
Changing the sh link to zsh would break most of Gobo (the Scripts
don't work under zsh). However, I can change the shebang line to #!/
usr/bin/zsh. I'll try that.
More information about the gobolinux-users
mailing list