[Logo] Terracotta Discussion Forums
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Understanding terracotta client logs  XML
Forum Index -> Terracotta Platform
Author Message
namratag

master

Joined: 01/31/2011 06:38:45
Messages: 98
Offline

Hello,
I am trying to understand terracotta client logs because it seems that at some point my client node becomes very slow (like waiting on something) and it requires a restart.

Here is the snippet from terracotta-client.log:

Code:
2011-12-06 17:30:43,009 [Statistics Logger] INFO com.terracottatech.dso - memory free : 11.986534 MB
 2011-12-06 17:30:43,059 [Statistics Logger] INFO com.terracottatech.dso - memory used : 1588.013466 MB
 2011-12-06 17:30:43,059 [Statistics Logger] INFO com.terracottatech.dso - memory max : 1600.000000 MB
 2011-12-06 17:30:43,202 [ClientLockManager LockGC] INFO com.tc.object.locks.ClientLockManager - ClientID[987]: Lock GC collected 84 garbage locks
 2011-12-06 17:30:43,203 [ClientLockManager LockGC] INFO com.tc.object.locks.ClientLockManager - ClientID[987]: Lock GC collected 100 garbage locks
 2011-12-06 17:31:03,264 [NonStopCache [ZAPI_CACHE_MANAGER] Executor Thread-58 for 'tomcat-http--23'] INFO com.tc.object.tx.RemoteTransactionManagerImpl - ClientID[987]: Sync Write for LongLockID(2668408446468288407) took longer than: 15 sec. Took : 345037 ms.
 
 2011-12-06 17:31:19,294 [NonStopCache [ZAPI_CACHE_MANAGER] Executor Thread-58 for 'tomcat-http--23'] INFO com.tc.object.tx.RemoteTransactionManagerImpl - ClientID[987]: Sync Write for LongLockID(2668408446468288407) took longer than: 15 sec. Took : 361067 ms.
 
 2011-12-06 17:31:43,214 [ClientLockManager LockGC] INFO com.tc.object.locks.ClientLockManager - ClientID[987]: Lock GC collected 111 garbage locks
 2011-12-06 17:32:00,445 [NonStopCache [ZAPI_CACHE_MANAGER] Executor Thread-58 for 'tomcat-http--23'] INFO com.tc.object.tx.RemoteTransactionManagerImpl - ClientID[987]: Sync Write for LongLockID(2668408446468288407) took longer than: 15 sec. Took : 376204 ms.
 
 2011-12-06 17:32:15,449 [NonStopCache [ZAPI_CACHE_MANAGER] Executor Thread-58 for 'tomcat-http--23'] INFO com.tc.object.tx.RemoteTransactionManagerImpl - ClientID[987]: Sync Write for LongLockID(2668408446468288407) took longer than: 15 sec. Took : 417222 ms.
 
 2011-12-06 17:32:30,453 [NonStopCache [ZAPI_CACHE_MANAGER] Executor Thread-58 for 'tomcat-http--23'] INFO com.tc.object.tx.RemoteTransactionManagerImpl - ClientID[987]: Sync Write for LongLockID(2668408446468288407) took longer than: 15 sec. Took : 432226 ms.
 
 2011-12-06 17:32:45,458 [NonStopCache [ZAPI_CACHE_MANAGER] Executor Thread-58 for 'tomcat-http--23'] INFO com.tc.object.tx.RemoteTransactionManagerImpl - ClientID[987]: Sync Write for LongLockID(2668408446468288407) took longer than: 15 sec. Took : 447231 ms.
 
 2011-12-06 17:32:55,290 [NonStopCache [ZAPI_CACHE_MANAGER] Executor Thread-58 for 'tomcat-http--23'] INFO com.tc.object.tx.RemoteTransactionManagerImpl - ClientID[987]: Sync Write for LongLockID(2668408446468288407) took longer than: 15 sec. Took : 457063 ms.
 
 2011-12-06 17:33:10,295 [NonStopCache [ZAPI_CACHE_MANAGER] Executor Thread-58 for 'tomcat-http--23'] INFO com.tc.object.tx.RemoteTransactionManagerImpl - ClientID[987]: Sync Write for LongLockID(2668408446468288407) took longer than: 15 sec. Took : 472068 ms.


My questions are:

1) in the beginning of the log it says, max memory 1600 MB. Where is this 1600 MB coming from? is this the JVM memory? then it says only 11 MB free out of this 1600 MB. Does this mean the rest of the memory is used by terracotta caching or is it talking about the JVM heap usage?

2) I have nonstop cache configured for all of my clustered caches. But based on the logs, it is complaining about taking it longer than 15 sec. Where is this 15 sec timeout configured?

Thanks for any help in advance!

Thanks,
Namrata
gyan10

ophanim

Joined: 06/28/2011 23:15:25
Messages: 700
Offline

I think you are reposting your issue. Below forum thread also belongs to you:
http://forums.terracotta.org/forums/posts/list/6343.page
Correct me if i am wrong.

For more detail, please read below doc:
http://ehcache.org/documentation/configuration/non-stop-cache

Cheers!!!

Gyan Awasthi
Terracotta -A Software AG company
 
Forum Index -> Terracotta Platform
Go to:   
Powered by JForum 2.1.7 © JForum Team