Can you provide output of following : zonecfg -z <your_zone> info
Depending on your configuration and available memory on the system, same could be achieved using prctl command.
It also looks like the size in enforced inside zone in /etc/vfstab
swap - /tmp tmpfs - yes size=512m
I'm not sure there is a way without reboot of the zone to increase that value, if configured in above manner.
Keep in mind if you are installing Oracle software, there are variables TMP and TMPDIR which can point to any directory having more space, for install to work.
Yes I know that changing the value in vfstab from 512 to 1024 and reboot of zone will solve the issue. Here I am doing it in my test VM as we got this request once in every month. Please let us know how can we do it from prctl ( here we want to limit the use of /tmp mean swap) command and also let us know how to do it through TMP and TMPDIR if we get the request for Oracle Database Software from DB team
Unfortunately you cannot do it live with vfstab entry.
The zone currently has 3 GB memory and 2 GB swap, with /tmp limited via vfstab entry inside the zone to 512 MB.
Otherwise (if no limit is imposed in vfstab), prctl / rctladm commands can be used against zone.max-swap during runtime.
This will increase it during runtime, but you still need to add using zonecfg so it is set during next reboot.
Since you will need to reboot, best to do it via zonecfg exclusively.
As for Oracle DB install, just issue export TMP=/some/path and export TMPDIR=/some/path where /some/path is any location on the system which has at least 1 GB of free space, following by installer run in the same shell session.
I have Question that is setting TMP and TMPDIR variable as a Oracle user with some path on which they have access so that when oracle installer software will run it will use that path for temporary files within same shell. After installation complete unset these variable .
I know how to use prctl command . Could you let me know rctladm command usage for dynamic changes.
Further change done by prctl or rctladm command is not permanent and will gone after reboot till we add those change through zonecfg command.
Yep, only current shell session will use those variables.
But be advised, oracle software will require some /tmp space to function properly.
Some being written in software documentation, being requirements for that software.
As for prctl and other commands, one should exercise in virtual environment, due to those commands being (mostly) universal on all solaris architectures (x86 or sparc).
No post will replace experience which a virtual solaris instance can provide on laptop / pc using one of many virtualization techs present.