SUMMARY: Reserving swap space

From: Arunachalam Jayaraman (arjayara_at_in.ibm.com)
Date: 09/28/04

  • Next message: John Dunn: "how to display subnet mask on Solaris"
    To: sunmanagers@sunmanagers.org
    Date: Tue, 28 Sep 2004 18:55:23 +0530
    
    

    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
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: John Dunn: "how to display subnet mask on Solaris"

    Relevant Pages

    • Re: mmap and large files
      ... Do not reserve swap space for this mapping. ... This suggests that by default (i.e. if this flag is not supplied) then ...
      (comp.lang.c)
    • Reserving swap space
      ... Users keep on puting their files and datasets and make the ... So I would like to reserve some swap space which is not mounted under ... IBM Global Services ...
      (SunManagers)