Howto avoid a process beeing paged out?

Joe Wulf joe_wulf at yahoo.com
Mon Sep 12 15:22:41 UTC 2011


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 <linuxhippy at gmail.com>
>To: "Community assistance, encouragement, and advice for using Fedora." <fedora-list at 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 at lists.fedoraproject.org
>To unsubscribe or change subscription options:
>https://admin.fedoraproject.org/mailman/listinfo/users
>Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20110912/17e27d47/attachment.html 


More information about the users mailing list