Skip to content
logo Knowledgebase

Batch Server Tasks fail with ECONNRESET errors

Created on  | Last modified on 

Description

Batch server tasks intermittently fail with ECONNRESET error 

 This seems to be particularly with recurring tasks, such as Accounting Tasks, which change from status Standby to Error and are not restarted 

 Looking in the serveur.tra file shows errors such as: 

ABATCH_MNGT_ALLERR - Query stop management : Modification of the request status 140000 Standby -> Error (LIVE ACCBATCH1 P BATCHCPT) (30000) 
ERROR : read ECONNRESET (10001)

Resolution

CAUTION: Use caution when working with the below product functionality. Always create a backup of your data before proceeding with advanced solutions. If necessary, seek the assistance of a qualified Sage business partner, network administrator, or Sage customer support analyst.


CAUTION: This solution needs advanced Operating System knowledge. Consult your system administrator for help. Sage isn't liable for issues caused by improper changes to the Windows Registry. Always back up your data before applying advanced solutions.

 

It is likely the Windows desktop heap is contributing to this issue, so recommend modifying this setting. This change should be made on any Windows server running the X3 Main or Additional process server (Runtime)

See related resources below for guidance on how to adjust the SharedSection configuration settings in Windows Registry Editor.
Note: these settings are modifying Windows Operating System and should be handled with proper precaution.

Centre of Excellence wrote an article on the subject: Fix X3 ECONNRESET/ECONNREFUSED issue by changing Windows Heap memory - Centre of Excellence and Expertise - Sage X3 Global Hub

DocLink: Microsoft Windows Heap Memory allocation (SharedSection) configuration guidelines for Sage X3 Environments