Consultor Eletrônico



Kbase P42732: Where to set the Client Session Stack Size (-s) parameter for WebClient
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   03/10/2008
Status: Verified

GOAL:

Where to set the Client Session Stack Size (-s) parameter for WebClient

GOAL:

Where to set the Client Session Stack Size (-s) parameter for AppServer

GOAL:

How to set -s as suggested by error 5635

GOAL:

How to set -s as suggested by error 279

GOAL:

SYSTEM ERROR: -s exceeded. Raising STOP condition and attempting to write stack trace to file 'procore'. Consider increasing -s startup parameter. (5635)

GOAL:

SYSTEM ERROR: stkpush: stack overflow. Increase the -s parameter. (279)

FACT(s) (Environment):

All Supported Operating Systems
Progress 9.x
OpenEdge 10.x

FIX:

The -s parameter is a session parameter.
So, generally speaking, it must specified when the progress session is started or when the executable is invoked.

The default value is 40. Any value higher can be used by it is limited by system resources.

The Stack client parameter -s is used to change the size of the stack (an internal memory area used by Progress program modules).

For a WebClient, add or change the -s parameter setting to the Application Startup Parameters line or the .pf file of the WebClient in the WebClient Application Assembler and re-deploy the application.

For a GUI client and a Windows Character client, the -s parameter must be specified on the start parameter line of the icon that starts up the application or in the .pf file being used on this icon.

For an AppServer, you the error was found in the AppServer log file, to add it or increase it:
Using Progress Explorer go to:

AppServer -> <broker_name> -> Properties -> Server -> General -> Server startup parameters.

or directly in ubroker.properties file, you can edit the section named UBroker.AS.<broker_name> and edit the line reading srvrStartupParam.

Similarly, for a WebSpeed broker:
Using Progress Explorer go to:

WebSpeed -> <broker_name> -> Properties -> Agent -> General -> Agent startup parameters.

or directly in ubroker.properties, you can edit the section named UBroker.WS.<broker_name> and edit the line reading srvrStartupParam.

Make sure to restart the AppServer Broker to allow setting to take effect.