[gobolinux-users] Prevent a process from paging out
Nick Matteo
kundor at kundor.org
Sat Sep 9 17:31:03 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?
More information about the gobolinux-users
mailing list