One moment please...
 
 
Exact Synergy   
 

ErrorLogChecker.exe - Background process

Background Job: ErrorLogChecker.exe

Introduction

 

The ErrorLogChecker.exe is a background job that checks the table BacoErrorLog for 'Out of Memory' errors. If it finds that type of errors in that table the job will restart the corresponding IIS server (webserver).

 

The application seems quite usefull, since it can ensure automatic restart on heavy-loaded Web Servers, which get stuck because of 'Out of Memory' errors. It could be used on client's servers as well, but with caution (clients might use their IIS for some applications other than e-Synergy, as well).

 

More information about setting up this background job can be found in this document: e-Synergy and the background applications.

 

Technical Information

 

The following tables are involved when running ErrorLogChecker.exe:

 

  • BacoErrorLog (Logtable for all errors displayed or invoked while using e-Synergy)

 

When this job is started it will connect to the databaseserver and database which are specified with the parameters /S and /D. It then checks the table BacoErrorLog for entries which contain the following errors in the field LogText:

 

  • Synergy runtime error: Category = Microsoft VBScript compilation , Code = -2146827287, Description = Out of memory
  • Synergy runtime error: Category = Microsoft VBScript runtime , Code = -2146828281, Description = Out of memory

 

If the job finds entries which contain those values and they are added to the table within the last minute then the corresponding IIS server will be restarted. The job determines the corresponding IIS server via the value in the field 'Machine' in the tabel BacoErrorLog. Also the job writes a line in the process log which states:

 

Restarted Web service on SERVER_NAME because of because of error-log entry LOG_ID

 

Related Topics

 

     
 Main Category: Support Product Know How  Document Type: Support - On-line help
 Category: On-line help files  Security  level: All - 0
 Sub category: Details  Document ID: 03.533.823
 Assortment:  Date: 16-03-2017
 Release:  Attachment:
 Disclaimer