- **status**: review --> fixed
- **Comment**:

changeset:   5787:1ae3fab58c88
branch:      opensaf-4.5.x
parent:      5785:ea9d40a93b09
user:        A V Mahesh <[email protected]>
date:        Mon Sep 15 14:42:43 2014 +0530
summary:     mds: change mds logging prefix readability [#520]
 
changeset:   5788:47bb76fa989b
branch:      opensaf-4.5.x
user:        A V Mahesh <[email protected]>
date:        Mon Sep 15 14:45:07 2014 +0530
summary:     mds: use ncsmds_svc_names mapping array of ncsmds_svc_id for 
logging [#520]
 
changeset:   5789:be5d69ad7c82
branch:      opensaf-4.5.x
user:        A V Mahesh <[email protected]>
date:        Mon Sep 15 14:46:34 2014 +0530
summary:     mds: update adest details for log readability [#520]
 
changeset:   5790:43f758230e5f
branch:      opensaf-4.5.x
user:        A V Mahesh <[email protected]>
date:        Mon Sep 15 14:47:33 2014 +0530
summary:     mds: update logs according for readability [#520]
 
changeset:   5791:e970f1e8ff6b
parent:      5786:dcae8bcf532f
user:        A V Mahesh <[email protected]>
date:        Mon Sep 15 14:51:41 2014 +0530
summary:     mds: change mds logging prefix readability [#520]
 
changeset:   5792:f8dbeb5ee3c0
user:        A V Mahesh <[email protected]>
date:        Mon Sep 15 14:52:40 2014 +0530
summary:     mds: use ncsmds_svc_names mapping array of ncsmds_svc_id for 
logging [#520]
 
changeset:   5793:a9233c37c652
user:        A V Mahesh <[email protected]>
date:        Mon Sep 15 14:53:20 2014 +0530
summary:     mds: update adest details for log readability [#520]
 
changeset:   5794:c01bcaff9ca7
tag:         tip
user:        A V Mahesh <[email protected]>
date:        Mon Sep 15 14:54:02 2014 +0530
summary:     mds: update logs according for readability [#520]



---

** [tickets:#520] Mds: Tune MDS logging  to minimal & informative **

**Status:** fixed
**Milestone:** 4.5.0
**Created:** Thu Jul 25, 2013 01:19 PM UTC by hano
**Last Updated:** Mon Aug 18, 2014 04:43 AM UTC
**Owner:** A V Mahesh (AVM)

Minimize the  MDS logging  to  only in case of  required so that it can not 
reach  1 Mb of log rotation range/size sooner .


amfnd core dump is produced when amfnd main thread (10720) is waiting for a 
pthread mutex, gl_mds_library_mutex, which is held by the mds thread (10723).
The amf watchdog detects this (no healthchecks received) and sends an abort 
signal to the amfnd. Holding a mutex during file operations in MDS is not 
correct and should be corrected. (HR50165)
 

 #0  0x00007f7830d70294 in __lll_lock_wait () from /lib64/libpthread.so.0

(gdb) p gl_mds_library_mutex

$1 = {__data = {__lock = 2, __count = 1, __owner = 10723, __nusers = 1, __kind 
= 1, __spins = 0, __list = {__prev = 0x0, __next = 0x0}},

  __size = " ã ) ", ' ' <repeats 22 times>, __align = 4294967298}

(gdb) info thr

  Id   Target Id         Frame

  4    Thread 0x7f7832263b00 (LWP 10723) 0x00007f783083e20d in write () from 
/lib64/libc.so.6

  3    Thread 0x7f7832283b00 (LWP 10722) 0x00007f7830844f53 in select () from 
/lib64/libc.so.6

  2    Thread 0x7f7832243b00 (LWP 10724) 0x00007f7830d7076d in read () from 
/lib64/libpthread.so.0

* 1    Thread 0x7f7832286700 (LWP 10720) 0x00007f7830d70294 in __lll_lock_wait 
() from /lib64/libpthread.so.0

 


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to