Uploaded image for project: 'FreeNAS / TrueNAS'
  1. FreeNAS / TrueNAS
  2. NAS-100805

Prevent never exiting cron job

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Low
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 11.2-U4
    • Component/s: Middleware
    • Labels:
      None

      Description

      Customer system had a passive node that was unresponsive. Persistent attempts to ssh in eventually worked.
      Load average was over 750. Looks like there were 784+ unfinished cron tasks:

      root 387 0.0 0.0 6500 0 - IW - 0:00.00 | |-- cron: running job (cron)
      operator 388 0.0 0.0 7020 2960 - Is Sun03 0:00.02 | | `-- /bin/sh /usr/libexec/save-entropy
      operator 402 0.9 0.2 76072 57256 - R Sun03 46:53.95 | | `-- /usr/local/bin/python /usr/local/www/freenasUI/middleware/no
      root 450 0.0 0.0 6500 0 - IW - 0:00.00 | |-- cron: running job (cron)
      operator 451 0.0 0.0 7020 2932 - Is 7Jan19 0:00.01 | | `-- /bin/sh /usr/libexec/save-entropy
      operator 465 0.9 0.2 81976 58756 - I 7Jan19 351:39.59 | | `-- /usr/local/bin/python /usr/local/www/freenasUI/middleware/no
      + 700 more of the same

      We think we've seen this 3 times total, but this last event is the first time we've been able to get on the affected system and collect the ps output.

      ps and procstat output attached.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              themylogin Vladimir Vinogradenko
              Reporter:
              bill Bill O'Hanlon
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Summary Panel