I'm running out of memory with the msg:

...
WARNING: Error registering request
May 25, 2004 5:36:44 PM org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run
SEVERE: Caught exception (java.lang.OutOfMemoryError) executing [EMAIL PROTECTED], terminating thread
May 25, 2004 5:37:05 PM org.apache.jk.common.HandlerRequest invoke
INFO: Unknown message 0
java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
...



I've seen a sugestion of the "request.registerRequests=false" to put in jk2.properties. I'm using mod_jk, but as I see a similar message, I'll try this too. But... where do I put this conf, as mod_jk does not have a jk.properties file. could be it worker.properties? :)


thanks in advance

Joseph Shraibman wrote:
Robert Kr�ger wrote:


Hi,

we had the same problem (enormous memory leak which frequently made our production system crash), downgraded to 5.0.18 and everything went back to normal. Just yesterday a colleague of mine came to the conclusion that it is not too unlikely that it is the problem described in the message

http://www.mail-archive.com/[EMAIL PROTECTED]/msg53035.html

It that is so, you can simply disable the JMX registration of requests to get rid of the problem. We will try that probably later today but of course you can give it a shot yourself. There is not much to lose.


I was able to figure out how to reproduce this problem on my test machine (using multiple concurrent requests).


I added to my jk2.properties:

request.registerRequests=false

This got rid of some of the messages in catalina.out but left these:

Mar 19, 2004 1:47:51 PM org.apache.jk.common.HandlerRequest invoke
INFO: Unknown message 0
Mar 19, 2004 1:47:52 PM org.apache.jk.common.HandlerRequest invoke
INFO: Unknown message 0

... and the memory leak did not go away.

The message that I'm not getting anymore are:

Mar 19, 2004 1:25:34 PM org.apache.jk.common.HandlerRequest decodeRequest
WARNING: Error registering request
Mar 19, 2004 1:25:34 PM org.apache.jk.common.HandlerRequest decodeRequest
WARNING: Error registering request

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




--
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181

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



Reply via email to