Script is being executed multiple times via cron leading to serious Load Average on system

(Doc ID 2390897.1)

Last updated on APRIL 25, 2018

Applies to:

Linux OS - Version Oracle Linux 5.1 to Oracle Linux 7.5 [Release OL5U1 to OL7U5]
Linux x86
Linux x86-64

Symptoms

There is 3rd party script being executed by crond multiple times leading to serious load average problem:
0:00:01 runq-sz plist-sz ldavg-1 ldavg-5 ldavg-15 blocked
19:20:01 1 1046 1.27 1.29 1.02 0
19:30:06 40 1410 37.16 14.42 6.06 1
19:40:12 167 1787 126.79 99.93 53.51 1
19:50:07 67 1922 71.46 77.13 64.14 1
20:00:09 48 2096 80.58 81.77 72.36 1
20:10:13 234 2073 155.22 127.91 97.34 0
20:20:05 32 2055 43.36 70.26 86.12 0
20:30:06 37 2074 35.98 40.71 62.26 0
20:40:01 21 2091 33.37 35.41 48.85 0
20:50:03 23 2127 43.45 60.47 58.48 0

crond rule is properly configured for day/time execution.

In /var/log/secure below errors are observed:

Apr 25 01:01:38 test1 crond[18785]: pam_systemd(crond:session): Failed to create session: Connection timed out
Apr 25 01:02:35 test1 crond[18815]: pam_systemd(crond:session): Failed to create session: Connection timed out
Apr 25 01:32:48 test1 crond[21344]: pam_systemd(crond:session): Failed to create session: Connection timed out

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms