Uproc scripts not executed and status Completed in case of /tmp full
search cancel

Uproc scripts not executed and status Completed in case of /tmp full

book

Article ID: 244744

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

On a Solaris System, where the Filesystems were not supervised, the /tmp became full.

As a result, there was a weird behavior on the Dollar Universe node that was running at that time, the Uproc scripts were not executed but the status of the jobs were Completed.

In the Job Log of each execution that failed, there would be the following kind of errors (in French):

/dollar_universe_path/bin/u_batch[7]: /tmp/sh22259.13: création impossible

 

Environment

Release : 6.x

Component : DOLLAR UNIVERSE

OS: Unix/Linux only

Cause

Environment issue as /tmp filesystem was full

The u_batch tries to write into /tmp in case it cannot retrieve some variables, on this case, since the swap was full the variables values could not even be retrieved.

See a snippet of the u_batch below, in red a case that should never occur:

# Building launching execution script name
#------------------------------------------------------
   if [ "${U_TMP_PATH:-UNDEFINED}" = "UNDEFINED" ]
   then
      s_numproc_file="/tmp/${S_ESPEXE}${S_NUMPROC}_${$}.uproc"
   else
      s_numproc_file="${U_TMP_PATH}/${S_ESPEXE}${S_NUMPROC}_${$}.uproc"
   fi

Resolution

Product behavior in case of Swap filesystem (/tmp) is full is unpredicted.

Filesystem size should be supervised and under no circumstances /tmp should be full as even logon to the server or any system commands on an already opened session may be impossible.

Please reach out to your System Administrators to enable supervision of the critical file systems such as /tmp and the application related ones to avoid potential side-effects on the running applications.