Check if the program was compiled with Option(*SrcStmt), to determine if you should be looking at the compile line number or the source line number. Getting stuck on an ENDSR doesn't seem right.



jrc@xxxxxxxxxx wrote:
I'm experiencing a frustrating problem on our web server (running Apache on V5R1).

Recently, the server started hanging jobs for no apparent reason. By hanging jobs, I mean that I get several HTTP jobs that never stop running and devouring CPU -like a program stuck in an endless loop.

I can end the jobs to recover. Sometimes I won't see it for days and sometimes it will happen five or six times a day. I can work with the job before I end it and I have retrieved the program and statement number (this appears to be the only consistency), but according to the compile listing the statement is an ENDSR and I don't see how a program could get endlessly stuck on an ENDSR.

Most frustrating of all is that I cannot reproduce the problem and I cannot seem to isolate a set of like circumstances. Is their a way I can get a program dump from a program that is running?


This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.