About Mario Bucsics Expertise Since 5 Yearīs iīm working with Unix Systems an Oracle Databases and now i am going to take the Solaris Certification. You can ask me any question about Oracle and Solaris ( especially Solaris 2.6 ) but please donīt ask me anything about Microsoft Products.
Experience
Past/Present clients One of my biggest clientīs is the 2nd and best Telecommunication Company in Vienna ( max.mobil ). I was also involved in the startup phase at www.lion.cc which is the greatest e-commerce company in austria.
Expert: Mario Bucsics Date: 12/12/2000 Subject: How to use swap?
Question Hi,
I am using SunOS 5.7.
I have a lot of java processes sleeping on my server. They consume a lot of physical memory, I only have 16 MB left. Though I have a lot of Virtual (swap) left 900MB. Though it is not using the swap area.
When I try to start up another java application it will not start and I get a CORBA error telling NO RESOURCES.
Is there a way to configure the SunOs so that it starts using the swaparea?
//Mikael
Answer Hello Mikael !
If there is no enough physical memory available Solaris automaticly starts swaping without any intervention of the user. Your Problem is maybe that there are not enough system resources available to spawn another process or to attatch a shared memory segment. Set the appropriate kernel parameters in /etc/system and start your applications again.
Maybe the are some hints in the java documentation on how to set the appropriate parameters for your needs.