Jobs abort with "write to 1 failed [No space left on device]" in job log

book

Article ID: 193821

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

After Operating System upgrade to RHEL 7, jobs randomly abort with this message in the Job Log:

  • /opt/universe/NODE01/bin/u_batch: line 290: write to 1 failed [No space left on device]

Cause

The "mutt" command (a command line based email client) was being used in several uprocs, and it was failing because the command contained no recipients.  As a result, a very large error file was being generated and filling the System's /tmp folder.

In RHEL6, it was okay not to provide either an email body or recipients, but in RHEL7, this causes the error file to be generated.

Environment

Release : 6.8

Component : DOLLAR UNIVERSE

Resolution

The error file is automatically removed after several minutes, which allows other jobs to complete successfully.

Check if the 'mutt' command is being used in uprocs.

Additional Information

Example of the 'mutt' command:

 mutt -s "$EMAIL_SUBJECT_1" -i $FILE_NAME_1 -e 'set content_type=text/html' -- "$EMAIL_RECIPIENT" < /dev/null