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

Restart legacy eclserver when memory usage gets too high

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 5.0.4
    • None

    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.

      richardkchapman Should eclserver also fork()?

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: