Thank you all for your help,
The second reason to use more than on tomcat is so i can stop one and the
others still work.
I compiled the mod_jk module on the server.
In catalina.sh i set JAVA_OPTS to "-server -Xms1g -Xmx1g -Xincgc"
I did test for maximum thread by run jsp with this code,
####################################
<%
try {
while(true){
new TestThread().start();
}
}
catch ( OutOfMemoryError e ) {System.out.println("Maximum threads = " +
TestThread.CREATE_COUNT);}
%>
<%!
public static class TestThread extends Thread {
private static int CREATE_COUNT = 0;
public TestThread() {
CREATE_COUNT++;
}
public void run() {
try {
sleep(Integer.MAX_VALUE);
}
catch (InterruptedException e) {;}
}
}
%>
####################################
I get Maximum threads = 32684.
prt wrote:
>
> Hi to all,
> I have Dell PE 2950 with two Intel xeon dual core 5130 processors.
> I use this server to run website.
> I have three tomcat work in balance in mod_jk, and one Apache in front on
> port 80.
>
> The JVM and the tomcat that i have on the server are 32 bit architecture.
>
> My question is,
> Is it good to do so or will be better to install 64 bit architecture JVM
> and compile tomcat
> on the server ?
>
> Thank you all for help and sorry about my English.
>
--
View this message in context:
http://www.nabble.com/Advice-about-Tomcat-on-x86_64-architecture..-tf4048957.html#a11515583
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]