Consultor Eletrônico



Kbase P104992: executing SERVER:CONNECTION-CONTEXT takes long time
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   8/4/2005
Status: Unverified

FACT(s) (Environment):

IBM AIX POWER 5.2
Progress 9.1D

SYMPTOM(s):

getting SESSION:SERVER-CONNECTION-CONTEXT takes long time

As soon as the context length is more than 10 characters, the communication between the 2 client (WINDOWS-UNIX) or (UNIX-UNIX) lasts longer.

Performance problem with AppServers on Unix.

CAUSE:

AppServer Operation mode was set to Stateless .
Stateless means: An Application Server process is not dedicated to a specific client. The Application Server process can execute a request from any client that has an outstanding request to the AppServer. Because a client request can execute in an Application Server process that is different from any that executed previous requests for the same client, session context established for this client during a previous request might not be available. Because Progress does not automatically clean up any session context between requests, the session context in which a client request runs might have been established by a request from a different client.


FIX:

Use State-aware or State-reset AppServer Operation mode :
State-reset means: All requests sent by a client connected to this AppServer go to the same Application Server process. This Application Server process remains dedicated to the same client for the life of the connection. When the client disconnects, the Application Server process resets its context to what it was at startup, removing all context created during the terminated client connection.
NOTE: This operating mode is conceptually similar to the operation of AppServers prior to Progress Version 9, which run in only one operating mode.