RE: Tomcat Memory leaks!

2003-06-04 Thread Hua Hou
Which JDK version are you using? If you are using JDK1.4.1_02, you might
have a memory leak problem (bug#4724129). Try to switch to JDK1.3.1_07 and
see whether you still have the same problem.

My 2 cents.


-Original Message-
From: Robert Abbate [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 02, 2003 10:06 PM
To: [EMAIL PROTECTED]
Subject: Tomcat Memory leaks!
Importance: High

Hi. It seems Tomcat (4.1.24) has a major memory leak, and I wanted to bring
it to the developers attention so they can check it out.

I run a shared hosting server (Mandrake 8.2, Apache 1.3) with virtual hosts.
I have 1 Gig of RAM and about 50 virtual hosts and yet I keep getting Out of
Memory errors!

I have made numerous adjustments to memory allocations, yet nothing helps.
Here's an example of what I've done:

CATALINA_OPTS="-Xmx64mb"
and
CATALINA_OPTS="-Xmx1028mb"

I can furnish my server.xml file upon request or anything else you may need
to fix the problem.

Thanks
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.483 / Virus Database: 279 - Release Date: 5/19/2003


-
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: Tomcat Memory leaks!

2003-06-03 Thread Shapira, Yoav

Howdy,
Umm, where's the memory leak?  ;)  Do you have any idea at all what
could be causing it?  Have you even once run your server with a profiler
to see where memory is being allocated???  We'll need a lot more
information if you want us to seriously look at this...

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Robert Abbate [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, June 03, 2003 12:06 AM
>To: [EMAIL PROTECTED]
>Subject: Tomcat Memory leaks!
>Importance: High
>
>Hi. It seems Tomcat (4.1.24) has a major memory leak, and I wanted to
bring
>it to the developers attention so they can check it out.
>
>I run a shared hosting server (Mandrake 8.2, Apache 1.3) with virtual
>hosts.
>I have 1 Gig of RAM and about 50 virtual hosts and yet I keep getting
Out
>of
>Memory errors!
>
>I have made numerous adjustments to memory allocations, yet nothing
helps.
>Here's an example of what I've done:
>
>CATALINA_OPTS="-Xmx64mb"
>and
>CATALINA_OPTS="-Xmx1028mb"
>
>I can furnish my server.xml file upon request or anything else you may
need
>to fix the problem.
>
>Thanks
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.483 / Virus Database: 279 - Release Date: 5/19/2003
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



RE: Tomcat Memory leaks!

2003-06-03 Thread Angus Mezick
How would setting fork to true change anything?  I thought it was the
default setting.  Am I wrong or is the documentation in web.xml wrong?
--Angus

> -Original Message-
> From: Alex Burton [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, June 03, 2003 12:30 AM
> To: Tomcat Users List
> Subject: RE: Tomcat Memory leaks!
> 
> 
> Have a look here: 
> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html
> 
> In your /conf/web.xml you can modify the 
> following like this (assuming you have Jikes installed):
> 
> 
> jsp
> 
> org.apache.jasper.servlet.JspServlet
> 
> logVerbosityLevel
> WARNING
> 
> 
> fork
> true
> 
> 
> compiler
> jikes
> 
> 3
> 
> 
> -Original Message-
> From: Robert Abbate [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 3 June 2003 2:18 PM
> To: Tomcat Users List
> Subject: RE: Tomcat Memory leaks!
> 
> 
> Hi. I honestly have no idea what you are talking about. Can 
> you explain what needs to be done for this? You talking about 
> changing `javac`? Thanks
> 
> -Original Message-
> From: Alex Burton [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 02, 2003 11:12 PM
> To: Tomcat Users List
> Subject: RE: Tomcat Memory leaks!
> 
> 
> Try the option to fork off the JSP compiles (or even use 
> Jikes to compile).
> 
> There seems to be a problem with compiling of JSPs that does 
> not use the usual memory you can allocate with the -Xmx type 
> flag... maybe one of the guru's can explain this.. but we had 
> similar problem that whe nwe moved to jikes forked compiles 
> went away...
> 
> Hope that helps.
> 
> Cheers,
> Alex.
> 
> -Original Message-
> From: Robert Abbate [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 3 June 2003 2:06 PM
> To: [EMAIL PROTECTED]
> Subject: Tomcat Memory leaks!
> Importance: High
> 
> 
> Hi. It seems Tomcat (4.1.24) has a major memory leak, and I 
> wanted to bring it to the developers attention so they can 
> check it out.
> 
> I run a shared hosting server (Mandrake 8.2, Apache 1.3) with 
> virtual hosts. I have 1 Gig of RAM and about 50 virtual hosts 
> and yet I keep getting Out of Memory errors!
> 
> I have made numerous adjustments to memory allocations, yet 
> nothing helps. Here's an example of what I've done:
> 
> CATALINA_OPTS="-Xmx64mb"
> and
> CATALINA_OPTS="-Xmx1028mb"
> 
> I can furnish my server.xml file upon request or anything 
> else you may need to fix the problem.
> 
> Thanks
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.483 / Virus Database: 279 - Release Date: 5/19/2003
> 
> 
> -
> 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]
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.483 / Virus Database: 279 - Release Date: 5/19/2003
> 
> 
> -
> 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]
> 
> 

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



RE: Tomcat Memory leaks!

2003-06-03 Thread Alex Burton
Have a look here:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html

In your /conf/web.xml you can modify the following like this
(assuming you have Jikes installed):


jsp
org.apache.jasper.servlet.JspServlet

logVerbosityLevel
WARNING


fork
true


compiler
jikes

3


-Original Message-
From: Robert Abbate [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 3 June 2003 2:18 PM
To: Tomcat Users List
Subject: RE: Tomcat Memory leaks!


Hi. I honestly have no idea what you are talking about. Can you explain what
needs to be done for this? You talking about changing `javac`? Thanks

-Original Message-
From: Alex Burton [mailto:[EMAIL PROTECTED]
Sent: Monday, June 02, 2003 11:12 PM
To: Tomcat Users List
Subject: RE: Tomcat Memory leaks!


Try the option to fork off the JSP compiles (or even use Jikes to compile).

There seems to be a problem with compiling of JSPs that does not use the
usual memory you can allocate with the -Xmx type flag... maybe one of the
guru's can explain this.. but we had similar problem that whe nwe moved to
jikes forked compiles went away...

Hope that helps.

Cheers,
Alex.

-Original Message-
From: Robert Abbate [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 3 June 2003 2:06 PM
To: [EMAIL PROTECTED]
Subject: Tomcat Memory leaks!
Importance: High


Hi. It seems Tomcat (4.1.24) has a major memory leak, and I wanted to bring
it to the developers attention so they can check it out.

I run a shared hosting server (Mandrake 8.2, Apache 1.3) with virtual hosts.
I have 1 Gig of RAM and about 50 virtual hosts and yet I keep getting Out of
Memory errors!

I have made numerous adjustments to memory allocations, yet nothing helps.
Here's an example of what I've done:

CATALINA_OPTS="-Xmx64mb"
and
CATALINA_OPTS="-Xmx1028mb"

I can furnish my server.xml file upon request or anything else you may need
to fix the problem.

Thanks
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.483 / Virus Database: 279 - Release Date: 5/19/2003


-
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]

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.483 / Virus Database: 279 - Release Date: 5/19/2003


-
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: Tomcat Memory leaks!

2003-06-03 Thread Robert Abbate
Hi. I honestly have no idea what you are talking about. Can you explain what
needs to be done for this? You talking about changing `javac`? Thanks

-Original Message-
From: Alex Burton [mailto:[EMAIL PROTECTED]
Sent: Monday, June 02, 2003 11:12 PM
To: Tomcat Users List
Subject: RE: Tomcat Memory leaks!


Try the option to fork off the JSP compiles (or even use Jikes to compile).

There seems to be a problem with compiling of JSPs that does not use the
usual memory you can allocate with the -Xmx type flag... maybe one of the
guru's can explain this.. but we had similar problem that whe nwe moved to
jikes forked compiles went away...

Hope that helps.

Cheers,
Alex.

-Original Message-
From: Robert Abbate [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 3 June 2003 2:06 PM
To: [EMAIL PROTECTED]
Subject: Tomcat Memory leaks!
Importance: High


Hi. It seems Tomcat (4.1.24) has a major memory leak, and I wanted to bring
it to the developers attention so they can check it out.

I run a shared hosting server (Mandrake 8.2, Apache 1.3) with virtual hosts.
I have 1 Gig of RAM and about 50 virtual hosts and yet I keep getting Out of
Memory errors!

I have made numerous adjustments to memory allocations, yet nothing helps.
Here's an example of what I've done:

CATALINA_OPTS="-Xmx64mb"
and
CATALINA_OPTS="-Xmx1028mb"

I can furnish my server.xml file upon request or anything else you may need
to fix the problem.

Thanks
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.483 / Virus Database: 279 - Release Date: 5/19/2003


-
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]

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.483 / Virus Database: 279 - Release Date: 5/19/2003


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



RE: Tomcat Memory leaks!

2003-06-03 Thread Alex Burton
Try the option to fork off the JSP compiles (or even use Jikes to compile).

There seems to be a problem with compiling of JSPs that does not use the
usual memory you can allocate with the -Xmx type flag... maybe one of the
guru's can explain this.. but we had similar problem that whe nwe moved to
jikes forked compiles went away...

Hope that helps.

Cheers,
Alex.

-Original Message-
From: Robert Abbate [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 3 June 2003 2:06 PM
To: [EMAIL PROTECTED]
Subject: Tomcat Memory leaks!
Importance: High


Hi. It seems Tomcat (4.1.24) has a major memory leak, and I wanted to bring
it to the developers attention so they can check it out.

I run a shared hosting server (Mandrake 8.2, Apache 1.3) with virtual hosts.
I have 1 Gig of RAM and about 50 virtual hosts and yet I keep getting Out of
Memory errors!

I have made numerous adjustments to memory allocations, yet nothing helps.
Here's an example of what I've done:

CATALINA_OPTS="-Xmx64mb"
and
CATALINA_OPTS="-Xmx1028mb"

I can furnish my server.xml file upon request or anything else you may need
to fix the problem.

Thanks
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.483 / Virus Database: 279 - Release Date: 5/19/2003


-
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]



Tomcat Memory leaks!

2003-06-03 Thread Robert Abbate
Hi. It seems Tomcat (4.1.24) has a major memory leak, and I wanted to bring
it to the developers attention so they can check it out.

I run a shared hosting server (Mandrake 8.2, Apache 1.3) with virtual hosts.
I have 1 Gig of RAM and about 50 virtual hosts and yet I keep getting Out of
Memory errors!

I have made numerous adjustments to memory allocations, yet nothing helps.
Here's an example of what I've done:

CATALINA_OPTS="-Xmx64mb"
and
CATALINA_OPTS="-Xmx1028mb"

I can furnish my server.xml file upon request or anything else you may need
to fix the problem.

Thanks
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.483 / Virus Database: 279 - Release Date: 5/19/2003


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