Re: [OT] How much RAM can java use

2005-10-06 Thread J. Ryan Earl
Leon Rosenberg wrote: Debian 3.1, kernel 2.6.x-smp (32 bit) or Debian 3.1, kernel 2.6.x-smp-emt64 (64 bit) Hardware: AMD Opteron and Xeon64 (both 64 bit) SUN jdk1.5 and/or jdk1.4.2 4 GB total RAM for 32-bit linux, with 3/1 memory partitioning 16GB total RAM for 64-bit linux. I've tested 32

Re: 64 Bit Machines and Tomcat

2005-08-16 Thread J. Ryan Earl
'm pretty sure Blackdown will compile 64-bit as well. These machines are Intel Zeon processors (dual) Are they EM64T Xeons, or the older 32-bit only Xeons? -ryan JR --- "J. Ryan Earl" <[EMAIL PROTECTED]> wrote: J R wrote: I tried to install Tomcat,

Re: 64 Bit Machines and Tomcat

2005-08-15 Thread J. Ryan Earl
J R wrote: I tried to install Tomcat, and got the following: ./configure [...] configure: error: Unsupported CPU architecture "x86_64" How do I fix? Is there files out there to fix that? Is there any particular reason you need to build Tomcat? Why not just go with a prebuilt binary Tomca

Re: Max thread/session timeouts

2005-07-21 Thread J. Ryan Earl
As a reference, in conf/server.xml I set my thread limit to 1 max threads, 1000 max idle threads, and 100 on startup. I've seen my as many as 7K threads busy within my application. This is on a 32bit 2.6 Linux kernel with 2GB of RAM (-Xmx1500m). On the 2.4 kernel I found practical limita

RE: Tomcat processes

2005-05-04 Thread J. Ryan Earl
Generally speaking, one process with a lot of threads should perform better than distributing the threads among multiple processes because you're not doing as much context switching and it's more efficient on caches. J. Ryan Earl Systems/Network Engineer dynaConnections Corporation 51

RE: is it worth upgrading to tomcat 5.5.9 over jdk1.4?

2005-04-29 Thread J. Ryan Earl
r. I didn't notice any negative side affects migrating our application over from the Sun JRE 1.4.2 => 1.5.0, it "just worked." J. Ryan Earl Systems/Network Engineer dynaConnections Corporation 512.306.9898 -Original Message- From: Guy Katz [mailto:[EMAIL PROTECTED] Sent: F

RE: Clustering "application scope replication"

2005-04-22 Thread J. Ryan Earl
Let me rephrase the question, how does Tomcat determine what is a session attribute. What if there are classes that implement java.io.Serializable that have nothing to do with "session attributes?" -ryan -Original Message----- From: J. Ryan Earl [mailto:[EMAIL PROTECTED] Sent: Fri

RE: Clustering "application scope replication"

2005-04-22 Thread J. Ryan Earl
tion" As it is explained in the doc : "All your session attributes must implement java.io.Serializable" On Fri, 22 Apr 2005 09:44:01 -0500 "J. Ryan Earl" <[EMAIL PROTECTED]> wrote: > How does Tomcat know what to serialize? Does it just use the Reflection &

RE: Clustering "application scope replication"

2005-04-22 Thread J. Ryan Earl
How does Tomcat know what to serialize? Does it just use the Reflection package and serialize out -everything- that implements java.io.Serializable? -ryan -Original Message- From: Lionel Farbos [mailto:[EMAIL PROTECTED] Sent: Friday, April 22, 2005 9:11 AM To: Tomcat Users List Cc: [EMAI

RE: OutOfMemoryError - 100 thread limit?

2005-04-21 Thread J. Ryan Earl
Awesome, I'm glad that was solved as I'm about to do the same thing with our application: running multiple instances of the application on a single tomcat instance housing many virtual hosts. Thanks for the http://java.sun.com/docs/hotspot/VMOptions.html link Peter. -ryan -Original Message--

RE: OutOfMemoryError - 100 thread limit?

2005-04-21 Thread J. Ryan Earl
This is a really interesting and confusing problem... Can you tell how much memory the OS is actually committing to Java? ie Check the resident stable set (RSS) = how much of the virtual memory space has been physically commited to memory. # ps axl|grep java 0 501 2623 1 21 0 1264252 7

RE: OutOfMemoryError - 100 thread limit?

2005-04-21 Thread J. Ryan Earl
I, for one, am awaiting LeeAnn's response with abated breath. =) -ryan -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, April 21, 2005 9:53 AM To: Tomcat Users List Subject: RE: OutOfMemoryError - 100 thread limit? > From: Peter Lin [mailto:[EMAIL

RE: OutOfMemoryError - 100 thread limit?

2005-04-21 Thread J. Ryan Earl
rm gen space. -ryan -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, April 21, 2005 9:19 AM To: Tomcat Users List Subject: RE: OutOfMemoryError - 100 thread limit? > From: J. Ryan Earl [mailto:[EMAIL PROTECTED] > Subject: RE: OutOfMemoryError - 100 t

RE: OutOfMemoryError - 100 thread limit?

2005-04-21 Thread J. Ryan Earl
So let me get this straight, LeeAnn is specifying a maximum heap size of 512MB and a minimum size of 128MB. It looks like the heap doesn't get adjusted up when the servlets are initializing? Thus she needs to increase her minimum heapsize, so something like -Xms512m should fix it? -ryan -Or

RE: OutOfMemoryError - 100 thread limit?

2005-04-20 Thread J. Ryan Earl
After you've started your application, do a "ps ax|grep java" and see if that value is really making it into the command line; I'm doubting it is. To set these options, I added a the following the the .bash_profile of my tomcat user: export JAVA_OPTS="-Xmx1000m" -ryan -Original Message

RE: Need help exporting contexts not under webapps/

2005-04-19 Thread J. Ryan Earl
PM To: Tomcat Users List Subject: Re: Need help exporting contexts not under webapps/ Did you manage to get it right ? I would recommend that you use lower case context path name Regards Guru - Original Message - From: "J. Ryan Earl" <[EMAIL PROTECTED]> To: "Tomcat

RE: Need help exporting contexts not under webapps/

2005-04-19 Thread J. Ryan Earl
- From: QM [mailto:[EMAIL PROTECTED] Sent: Monday, April 18, 2005 8:30 PM To: Tomcat Users List Subject: Re: Need help exporting contexts not under webapps/ On Mon, Apr 18, 2005 at 01:16:04PM -0500, J. Ryan Earl wrote: : So my question is, in short, given a directory structure of static files, : how

Need help exporting contexts not under webapps/

2005-04-18 Thread J. Ryan Earl
Hello, I'm in the process of bringing an in-house application up under Tomcat. Previously we were using Jetty as the servlet container, but for various reason I'm trying to get said application running with Tomcat 5.5.9 and Java 1.5.0. The problem I'm having is that there are two directories with