f



ENDJOB and jobs that take a long time to "go away" from END status

In some of my software, if the program is a long-running program (say more =
than 1 year or so) and I ask it to terminate with ENDJOB, the job goes to E=
ND or EOJ status and stays there for a long time.  The first time this happ=
ened it was 5 jobs, all part of a parent program, and they had been running=
 for more than 1.5 years.  They took more than 2 hrs to fully be cleaned up=
 by the system.  CPU usage was high by the system while this was happening.

We've had to do this again recently and the same thing happened.  Funny thi=
ng is that when the system got these jobs cleared out, we reclaimed ~30GB o=
f ASP space.  I thought about running some tests to see what could be causi=
ng the system to do whatever it was doing for so long.  Using "DSPJOB JOB(x=
/x/x) OPTION(*RUNA)" I discovered that these child jobs had a tendency to h=
ave a large amount of "Temporary storage used".  I went on crusade and foun=
d two places where small amounts of memory were being leaked with each tran=
saction.  I fixed those and set up a test where these programs had to proce=
ss much larger amounts of data than they typically do.  Running them for se=
veral hours, I found that the temporary storage used value stayed the same =
as when the job first began, so it appeared my memory leak fixes worked, bu=
t the system still went into some clean-up work (I guess) to get the jobs o=
ut of the system, although it didn't take as long since they had only been =
running for a few hours and not months.

So, what else can I look at?  I don't know what the system is doing when th=
e job is in END status, but given the high CPU usage and time required to r=
emove the jobs from the system, I assume something is being cleaned up here=
, but I can't tell what, really.
0
Mr
11/12/2014 6:24:13 PM
comp.sys.ibm.as400.misc 9219 articles. 3 followers. Post Follow

2 Replies
342 Views

Similar Articles

[PageSpeed] 53

El mi=E9rcoles, 12 de noviembre de 2014 15:24:15 UTC-3, Mr. K.V.B.L.  escri=
bi=F3:
> In some of my software, if the program is a long-running program (say mor=
e than 1 year or so) and I ask it to terminate with ENDJOB, the job goes to=
 END or EOJ status and stays there for a long time.  The first time this ha=
ppened it was 5 jobs, all part of a parent program, and they had been runni=
ng for more than 1.5 years.  They took more than 2 hrs to fully be cleaned =
up by the system.  CPU usage was high by the system while this was happenin=
g.
>=20
> We've had to do this again recently and the same thing happened.  Funny t=
hing is that when the system got these jobs cleared out, we reclaimed ~30GB=
 of ASP space.  I thought about running some tests to see what could be cau=
sing the system to do whatever it was doing for so long.  Using "DSPJOB JOB=
(x/x/x) OPTION(*RUNA)" I discovered that these child jobs had a tendency to=
 have a large amount of "Temporary storage used".  I went on crusade and fo=
und two places where small amounts of memory were being leaked with each tr=
ansaction.  I fixed those and set up a test where these programs had to pro=
cess much larger amounts of data than they typically do.  Running them for =
several hours, I found that the temporary storage used value stayed the sam=
e as when the job first began, so it appeared my memory leak fixes worked, =
but the system still went into some clean-up work (I guess) to get the jobs=
 out of the system, although it didn't take as long since they had only bee=
n running for a few hours and not months.
>=20
> So, what else can I look at?  I don't know what the system is doing when =
the job is in END status, but given the high CPU usage and time required to=
 remove the jobs from the system, I assume something is being cleaned up he=
re, but I can't tell what, really.

try with ENDJOBABN

--=20


CONFIDENCIALIDAD: La informacion contenida en este mensaje y en los archivo=
s adjuntos son de caracter confidencial y/o privilegiada, siendo esta desti=
nada al uso exclusivo del emisor  y/o de la persona o entidad a quien va di=
rigida.
Si usted no es el destinatario, cualquier almacenamiento, divulgacion, dist=
ribucion o copia de esta informacion esta estrictamente prohibida y sancion=
ada por la ley. Si recibio este mensaje por error, por favor informenos inm=
ediatamente respondiendo este mismo mensaje y borre este y todos los archiv=
os adjuntos.=20
Considerando que no existe certidumbre de que el presente mensaje no sera m=
odificado como resultado de su transmision por correo electronico, Mutual d=
e Seguros de Chile no sera responsable si el contenido del mismo ha sido mo=
dificado.
Por su atencion, gracias.

0
jcorral
11/24/2014 5:38:30 PM
Download and install from www.easy400.net the open-source free utility ENDJOBS.
Read about that at page http://www.easy400.net/easy400/endjobs/endjobs.htm .
0
Giovanni
2/21/2015 1:33:43 PM
Reply:

Similar Artilces:

"jobs in usa" "jobs in usa" "jobs in usa for uk citizens" "jobs in usa for freshers" "jobs in usa hotels" "jobs in usa for foreigners" "jobs in finance" "jobs in finland for foreigners" "jobs
"jobs in usa" "jobs in usa" "jobs in usa for uk citizens" "jobs in usa for freshers" "jobs in usa hotels" "jobs in usa for foreigners" "jobs in finance" "jobs in finland for foreigners" "jobs in finland" on www.pakjobs2008.blogspot.com "jobs in usa" "jobs in usa" "jobs in usa for uk citizens" "jobs in usa for freshers" "jobs in usa hotels" "jobs in usa for foreigners" "jobs in finance" "jobs in finland for foreigners&quo...

"jobs in usa" "jobs in usa" "jobs in usa for uk citizens" "jobs in usa for freshers" "jobs in usa hotels" "jobs in usa for foreigners" "jobs in finance" "jobs in finland for foreigners" "jobs
"jobs in usa" "jobs in usa" "jobs in usa for uk citizens" "jobs in usa for freshers" "jobs in usa hotels" "jobs in usa for foreigners" "jobs in finance" "jobs in finland for foreigners" "jobs in finland" on www.pakjobs2008.blogspot.com "jobs in usa" "jobs in usa" "jobs in usa for uk citizens" "jobs in usa for freshers" "jobs in usa hotels" "jobs in usa for foreigners" "jobs in finance" "jobs in finland for foreigners&quo...

"germany jobs" "germany job sites" "germany job search" "jobs in germany" "german jobs" "germany jobs it" "germany jobs for foreigners" "germany jobsite" "germany jobs in english" on http:/
"germany jobs" "germany job sites" "germany job search" "jobs in germany" "german jobs" "germany jobs it" "germany jobs for foreigners" "germany jobsite" "germany jobs in english" on http://jobs-germany.blogspot.com/ "germany jobs" "germany job sites" "germany job search" "jobs in germany" "german jobs" "germany jobs it" "germany jobs for foreigners" "germany jobsite" "germany jobs in english" on http://jobs-ge...

"germany jobs" "germany job sites" "germany job search" "jobs in germany" "german jobs" "germany jobs it" "germany jobs for foreigners" "germany jobsite" "germany jobs in english" on http:/
"germany jobs" "germany job sites" "germany job search" "jobs in germany" "german jobs" "germany jobs it" "germany jobs for foreigners" "germany jobsite" "germany jobs in english" on http://jobs-germany.blogspot.com/ "germany jobs" "germany job sites" "germany job search" "jobs in germany" "german jobs" "germany jobs it" "germany jobs for foreigners" "germany jobsite" "germany jobs in english" on http://jobs-ge...

"germany jobs" "germany job sites" "germany job search" "jobs in germany" "german jobs" "germany jobs it" "germany jobs for foreigners" "germany jobsite" "germany jobs in english" on http:/
"germany jobs" "germany job sites" "germany job search" "jobs in germany" "german jobs" "germany jobs it" "germany jobs for foreigners" "germany jobsite" "germany jobs in english" on http://jobs-germany.blogspot.com/ "germany jobs" "germany job sites" "germany job search" "jobs in germany" "german jobs" "germany jobs it" "germany jobs for foreigners" "germany jobsite" "germany jobs in english" on http://jobs-ge...

"jobs in pakistan" "jobs in pia" "jobs in karachi" "jobs in lahore" "jobs in canada" jobs in australia" "jobs in america" on www.pakjobs2008.blogspot.com
"jobs in pakistan" "jobs in pia" "jobs in karachi" "jobs in lahore" "jobs in canada" jobs in australia" "jobs in america" on www.pakjobs2008.blogspot.com "jobs in pakistan" "jobs in pia" "jobs in karachi" "jobs in lahore" "jobs in canada" jobs in australia" "jobs in america" on www.pakjobs2008.blogspot.com "jobs in pakistan" "jobs in pia" "jobs in karachi" "jobs in lahore" "jobs in canada" jobs in australia" &qu...

"germany jobs" "germany job sites" "germany job search" "jobs in germany" "german jobs" "germany jobs it" "germany jobs for foreigners" "germany jobsite" "germany jobs in english" on http:/ #2
"germany jobs" "germany job sites" "germany job search" "jobs in germany" "german jobs" "germany jobs it" "germany jobs for foreigners" "germany jobsite" "germany jobs in english" on http://jobs-germany.blogspot.com/ "germany jobs" "germany job sites" "germany job search" "jobs in germany" "german jobs" "germany jobs it" "germany jobs for foreigners" "germany jobsite" "germany jobs in english" on http://jobs-ge...

"germany jobs" "germany job sites" "germany job search" "jobs in germany" "german jobs" "germany jobs it" "germany jobs for foreigners" "germany jobsite" "germany jobs in english" on http:/ #3
"germany jobs" "germany job sites" "germany job search" "jobs in germany" "german jobs" "germany jobs it" "germany jobs for foreigners" "germany jobsite" "germany jobs in english" on http://jobs-germany.blogspot.com/"germany jobs" "germany job sites" "germany job search" "jobs in germany" "german jobs" "germany jobs it" "germany jobs for foreigners" "germany jobsite" "germany jobs in english" on http://jobs-ger...

"germany jobs" "germany job sites" "germany job search" "jobs in
"germany jobs" "germany job sites" "germany job search" "jobs in germany" "german jobs" "germany jobs it" "germany jobs for foreigners" "germany jobsite" "germany jobs in english" on http://jobs-germany.blogspot.com/"germany jobs" "germany job sites" "germany job search" "jobs in germany" "german jobs" "germany jobs it" "germany jobs for foreigners" "germany jobsite" "germany jobs in english" on http://jobs-ger...

"JOBS IN ALASKA IT" "JOBS IN ALASKA" "JOBS IN ALASKA IT" "JOBS IN ALASKA" "jobs in alaska anchorage" "jobs in alaska oil" "jobs in alaska usa" "jobs in alaska mines" ON http://jobs-in-alaska.b
"JOBS IN ALASKA IT" "JOBS IN ALASKA" "JOBS IN ALASKA IT" "JOBS IN ALASKA" "jobs in alaska anchorage" "jobs in alaska oil" "jobs in alaska usa" "jobs in alaska mines" ON http://jobs-in-alaska.blogspot.com/ "JOBS IN ALASKA IT" "JOBS IN ALASKA" "JOBS IN ALASKA IT" "JOBS IN ALASKA" "jobs in alaska anchorage" "jobs in alaska oil" "jobs in alaska usa" "jobs in alaska mines" ON http://jobs-in-alaska.blogspot.com/ "JOBS IN ALASKA IT" ...

"jobs in alaska" "jobs in alaska for foreigners" "jobs in alaska oil" "jobs in alaska for women" "alaska jobs" "alaska jobs north slope" "alaska jobs pipeline" "alaska jobs for foreigners" ON
"jobs in alaska" "jobs in alaska for foreigners" "jobs in alaska oil" "jobs in alaska for women" "alaska jobs" "alaska jobs north slope" "alaska jobs pipeline" "alaska jobs for foreigners" ON http://jobsinalaska-usa.blogspot.com/ "jobs in alaska" "jobs in alaska for foreigners" "jobs in alaska oil" "jobs in alaska for women" "alaska jobs" "alaska jobs north slope" "alaska jobs pipeline" "alaska jobs for foreigners" ON h...

"JOBS IN FLORIDA" "JOBS IN FLORIDA" "jobs in florida orlando" "jobs in florida government" "jobs in florida usa" "jobs in florida miami" "jobs in florida state" "jobs in florida america" on ht
"JOBS IN FLORIDA" "JOBS IN FLORIDA" "jobs in florida orlando" "jobs in florida government" "jobs in florida usa" "jobs in florida miami" "jobs in florida state" "jobs in florida america" on http://jobs-in-florida-usa.blogspot.com/ "JOBS IN FLORIDA" "JOBS IN FLORIDA" "jobs in florida orlando" "jobs in florida government" "jobs in florida usa" "jobs in florida miami" "jobs in florida state" "jobs in florida america" on htt...

"jobs in alaska" "jobs in alaska for foreigners" "jobs in alaska oil" "jobs in alaska for women" "alaska jobs" "alaska jobs north slope" "alaska jobs pipeline" "alaska jobs for foreigners" ON
"jobs in alaska" "jobs in alaska for foreigners" "jobs in alaska oil" "jobs in alaska for women" "alaska jobs" "alaska jobs north slope" "alaska jobs pipeline" "alaska jobs for foreigners" ON http://jobsinalaska-usa.blogspot.com/ "jobs in alaska" "jobs in alaska for foreigners" "jobs in alaska oil" "jobs in alaska for women" "alaska jobs" "alaska jobs north slope" "alaska jobs pipeline" "alaska jobs for foreigners" ON h...

"ADVERTISED JOBS IN TEXAS" "jobs in texas" "jobs in texas usa" "jobs in texas houston" "jobs in texas city" "jobs in texas government" "jobs in texas austin" "texas jobs" "texas jobs online" t
"ADVERTISED JOBS IN TEXAS" "jobs in texas" "jobs in texas usa" "jobs in texas houston" "jobs in texas city" "jobs in texas government" "jobs in texas austin" "texas jobs" "texas jobs online" texas job search" http://jobsintexas-usa.blogspot.com/ "ADVERTISED JOBS IN TEXAS" "jobs in texas" "jobs in texas usa" "jobs in texas houston" "jobs in texas city" "jobs in texas government" "jobs in texas austin" "texas jobs" "t...

Web resources about - ENDJOB and jobs that take a long time to "go away" from END status - comp.sys.ibm.as400.misc

Resources last updated: 1/26/2016 8:03:16 AM