z/OS core - Job submit failed #716
Replies: 5 comments 1 reply
-
Hello @fabiobncbb I would be happy to help and it just happens we might still have a customized build you could try that would answer if this issue is yours as well , here. If I recall you might have challenges installing updates, I'll review on Monday and reach out you. |
Beta Was this translation helpful? Give feedback.
-
@fabiobncbb by any chance did you noticed any system log entries that look like:
|
Beta Was this translation helpful? Give feedback.
-
So I did trace it down to the code which threw the exception which then was propagated by our code instead of capturing it which would not change anything. From what I can see without a recreate is that after our REXX code ran which collected the job log, the Ansible engine code started reading stdout and and appending it to a variable which for some reason appears to run out of storage/heap. The issue I noted in the post #80379 is not the same issue, although its in the same ansible api. I have one idea, this would not work for issue #80379 but might work for this, and that is to force the stdout and stderr streams to be unbuffered by using environment variable PYTHONUNBUFFERED. You should be able to do this by passing it to your environment vars like so
Try this and see if it helps, if you have any stats/info on the joblog size in terms of kb or lines we might be able to reproduce it. |
Beta Was this translation helpful? Give feedback.
-
@fabiobncbb - I did not have time to write the playbook till today, but included in this response is a playbook that will query some heap stats. What I am looking for is why a variable in python did not have enough heap which I was hoping Here is the playbook, choose what you feel comfortable sharing, but at minimum I need these tags:
which can be run like so: the others will be helpful, the playbook has the instructions written in side.
|
Beta Was this translation helpful? Give feedback.
-
After some tests, we detected that the unix/tso MEMLIMIT environment variable, in z/OS, was limiting the execution to 2GB and the operation was being canceled and generating the memory error. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using z/OS core 1.4.0 to submit jobs and encountering the following situation:
When the sysout is small or the job abends with return-code 12, the automation ends correctly and I manage to handle the sysout.
When the sysout is large, the automation return fails with the error in the image below, but in the mainframe it runs normally.
Obs.:I already tried with return output false and true
Obs.: I already increased the size of the user's TSO session on the mainframe, the user's /home on the control node but I can't identify exactly what the problem is.
Beta Was this translation helpful? Give feedback.
All reactions