setup:
Version - OpenSAF 5.1.FC : changeset - 7997
4-Node cluster
1PBE with 30K objects
for (( i = 1 ; i <=20000; i++))
immcfg -c TestClass testClass=$i
Above operation fails with ERR_NO_RESOURCE after the Ccb count for cluster reached 10000. Even when a max limit is reached; after few minutes more Ccbs are allowed. See the below syslog snippet
Sep 1 14:58:35 OSAF-SC1 osafimmnd[27298]: NO Ccb 45008 COMMITTED (chaniTestClass)
Sep 1 14:58:35 OSAF-SC1 osafimmnd[27298]: NO Ccb 45009 COMMITTED (chaniTestClass)
Sep 1 14:58:35 OSAF-SC1 osafimmnd[27298]: NO Ccb 45010 COMMITTED (chaniTestClass)
Sep 1 14:58:35 OSAF-SC1 osafimmnd[27298]: NO Ccb 45011 COMMITTED (chaniTestClass)
Sep 1 14:58:35 OSAF-SC1 osafimmnd[27298]: NO Ccb 45012 COMMITTED (chaniTestClass)
Sep 1 14:58:35 OSAF-SC1 osafimmnd[27298]: NO ERR_NO_RESOURCES: maximum Ccbs limit 20000 has been reached for the cluster
Sep 1 15:00:34 OSAF-SC1 syslog-ng[1194]: Log statistics; dropped='pipe(/dev/xconsole)=0', dropped='pipe(/dev/tty10)=0', processed='center(queued)=92951', processed='center(received)=47084',
processed='destination(messages)=47077', processed='destination(mailinfo)=7', processed='destination(mailwarn)=0', processed='destination(localmessages)=45786', processed='destination(newserr)=0', processed='destination(mailerr)=0', processed='destination(netmgm)=0', processed='destination(warn)=42', processed='destination(console)=16', processed='destination(null)=0', processed='destination(mail)=7', processed='destination(xconsole)=16', processed='destination(firewall)=0', processed='destination(acpid)=0', processed='destination(newscrit)=0', processed='destination(newsnotice)=0', processed='source(src)=47084'
Sep 1 15:10:14 OSAF-SC1 osafimmnd[27298]: NO Ccb 45014 COMMITTED (chaniTestClass)
Sep 1 15:10:14 OSAF-SC1 osafimmnd[27298]: NO Ccb 45015 COMMITTED (chaniTestClass)
Sep 1 15:10:14 OSAF-SC1 osafimmnd[27298]: NO Ccb 45016 COMMITTED (chaniTestClass)
Sep 1 15:10:14 OSAF-SC1 osafimmnd[27298]: NO Ccb 45017 COMMITTED (chaniTestClass)
Counting active CCBs is not correct.
For example:
sCcbVector.size() returns total amount of CCBs in IMM (finalized, non-finalized, vetoed, ...), and not only active CCBs.
To get the correct value, there must be an iterator on sCcbVector and check every CCB if it's OK.
The Lmit is for MAX_CCBs , which include finalized, non-finalized,...
The Limit is for the resources with in IMM and system. if you system has more resouces dyanmically increase the MAX_CCBs limit.
Hi Neelakanta,
I'll review IMM requirements, and check if the limit is to all CCBs or only to open CCBs.
Thanks,
Zoran
-----Original Message-----
From: Neelakanta Reddy [mailto:neelakanta@users.sf.net]
Sent: den 1 september 2016 14:50
To: [opensaf:tickets]
Subject: [opensaf:tickets] #1994 IMMSv: Finalized CCB are counted under Max Ccb Limit
The Lmit is for MAX_CCBs , which include finalized, non-finalized,...
The Limit is for the resources with in IMM and system. if you system has more resouces dyanmically increase the MAX_CCBs limit.
** [tickets:#1994] IMMSv: Finalized CCB are counted under Max Ccb Limit**
Status: unassigned
Milestone: 4.7.2
Created: Thu Sep 01, 2016 12:32 PM UTC by Chani Srivastava Last Updated: Thu Sep 01, 2016 12:42 PM UTC
Owner: nobody
setup:
Version - OpenSAF 5.1.FC : changeset - 7997 4-Node cluster 1PBE with 30K objects
immcfg -c TestClass testClass=$i
~~~
Above operation fails with ERR_NO_RESOURCE after the Ccb count for cluster reached 10000. Even when a max limit is reached; after few minutes more Ccbs are allowed. See the below syslog snippet
Sep 1 14:58:35 OSAF-SC1 osafimmnd[27298]: NO Ccb 45008 COMMITTED (chaniTestClass)
Sep 1 14:58:35 OSAF-SC1 osafimmnd[27298]: NO Ccb 45009 COMMITTED (chaniTestClass)
Sep 1 14:58:35 OSAF-SC1 osafimmnd[27298]: NO Ccb 45010 COMMITTED (chaniTestClass)
Sep 1 14:58:35 OSAF-SC1 osafimmnd[27298]: NO Ccb 45011 COMMITTED (chaniTestClass)
Sep 1 14:58:35 OSAF-SC1 osafimmnd[27298]: NO Ccb 45012 COMMITTED (chaniTestClass)
Sep 1 14:58:35 OSAF-SC1 osafimmnd[27298]: NO ERR_NO_RESOURCES: maximum Ccbs limit 20000 has been reached for the cluster
Sep 1 15:00:34 OSAF-SC1 syslog-ng[1194]: Log statistics; dropped='pipe(/dev/xconsole)=0', dropped='pipe(/dev/tty10)=0', processed='center(queued)=92951', processed='center(received)=47084',
processed='destination(messages)=47077', processed='destination(mailinfo)=7', processed='destination(mailwarn)=0', processed='destination(localmessages)=45786', processed='destination(newserr)=0', processed='destination(mailerr)=0', processed='destination(netmgm)=0', processed='destination(warn)=42', processed='destination(console)=16', processed='destination(null)=0', processed='destination(mail)=7', processed='destination(xconsole)=16', processed='destination(firewall)=0', processed='destination(acpid)=0', processed='destination(newscrit)=0', processed='destination(newsnotice)=0', processed='source(src)=47084'
Sep 1 15:10:14 OSAF-SC1 osafimmnd[27298]: NO Ccb 45014 COMMITTED (chaniTestClass)
Sep 1 15:10:14 OSAF-SC1 osafimmnd[27298]: NO Ccb 45015 COMMITTED (chaniTestClass)
Sep 1 15:10:14 OSAF-SC1 osafimmnd[27298]: NO Ccb 45016 COMMITTED (chaniTestClass)
Sep 1 15:10:14 OSAF-SC1 osafimmnd[27298]: NO Ccb 45017 COMMITTED (chaniTestClass)
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/opensaf/tickets/1994/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Related
Tickets:
#1994The limit is considered only for active ccbs
changeset: 8088:aa40d984dee1
branch: opensaf-5.1.x
parent: 8086:586c8af8cde5
user: Neelakanta Reddy
date: Fri Sep 16 11:54:52 2016 +0530
summary: imm:consider Active ccbs for maxccbs limit [#1994]
changeset: 8089:4cb5345507df
tag: tip
parent: 8087:07c1327009f9
user: Neelakanta Reddy
date: Fri Sep 16 11:54:52 2016 +0530
summary: imm:consider Active ccbs for maxccbs limit [#1994]
Related
Tickets:
#1994To correct sTerminatedCcbcount more than ccbvector.size(), and adding assert
changeset: 8104:554cfde112e2
branch: opensaf-5.1.x
parent: 8102:1794ee4f2e48
user: Neelakanta Reddy
date: Tue Sep 20 14:42:00 2016 +0530
summary: imm: ccbs that are not timed out are counted for TerminatedCcbcount[#1994]
changeset: 8105:30138cd18adb
tag: tip
parent: 8103:aac8fd955b93
user: Neelakanta Reddy
date: Tue Sep 20 14:42:00 2016 +0530
summary: imm: ccbs that are not timed out are counted for TerminatedCcbcount[#1994]
Related
Tickets:
#1994