I have an issue with my Swap space on solaris sparc 10 os. When I start the Weblogic Server 10.3.3, the swap space utilization increases to 1.6 GB( Initially the swap space utilization is 200mb or 300MB )
Configuration Details: OS : Solaris Sparc 10 JDK: Jrockit R27 version RAM: 18 GB Swap Space: 2GB
Any pointers will be highly appreciated.Thanks in advance
preguntado el 08 de enero de 11 a las 16:01
A 2 GB swap looks too small for your 18 GB RAM system. You might simply need to add some swap space. Either a whole slice, partition, zvol or plain file, depending on your environment.
2GB of swap on a 18GB RAM host is too low. There is no way to define a "math function" to set the swap space, but, a common rule may be a 2/3*Total RAM when you have more than 8GB and 2*RAM in other case.
But the amount of swap depends on the type of applications, and how they use the swap, so, you need to know it before assign a value. Otherwise if you have "a lot of free space" you can explore with diferent values a good start point may be 4GB.
You can add a raw device using:
# swap -a /dev/rdsk/cXtYdZsX
Or you can add a flat file
# mkfile -s 2048m /var/swap.file1 # swap -a /var/swap.file1
Here you have a complete example (in spanish) Add more swap to a Solaris Host
Also, you can check the tmpfs (/tmp and /var/tmp) to avoid use entire free RAM, Limit /tmp size on Solaris