Bite bullet, add more physical memory.
For a time-critical process.... that seems like it is business critical, then 
do the right business decision.  Purchase more memory to get the job done.

R,
-Joe Wulf




>________________________________
>From: Clemens Eisserer <linuxhi...@gmail.com>
>To: "Community assistance, encouragement, and advice for using Fedora." 
><fedora-l...@redhat.com>
>Sent: Monday, September 12, 2011 4:19 AM
>Subject: Howto avoid a process beeing paged out?
>
>
>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
>
>-- 
>users mailing list
>users@lists.fedoraproject.org
>To unsubscribe or change subscription options:
>https://admin.fedoraproject.org/mailman/listinfo/users
>Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>
>
>
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to