Kbase P160280: When a WebSpeed agent is shut down, are its persistent procedures deleted from memory?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  2/24/2010 |
|
Status: Unverified
GOAL:
When a WebSpeed agent is shut down, are its persistent procedures deleted from memory?
GOAL:
What is the best way to delete persistent procedures when shutting down a WebSpeed agent?
FACT(s) (Environment):
Persistent procedures running in agent.
Shared handle is defined.
All Supported Operating Systems
Progress/OpenEdge Product Family
FIX:
In general, the scope of a dynamic resource lasts from the time it is created to the time it is deleted, or when the WebSpeed agent session ends, whichever occurs first. If a persistent procedure context is created and not explicitly deleted, the context remains in scope for the duration of the agent session. When the agent is shut down, the persistent procedures are removed from memory.
It is always encouraged to delete persistent procedures, or any other dynamic objects, explicitly using the DELETE OBJECT statement when they are no longer needed.