2531213 - Send Notification job errors for Scheduled Jobs configured to send email notifications upon completion

SAP Knowledge Base Article - Public

2531213 - Send Notification job errors for Scheduled Jobs configured to send email notifications upon completion

Symptom

  • When scheduling multiple background jobs to run at one time, the job completes, but with errors for the Send Notification:
    • There was an error sending notification email: java.net.ConnectException: errno: 111 (Connection refused), error: Connection refused (local port 63294 to address 0:0:0:0:0:0:0:0, remote port 25 to address 127.0.0.1 (localhost))

  • Many of the email notifications are not received

Environment

SAP SuccessFactors Learning Management System (LMS)

Reproducing the Issue

  1. Schedule many background jobs to run at the same time, such as a Scheduled Report
  2. Configure the schedules with an email address to send the report and/or notification that the job has completed
  3. The jobs complete successfully, but with errors
  4. Many recipients never receive the email notification
  5. The error in the job logs shows:
    1. There was an error sending notification email: java.net.ConnectException: errno: 111 (Connection refused), error: Connection refused (local port 63294 to address 0:0:0:0:0:0:0:0, remote port 25 to address 127.0.0.1 (localhost)) 

Cause

This is due to the schedules completing at the same time causing the SMTP service to receive too many requests at once

Resolution

  • The recommendation is to space out the jobs so that they are completing at different times
  • There is no set max limit since it is very difficult to determine the size and number of job notifications that would be received at one time for any particular set of job schedules
  • A guideline would be to test 10 at a time and increase or decrease as needed
  • Professional Services can assist with sizing and determine the max numbers for scheduled jobs based on specific user needs.  Please contact your Account Manager for options on engaging Professional Services.

Keywords

SF SuccessFactors Learning LMS Schedule Job Report complete error exception connection refused notification email mail notice not never receive maximum , KBA , LOD-SF-LMS-BCJ , LMS Background Jobs , LOD-SF-LMS-REP , Reporting Data , Problem

Product

SAP SuccessFactors Learning 1705