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