Author Topic: License count + arsdoc  (Read 2366 times)

jsquizz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 573
    • View Profile
License count + arsdoc
« on: September 30, 2019, 10:14:13 AM »
I have a script that runs arsdoc to retrieve files. The script runs with no problems against most application groups. It runs to about 80% and then I've noticed that the licence count spikes-

OnDemand license limit has been exceeded, currently 13 running only 10 are entitled.  Please contact an IBM Service Representative.

    root 20971548        1   0   Sep 29      -  3:29 arssockd: license (Cur(13), Max(10))
    root 25165968 20971548   0   Sep 29      -  0:03 arssockd: cmd

This is our QA system, not much activity going on. Here's a question. Never seen this before, but could the retrieval of a certain file, maybe a large one, or a file with a certain file structure be causing this? I've also tried slowing down how fast the script runs. This application group is loaded with tons of resources from exstream. Once the license is exceeded, obviously my retrievals stop. Has anyone seen something similar? Btw, 8.5.0.6 :(
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2228
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: License count + arsdoc
« Reply #1 on: September 30, 2019, 12:16:39 PM »
Exceeding the license limits shouldn't stop you from completing a request.  It's just a notification / warning to buy more licenses.

Also, double-check with your IBM Rep -- that license limit may no longer be valid -- since you're unlikely to be paying for support for v8.5.x anyway.

-JD.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

jsquizz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 573
    • View Profile
Re: License count + arsdoc
« Reply #2 on: September 30, 2019, 01:53:14 PM »
Exceeding the license limits shouldn't stop you from completing a request.  It's just a notification / warning to buy more licenses.

Also, double-check with your IBM Rep -- that license limit may no longer be valid -- since you're unlikely to be paying for support for v8.5.x anyway.

-JD.

thanks, I'll see whats going on then. I could have sworn that once the license count was exceeded- that we fell flat on our face. HA!
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING

jsquizz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 573
    • View Profile
Re: License count + arsdoc
« Reply #3 on: October 01, 2019, 04:45:24 AM »
Tried this again last night. I'm expecting around 750 retrievals

While I was the only person on the system running my script-

09/30/2019 22:30:56   ARSSOCKD             0   Error   No      185   OnDemand license limit has been exceeded, currently 18 running only 10 are entitled.  Please contact an IBM Service Representative.
09/30/2019 22:30:52   ARSSOCKD             0   Error   No      185   OnDemand license limit has been exceeded, currently 18 running only 10 are entitled.  Please contact an IBM Service Representative.
09/30/2019 22:30:49   ARSSOCKD             0   Error   No      185   OnDemand license limit has been exceeded, currently 18 running only 10 are entitled.  Please contact an IBM Service Representative.
09/30/2019 22:30:44   ARSSOCKD             0   Error   No      185   OnDemand license limit has been exceeded, currently 18 running only 10 are entitled.  Please contact an IBM Service Representative.
09/30/2019 22:30:40   ARSSOCKD             0   Error   No      185   OnDemand license limit has been exceeded, currently 18 running only 10 are entitled.  Please contact an IBM Service Representative.
09/30/2019 22:30:37   ARSSOCKD             0   Error   No      185   OnDemand license limit has been exceeded, currently 18 running only 10 are entitled.  Please contact an IBM Service Representative.

The script then stopped at 713 retrievals. I only see 713 "90's" in the log.  I also see a lovely core file in the directory where I executed the script.
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2228
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: License count + arsdoc
« Reply #4 on: October 01, 2019, 06:38:53 AM »
Coredump = crash.  Whatever you're running is crashing, the server isn't cutting you off.  :)

-JD.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

jsquizz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 573
    • View Profile
Re: License count + arsdoc
« Reply #5 on: October 01, 2019, 06:44:32 AM »
Coredump = crash.  Whatever you're running is crashing, the server isn't cutting you off.  :)

-JD.

Yeah strange, the lic. count climbs, then it stops..making me wonder. Will do a trace.. Thanks
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING

jsquizz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 573
    • View Profile
Re: License count + arsdoc
« Reply #6 on: October 02, 2019, 01:15:56 PM »
Very strange coincidence that the license count was creeping up slowly as my script ran, but this happened because I was using my own useraccount on my server to run my extract, instead of a process account.

The ulimit's weren't high enough on my own account for stack. I upped it to unlimited, and the script didn't core anymore.

Always the SIMPLE little things!
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2228
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: License count + arsdoc
« Reply #7 on: October 02, 2019, 01:59:49 PM »
Yup.  For anyone who finds this in the future,
Code: [Select]
ulimit -a will show the current limits on system resources that are in effect.

And I think I've said this before, but a ulimit problem at my customer's site was turned into a full page article in ODNews back in 2013 or 2014.  And it's the reason why when you start arssockd and arsload that the ulimits are printed as part of the verbose output.  :)  There were some extra tricky things that caused it, but, it was a nightmare nonetheless.

-JD.

IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR