How can I prevent one zone from using all the swap space by filling up /tmp?
For manual mounts, use the option “-o size=sz” where sz is the size limit you want. Ending the size in ’k’ means kilobytes, ending it in ’m’ means megabytes. Example: “-o size=500m”. This option can also be added into /etc/vfstab. For more details, view the man pages for mount_tmpfs(1M) and vfstab(4). With Solaris 10 8/07, you can use the resource control, zone.max-swap. (The swap property of the capped-memory resource is the preferred way to set this control.) Also, note that RFE 1177209 will give the global zone administrator the ability to control the amount of swap space used by one zone.