Consultor Eletrônico



Kbase P26340: Memory Leak in the WebSpeed agents using 9.1B or 9.1C - Alternative fix
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   2/22/2006
Status: Unverified

FACT(s) (Environment):

Progress 9.1B
Progress 9.1C

SYMPTOM(s):

Memory Leak in the WebSpeed agents using 9.1B or 9.1C

Unable to apply Solution P26341

CAUSE:

Bug# 20011203-017

CAUSE:

Progress templates are missing a "CREATE WIDGET-POOL." causing dynamic objects being created but not released when using the setQueryWhere and some other functions.

FIX:

The following steps will customize the WebSpeed dispatcher as a workaround for the bug.

Note that this fix should be used only if the application design is completely stateless.

1. Open the %DLC%\src\web\objects\web-disp.p file using the progress procedure
editor.
2. Find the following commented line in that file:

/* Try to run the Web object application program. */

The section of the web-disp.p will look like the following:

IF NOT debugging-enabled AND AppProgram BEGINS "src/web/":U THEN
RUN HtmlError IN web-utilities-hdl
(SUBSTITUTE ("Unable to run Web object '&1'", AppProgram )).
ELSE
/* Try to run the Web object application program. */
RUN run-web-object IN web-utilities-hdl (AppProgram).

/* If any debugging options are set except "top" ... */
IF debugging-enabled AND debug-options <> "" AND

3. Copy the following code and replace with the highlighted portion of the code
in step 2.

ELSE DO:
/* Try to run the Web object application program. */
CREATE WIDGET-POOL.
RUN run-web-object IN web-utilities-hdl (AppProgram).
DELETE WIDGET-POOL.
END.

4. Save it and recompile to create the debug-disp.r file.
5. Move the debug-disp.r file to %DLC%\tty\web directory.
6. Go to agent startup parameter in the broker properties and change the value of -p parameter from web\objects\web-disp.p to web\objects\debug-disp.p.
7. Restart the broker to apply those changes.