License count + arsdoc

Previous topic - Next topic

jsquizz

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

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.
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Webinars:  https://CMOD.Training/
IBM CMOD Professional Services: https://CMOD.cloud

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

jsquizz

Quote from: Justin Derrick on September 30, 2019, 07: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.

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

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

Coredump = crash.  Whatever you're running is crashing, the server isn't cutting you off.  :)

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

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

jsquizz

Quote from: Justin Derrick on October 01, 2019, 01:38:53 PM
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

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

Yup.  For anyone who finds this in the future, 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.

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

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