jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cooper, Jeremy" <jeremy.coo...@retirementpartner.com>
Subject RE: Thread Lockup/Slowdown?
Date Fri, 02 Feb 2007 22:01:43 GMT
So if I understand you correctly, logging or logger level was the cause of this lockup/slowndown?


-----Original Message-----
From: Smuts, Aaron [mailto:Aaron.Smuts@travelocity.com] 
Sent: Friday, February 02, 2007 1:22 PM
To: JCS Users List
Subject: RE: Thread Lockup/Slowdown?

Don't run JCS with the JCS log levels set to debug.  Verify only executes if you are in debug.
 There is so much debug logging, the cache is not usable in this mode.  

> -----Original Message-----
> From: Cooper, Jeremy [mailto:jeremy.cooper@retirementpartner.com]
> Sent: Friday, February 02, 2007 12:00 PM
> To: JCS Users List
> Subject: Thread Lockup/Slowdown?
> 
> On 2/1/2007 we had a problem where many of our web app threads were 
> waiting for 
> org.apache.jcs.engine.memory.lru.LRUMemoryCache.verifyCache , See 
> ThreadDumps below.
> 
> Any ideas on why this call would hang up most of our threads?
> Additionally how could we prevent it?
> 
> Thanks
> Jeremy
> 
> Runnable:
> daemon prio=5 tid=0x0084f280 nid=0xa9 runnable [7b5ff000..7b6019c0] at 
> org.apache.jcs.engine.memory.lru.LRUMemoryCache.verifyCache(LRUMemoryC
> ache
> .java:639)      at
> org.apache.jcs.engine.memory.lru.LRUMemoryCache.get(LRUMemoryCache.jav
> a:30
> 5)      - locked <
> 0x9f89b968> (a org.apache.jcs.engine.memory.lru.LRUMemoryCache)      
> 0x9f89b968> at
> org.apache.jcs.engine.control.CompositeCache.get(CompositeCache.java:4
> 52)
>      at
> org.apache.jcs.engine.control.CompositeCache.get(CompositeCache.java:4
> 13)
>      at org.apache.jcs.access.CacheAccess.get(CacheAccess.java:195)
> 
> All other threads:
> daemon prio=5 tid=0x0084fe70 nid=0xaa waiting for monitor entry 
> [7b500000..7b5019c0]      at
> org.apache.jcs.engine.memory.lru.LRUMemoryCache.get(LRUMemoryCache.jav
> a)
>      - waiting to lock <0x9f89b968> (a
> org.apache.jcs.engine.memory.lru.LRUMemoryCache)      at
> org.apache.jcs.engine.control.CompositeCache.get(CompositeCache.java:4
> 52)
>      at
> org.apache.jcs.engine.control.CompositeCache.get(CompositeCache.java:4
> 13)
>      at org.apache.jcs.access.CacheAccess.get(CacheAccess.java:195)
> 
> 
> The information contained in this message and any accompanying 
> attachments may contain privileged, private and/or confidential 
> information protected by state and federal law. Penalties may be 
> assessed for unauthorized use and/or disclosure. This message and any 
> attachments are intended for the designated recipient only. If you 
> have received this information in error, please notify the sender 
> immediately and return or destroy the information.
> 
> This e-mail transmission and any attachments are believed to have been 
> sent free of any virus or other defect that might affect any computer 
> system into which it is received and opened. It is, however, the 
> recipient's responsibility to ensure that the e-mail transmission and 
> any attachments are virus free, and the sender accepts no 
> responsibility for any damage that may in any way arise from their use.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jcs-users-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-users-help@jakarta.apache.org



The information contained in this message and any accompanying attachments may contain privileged,
private and/or confidential information protected by state and federal law. Penalties may
be assessed for unauthorized use and/or disclosure. This message and any attachments are intended
for the designated recipient only. If you have received this information in error, please
notify the sender immediately and return or destroy the information.

This e-mail transmission and any attachments are believed to have been sent free of any virus
or other defect that might affect any computer system into which it is received and opened.
It is, however, the recipient's responsibility to ensure that the e-mail transmission and
any attachments are virus free, and the sender accepts no responsibility for any damage that
may in any way arise from their use.

---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-users-help@jakarta.apache.org


Mime
View raw message