Re: Howto avoid a process beeing paged out?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
To: "Community assistance, encouragement, and advice for using Fedora." <fedora-list@xxxxxxxxxx>
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@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux