Hi Neel, Here are my observations for the issue:
*In 5.0 * * Number of IMMSV_MAX_CCB limits the number of Open Ccbs (Ccb which are not yet committed) * If the MAX_CCB is 1000, the below code works as ccbs are committing . The below code could be used to create 30000 objects with IMMSV_MAX_CCB 1000 for (( i = 1 ; i <=30000; i++)) immcfg -c PinvId -a pinvPhoneNumber=+46768 pinvRdn=$i *In 5.1 changeset 7997* * Ccb limit is accounting the closed/ finalized Ccbs also. * ERR_NO_RESOURCES is returned while trying to create more Ccb * Even when a max limit is reached; after few minutes more Ccbs are allowed. See the below syslog snippet for 5.1 behavior Note: maxCcb updated to 20000 from default 10000 ================================================ 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) ====================================================== This doesn't seem to be a documentation issue as the max_limit is applicable for few minutes and the count is revised after that. Also the maxlimit should not account the finalized CCBs as was the case in earlier 5.0 release. -Chani On 9/1/2016 2:39 PM, Neelakanta Reddy wrote: > Hi, > > I think this is not yet documented and will be documented. > Try to increase the ccb limits and check. > > /Neel. > > On 2016/09/01 02:01 PM, Chani Srivastava wrote: >> Hi, >> >> With current 5.1 OpenSAF changeset 7997 the issue is reproducible >> >> ============================================== >> Sep 1 12:16:52 OSAF-SC1 osafimmnd[27298]: NO Ccb 10002 COMMITTED >> (chaniTestClass) >> Sep 1 12:16:52 OSAF-SC1 osafimmnd[27298]: NO Ccb 10003 COMMITTED >> (chaniTestClass) >> Sep 1 12:16:52 OSAF-SC1 osafimmnd[27298]: NO Ccb 10004 COMMITTED >> (chaniTestClass) >> Sep 1 12:16:52 OSAF-SC1 osafimmnd[27298]: NO Ccb 10005 COMMITTED >> (chaniTestClass) >> Sep 1 12:16:52 OSAF-SC1 osafimmnd[27298]: NO ERR_NO_RESOURCES: maximum >> Ccbs limit 10000 has been reached for the cluster >> =============================================== >> >> This looks like a candidate for ticket. Let me know i'll raise it in >> community. >> >> -Chani >> >> On 9/1/2016 1:49 PM, Neelakanta Reddy wrote: >>> Hi, >>> >>> can you verify the same with 5.1. >>> >>> /Neel. >>> >>> >>> On 2016/09/01 12:58 PM, Chani Srivastava wrote: >>>> Hi All, >>>> >>>> I verified this is a break in functionality. In OpenSAF 5.0 I tried >>>> creating 15000 objects per CCB and it worked fine. >>>> >>>> ===================================== >>>> Nov 26 15:21:17 SCALE_SLOT-91 osafimmnd[24451]: NO Ccb 237 COMMITTED >>>> (chaniTestClass) >>>> Nov 26 15:21:17 SCALE_SLOT-91 osafimmnd[24451]: NO Ccb 238 COMMITTED >>>> (chaniTestClass) >>>> Nov 26 15:21:17 SCALE_SLOT-91 osafimmnd[24451]: NO Ccb 239 COMMITTED >>>> (chaniTestClass) >>>> Nov 26 15:21:17 SCALE_SLOT-91 osafimmnd[24451]: NO Ccb 240 COMMITTED >>>> (chaniTestClass) >>>> . >>>> . >>>> . >>>> Nov 26 15:23:05 SCALE_SLOT-91 osafimmnd[24451]: NO Ccb 15230 COMMITTED >>>> (chaniTestClass) >>>> Nov 26 15:23:05 SCALE_SLOT-91 osafimmnd[24451]: NO Ccb 15231 COMMITTED >>>> (chaniTestClass) >>>> Nov 26 15:23:05 SCALE_SLOT-91 osafimmnd[24451]: NO Ccb 15232 COMMITTED >>>> (chaniTestClass) >>>> Nov 26 15:23:05 SCALE_SLOT-91 osafimmnd[24451]: NO Ccb 15233 COMMITTED >>>> (chaniTestClass) >>>> Nov 26 15:23:05 SCALE_SLOT-91 osafimmnd[24451]: NO Ccb 15234 COMMITTED >>>> (chaniTestClass) >>>> Nov 26 15:23:05 SCALE_SLOT-91 osafimmnd[24451]: NO Ccb 15235 COMMITTED >>>> (chaniTestClass) >>>> Nov 26 15:23:05 SCALE_SLOT-91 osafimmnd[24451]: NO Ccb 15236 COMMITTED >>>> (chaniTestClass) >>>> ====================================== >>>> >>>> The ticket #195 only makes the MAX parameters configurable. >>>> If accepted, I'll raise the ticket in sourceforge. >>>> >>>> -Chani >>>> >>>> On 9/1/2016 10:59 AM, A V Mahesh wrote: >>>>> Hi All, >>>>> >>>>> I was running `immcfg` in a loop to create some object , once it >>>>> reaches 10001objects creation >>>>> Immnd is returning `ERR_NO_RESOURCES: maximum Ccbs limit 10000 has been >>>>> reached for the cluster` error >>>>> which is unexpected , once `immcfg` reruns , it is expected that the >>>>> `maximum Ccbs` will decremented ( this was previous behavior) , >>>>> >>>>> can you please check. >>>>> >>>>> ========================================================================================================= >>>>> >>>>> >>>>> for (( i = 1 ; i <=300000; i++)) >>>>> immcfg -c PinvId -a pinvPhoneNumber=+46768 pinvRdn=$i >>>>> >>>>> Sep 1 10:43:33 SC-1 osafimmnd[4466]: NO Ccb 9996 COMMITTED >>>>> (immcfg_SC-1_2334) >>>>> Sep 1 10:43:33 SC-1 osafimmnd[4466]: NO Ccb 9997 COMMITTED >>>>> (immcfg_SC-1_2337) >>>>> Sep 1 10:43:33 SC-1 osafimmnd[4466]: NO Ccb 9998 COMMITTED >>>>> (immcfg_SC-1_2340) >>>>> Sep 1 10:43:33 SC-1 osafimmnd[4466]: NO Ccb 9999 COMMITTED >>>>> (immcfg_SC-1_2343) >>>>> Sep 1 10:43:33 SC-1 osafimmnd[4466]: NO Ccb 10000 COMMITTED >>>>> (immcfg_SC-1_2346) >>>>> Sep 1 10:43:33 SC-1 osafimmnd[4466]: NO Ccb 10001 COMMITTED >>>>> (immcfg_SC-1_2349) >>>>> Sep 1 10:43:33 SC-1 osafimmnd[4466]: NO ERR_NO_RESOURCES: maximum Ccbs >>>>> limit 10000 has been reached for the cluster >>>>> Sep 1 10:43:33 SC-1 osafimmnd[4466]: NO ERR_NO_RESOURCES: maximum Ccbs >>>>> limit 10000 has been reached for the cluster >>>>> Sep 1 10:43:33 SC-1 osafimmnd[4466]: NO ERR_NO_RESOURCES: maximum Ccbs >>>>> limit 10000 has been reached for the cluster >>>>> >>>>> >>>>> ========================================================================================================= >>>>> >>>>> >>>>> -AVM >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> _______________________________________________ >>>>> Opensaf-devel mailing list >>>>> Opensaf-devel@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/opensaf-devel >>>> ------------------------------------------------------------------------------ >>>> _______________________________________________ >>>> Opensaf-devel mailing list >>>> Opensaf-devel@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/opensaf-devel >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> Opensaf-devel mailing list >>> Opensaf-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/opensaf-devel >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Opensaf-devel mailing list >> Opensaf-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/opensaf-devel > > ------------------------------------------------------------------------------ > _______________________________________________ > Opensaf-devel mailing list > Opensaf-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/opensaf-devel ------------------------------------------------------------------------------ _______________________________________________ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel