Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-12274

Restart legacy eclserver when memory usage gets too high

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.4
    • Component/s: None
    • Labels:

      Description

      Eclserver can sometimes run out of memory - possibly because of memory leaks that occur processing invalid queries. Unfortunately when this happens the most likely symptiom is for the fork() within gcc to fail, leading to confusion.

      It would be much better if

      • Failures to fork were correctly fed back to the workunit.
      • Failures to fork caused eclserver to restart
      • eclsever proactively recycled itself if memory started getting tight.

      Note: eclccserver used in the open source version of the system doesn't suffer from these problems since it executes each compile in a separate process.

      Richard Chapman Should eclserver also fork()?

        Attachments

          Activity

            People

            • Assignee:
              richardkchapman Richard Chapman
              Reporter:
              ghalliday Gavin Halliday
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: