RE: virtual host memory usage

2005-08-15 Thread George Sexton
You are correct. My suggestion was that you in one case had a file in the
common/lib directory, while in another you had it in the WEB-INF/lib
directory.

George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
  

 -Original Message-
 From: Oleg [mailto:[EMAIL PROTECTED] 
 Sent: Sunday, August 14, 2005 7:39 PM
 To: Tomcat Users List
 Subject: Re: virtual host memory usage
 
 I am sorry, what do you mean by host class loader? From what 
 I understand 
 there are 3 ways to load classes, /common/lib (used by 
 tomcat), shared/lib 
 (used by all applications), webapp/web-inf/lib used by this 
 one application.
  Thank you
 Oleg
 
  On 8/13/05, George Sexton [EMAIL PROTECTED] wrote: 
  
  The obvious first guess is that you have a class that is in the host
  classloader, and not the common classloader, and that class 
 is consuming
  large amounts of memory.
  
  
  
  George Sexton
  MH Software, Inc.
  http://www.mhsoftware.com/
  Voice: 303 438 9585
  
  
   -Original Message-
   From: Oleg [mailto:[EMAIL PROTECTED]
   Sent: Saturday, August 13, 2005 11:20 AM
   To: Tomcat Users List
   Subject: virtual host memory usage
  
   Why running 100 virutal hosts in Tomcat takes up much more
   memory than
   running a 100 identical applications under one host? Is there
   a way to
   configure Tomcat to run both the same?
  
   Thank you
   Oleg
  
  
  
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: virtual host memory usage

2005-08-15 Thread Oleg
Oh I see, well actually what I do, since all users with virtual hosts 
running identical applications, I place all application related libraries in 
shared/lib and WEB-INF/lib has only one jar which is application itself and 
its not in shared or common, common/lib only has Tomcat5 libraries plus 
database driver jar since I am using JNDI. Does that sound about right?

Thanks
Oleg

On 8/15/05, George Sexton [EMAIL PROTECTED] wrote:
 
 You are correct. My suggestion was that you in one case had a file in the
 common/lib directory, while in another you had it in the WEB-INF/lib
 directory.
 
 George Sexton
 MH Software, Inc.
 http://www.mhsoftware.com/
 Voice: 303 438 9585
 
 
  -Original Message-
  From: Oleg [mailto:[EMAIL PROTECTED]
  Sent: Sunday, August 14, 2005 7:39 PM
  To: Tomcat Users List
  Subject: Re: virtual host memory usage
 
  I am sorry, what do you mean by host class loader? From what
  I understand
  there are 3 ways to load classes, /common/lib (used by
  tomcat), shared/lib
  (used by all applications), webapp/web-inf/lib used by this
  one application.
  Thank you
  Oleg
 
  On 8/13/05, George Sexton [EMAIL PROTECTED] wrote:
  
   The obvious first guess is that you have a class that is in the host
   classloader, and not the common classloader, and that class
  is consuming
   large amounts of memory.
  
  
  
   George Sexton
   MH Software, Inc.
   http://www.mhsoftware.com/
   Voice: 303 438 9585
  
  
-Original Message-
From: Oleg [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 13, 2005 11:20 AM
To: Tomcat Users List
Subject: virtual host memory usage
   
Why running 100 virutal hosts in Tomcat takes up much more
memory than
running a 100 identical applications under one host? Is there
a way to
configure Tomcat to run both the same?
   
Thank you
Oleg
   
  
  
  
  -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 



Re: virtual host memory usage

2005-08-14 Thread Oleg
I am sorry, what do you mean by host class loader? From what I understand 
there are 3 ways to load classes, /common/lib (used by tomcat), shared/lib 
(used by all applications), webapp/web-inf/lib used by this one application.
 Thank you
Oleg

 On 8/13/05, George Sexton [EMAIL PROTECTED] wrote: 
 
 The obvious first guess is that you have a class that is in the host
 classloader, and not the common classloader, and that class is consuming
 large amounts of memory.
 
 
 
 George Sexton
 MH Software, Inc.
 http://www.mhsoftware.com/
 Voice: 303 438 9585
 
 
  -Original Message-
  From: Oleg [mailto:[EMAIL PROTECTED]
  Sent: Saturday, August 13, 2005 11:20 AM
  To: Tomcat Users List
  Subject: virtual host memory usage
 
  Why running 100 virutal hosts in Tomcat takes up much more
  memory than
  running a 100 identical applications under one host? Is there
  a way to
  configure Tomcat to run both the same?
 
  Thank you
  Oleg
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 



Re: virtual host memory usage

2005-08-13 Thread Parsons Technical Services
To my knowledge (sometimes limited but open to expansion) the answer is no. 
I base this on the understanding that each host loaded by Tomcat takes up 
memory space. Then add the application to that.


Doug


- Original Message - 
From: Oleg [EMAIL PROTECTED]

To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Saturday, August 13, 2005 1:19 PM
Subject: virtual host memory usage


Why running 100 virutal hosts in Tomcat takes up much more memory than
running a 100 identical applications under one host? Is there a way to
configure Tomcat to run both the same?

Thank you
Oleg



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: virtual host memory usage

2005-08-13 Thread George Sexton
The obvious first guess is that you have a class that is in the host
classloader, and not the common classloader, and that class is consuming
large amounts of memory.



George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
  

 -Original Message-
 From: Oleg [mailto:[EMAIL PROTECTED] 
 Sent: Saturday, August 13, 2005 11:20 AM
 To: Tomcat Users List
 Subject: virtual host memory usage
 
 Why running 100 virutal hosts in Tomcat takes up much more 
 memory than 
 running a 100 identical applications under one host? Is there 
 a way to 
 configure Tomcat to run both the same?
 
 Thank you
 Oleg
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]