Number of domains limit in Platform edition 8.2
I am trying to create multiple domains on one installation of Application Server platform edition 8.2. However, after creating 6 domains I run into "CLI156 Not enough space" error.
I am able to create the required number of domains (about 35). But I run into the "not enough space" error after starting about 6 domains. My system has also become incredibly slow (it takes about 15 seconds to do ls -al and list-domains gives the following error):
-bash-3.00# ./asadmin list-domains
Error occurred during initialization of VM
Could not reserve enough space for code cache
Is there a limit on the number of domains that can be run in PE8.2? What is a workaround to deploy multiple projects on a server by multiple users?
Also, how can I read the amount of free RAM available? (like /proc/memstat in Linux)
System: Solaris 10 x86, 1GB RAM, Dell Optiplex 1.8GHz.
Thanks
Manish
[933 byte] By [
manishUSF] at [2007-11-26 10:17:21]

# 2
This looks like a clear case of running out of system resources. Each domain that you start uses up system resources (CPU, memory etc). So, when you have started 6 domains, I am pretty sure there's absolutely no free memory left on the system. Hence you get the "Not enough space" error.
Why do you need to run so many domains on that single machine that has only 1GB of RAM ? Check the domain.xml file to see the max heap setting and you will get an idea of how many domains you can run on this box.
Cheers,
Vasanth
# 3
Hi Vasanth,
I believe Manish is now using a single domain. But I think there's still some scalability issues here, maybe? Can you perhaps go over the following thread and see if you can maybe suggest something that might be of use to try?
http://forum.sun.com/jive/thread.jspa?forumID=123&threadID=107212
Marco's already offered a lot of advice in this area, but we've hit a roadblock as you can see :-(
Thank you.
Sandeep
--Creator Team
skj at 2007-7-7 2:12:02 >

# 4
Sorry for the delay. Yes we are indeed only using a single domain once we figured out that we could simply use unique names for projects.
However, we are constantly running into scalability issues. After 8 - 10 projects are deployed, the App Server becomes unpredictable, and sometimes even stops functioning.
Solaris x86, AS 8.2 PE, 1GB RAM
Now that I am a little more familiar with the AS, I intend to provide server logs upon crashes.
Manish