No More Available App Servers - Need To Find Program(s) That Are Hanging

rip73

New Member
Good afternoon,

We have, we think, a program that is being called by an AppServer call and is not ending the session properly. So far we have not been able to find what program is doing this.

We have 11.07 and we currently are not finding where to see, if we even can, what program the AppServer was/is running that is causing it to hang.

Any suggestions on how to identify a program that an AppServer call is using?
 

cj_brandt

Active Member
you can change the logging level property on the app server to show the programs being executed.
you can generate a stack trace on the app servers that are hung and that will show the last program executed.
 

RealHeavyDude

Well-Known Member
You can do this with the logEntryTypes=4GLTrace ( you can also add other ones - see the documentation for details ).

Increasing the loggingLevel to 4 will give you tons of information - which includes every function, procedure and/or method call.

Regards, RealHeavyDude.
 

TomBascom

Curmudgeon
You can also run $DLC/bin/progetstack PID to get a stack trace if you didn't remember to turn on enough of the right logging.
 

TheMadDBA

Active Member
I prefer the stacktrace method that Tom suggested.. it works every time without a ton of logs to parse. It will also show you any orphaned persistent procedures.
 
Top