On 4/28/07, Reich, Matthias <[EMAIL PROTECTED]> wrote:
The problem is that the socket is added to the poller already within the
Http11AprProcessor.event method.
Due to this the process method can be invoked before the event method
has done it's cleanup.
I don't really understand how it can happ
Hello again,
I would like to give you another chance to see the situation where the
processing objects are not recycled.
After all my observations, I had the feeling that the reason for the
non-recycled processing objects must be problems with concurrent access
to queues or maps that hold these o
On 4/26/07, Reich, Matthias <[EMAIL PROTECTED]> wrote:
Thanks for the clear statement!
As I do see processing objects that are not recycled, I now know that I have to
postpone my efforts of using the CometProcessor interface. Maybe I'll retry
with Tomcat 6.1 when it is released ;-)
If some da
Tomcat Users List
> Subject: Re: Memory Leak with Comet
>
> On 4/26/07, Reich, Matthias <[EMAIL PROTECTED]> wrote:
> > The clear semantics of this approach would be: Processing
> is the same as for synchronous requests , except that the
> RequestProcessor thread is re
On 4/26/07, Reich, Matthias <[EMAIL PROTECTED]> wrote:
The clear semantics of this approach would be: Processing is the same as for
synchronous requests , except that the RequestProcessor thread is released from
processing early, and another thread (or several threads that synchronize when
acc
my Maucherat [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 25, 2007 6:42 PM
To: Tomcat Users List
Subject: Re: Memory Leak with Comet
On 4/25/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
> then it's normal behavior, he'll just have to wait for a timeout or the
&g
On 4/25/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
then it's normal behavior, he'll just have to wait for a timeout or the
client will disconnect
I don't know for sure, of course, but it's my theory at the moment.
Rémy
--
Rémy Maucherat wrote:
On 4/25/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
Do you have a small test case,
if nothing else, your connections should eventually timeout and that
should recycle the processors.
As long as the comet connection is active, the processor is spoken for.
He sub
On 4/25/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
Do you have a small test case,
if nothing else, your connections should eventually timeout and that
should recycle the processors.
As long as the comet connection is active, the processor is spoken for.
He submitted a test webapp th
ED]
Sent: Wednesday, April 25, 2007 3:11 PM
To: Tomcat Users List
Subject: Re: Memory Leak with Comet
On 4/25/07, Reich, Matthias <[EMAIL PROTECTED]> wrote:
First I ran Tomcat with a single connector with attribute maxThreads=20,
and started it with -Xmx10m.
In t
On 4/25/07, Reich, Matthias <[EMAIL PROTECTED]> wrote:
So far, I have the feeling that I am the only one who has seen these memory
leaks with asynchronous Comet responses.
I tried with a number of variations, e.g.
- let the browser wait for 500 millis before sending the next poll after
receivi
iginal Message-
From: Rémy Maucherat [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 25, 2007 3:11 PM
To: Tomcat Users List
Subject: Re: Memory Leak with Comet
On 4/25/07, Reich, Matthias <[EMAIL PROTECTED]> wrote:
> First I ran Tomcat with a single connector with attribute maxTh
On 4/25/07, Reich, Matthias <[EMAIL PROTECTED]> wrote:
First I ran Tomcat with a single connector with attribute maxThreads=20,
and started it with -Xmx10m.
In the dump I saw 103 instances of class
org.apache.coyote.http11.Http11AprProcessor and the same number of all
the attached objects like Re
Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 24, 2007 11:47 PM
To: Tomcat Users List
Subject: Re: Memory Leak with Comet
Why don't you enable -XX:+HeapDumpOnOutOfMemoryError and send us a link
where we can download the HPROF files that get gene
4 browser instances for my test, I have at most 12 (or 8) active
connections.
Matthias
-Original Message-
From: Rémy Maucherat [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 24, 2007 4:58 PM
To: Tomcat Users List
Subject: Re: Memory Leak with Comet
On 4/24/07, Reich, Matthias <[EM
On 4/24/07, Reich, Matthias <[EMAIL PROTECTED]> wrote:
I did a fresh build this morning from the SVN trunk, and I see the memory leak
with both NIO and APR connector.
For each browser I run, I have at most 3 active connections at a time.
I think, acually there are at most 2 active connections p
bject: Re: Memory Leak with Comet
On 4/24/07, Reich, Matthias <[EMAIL PROTECTED]> wrote:
> If memory allocation of Tomcat continues until I see messages like
>
> org.apache.coyote.http11.Http11NioProcessor: Error processing request
> java.lang.OutOfMemoryError: Java heap space
Th
On 4/24/07, Reich, Matthias <[EMAIL PROTECTED]> wrote:
If memory allocation of Tomcat continues until I see messages like
org.apache.coyote.http11.Http11NioProcessor: Error processing request
java.lang.OutOfMemoryError: Java heap space
There are leaks that have been fixed in the NIO connector,
18 matches
Mail list logo