Consultor Eletrônico



Kbase P26824: error 735 while using a recursive function
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   05/11/2009
Status: Verified

SYMPTOM(s):

error 735 while using a recursive function

Error reading socket, ret=10054, errno=2. (778)

Error: Incomplete write when writing to the server. (735)

Recursive function is accessing database

FACT(s) (Environment):

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

CAUSE:

Recursive functions are very taxing on system resources as most resources involved can not be released until the recursion is finished.
When database access is performed, the recursive function also consume resources on the database side, which results in the error 778 and 735 or similar errors.

FIX:

Modify the code so that recursive calls are no longer used.