Howto avoid a process beeing paged out?

Clemens Eisserer linuxhippy at gmail.com
Mon Sep 12 08:19:50 UTC 2011


Hi,

I run a time-critical application on a vServer which seems to have very
little memory (even 512mb are guaranteed).
Every page that hasn't been accessed the last few minutes is immediatly
swapped out, and if a request comes in the system is busy many seconds
loading the working-set of the application into memory again.

Is there any way to prevent applications from beeing swapped out?
I tried to call mlock(), but after this call dynamically loading shared
libraries failed :/

Thanks, Clemens
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20110912/31291b6e/attachment.html 


More information about the users mailing list