SUMMARY: Reserving swap space

2007-12-25 4:01:00

Hello Gurus,

Thanks for all who rapidly responded my question.

My Question

I would like to reserve some swap space not being mounted under /tmp
> directory. Users keep on puting their files and datasets and make the

> /tmp directory full and hence the swap area.
>
> So I would like to reserve some swap space which is not mounted under
> /tmp directory. and only used for on-line swap space request from the
> application. How can I implement this. Please advice me

The solutions is

limit size of /tmp filesystem.E.g. in /etc/vfstab

swap - /tmp tmpfs - yes
size=6144m

Say My swap partitition is 8gb large. So even with full /tmp I have 2gb
for swaping

Thanks and Regards

Arunachalam Jayaraman ( Arun)
Systems Operations Lead Specialist
IBM Global Services India .com

Comments

Got something to say?

You must be logged in to post a comment.