tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: make a process non swapable
@ 2000-03-17  1:34 Bevan Broun
  0 siblings, 0 replies; only message in thread
From: Bevan Broun @ 2000-03-17  1:34 UTC (permalink / raw)
  To: tru64-unix-managers

Thanks to:

LHERCAUD@bouyguestelecom.fr
Bryan Rank <bryan@compgen.com>
Alan Angulo <alan@esu.edu>
Dr. Tom Blinn, 603-884-0646" <tpb@doctor.zk3.dec.com>
"Frank Wortner" <frank@bondnet.com>

I wanted to know if it was possilbe to make a process non swapable.
This was to be a tmp messure to solve an urgent problem, luckily the
software that was causing the problems has been turned off and will be
moved to another machine so I didnt need to do anything. The answer
is:

1) If you have the source code there are a few systems calls to use:
mlock mlockall plock

2) If you only have the binary the only thing to do is run the process
at a high enough priority so it doesnt get swapped out.

Thanks to all

BB
-- 
Bevan Broun                                           ph (08) 9380 1587
Computer Systems Officer                             fax (08) 9380 1065
Dept. Electrical and Electronic Engineering      
University of Western Australia                                 rm. G70

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-03-17  1:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-17  1:34 SUMMARY: make a process non swapable Bevan Broun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox