Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-10630

Protect cache integrity by blocking signals for critical sections

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 2.2.12rc1
    • Fix Version/s: None
    • Component/s: Proxy (P), Server (S)
    • Labels:

      Description

      Server/proxy processes could leave caches that are stored in shared memory in corrupted state if the processes exit (due to signal or crash) during critical section of the code (e.g. when they have acquired the relevant lock).

      The effect - the remaining processes could crash or use the corrupted data.

      Partial solution for this would be to block certain signals during critical sections as is done in lock_log(). The risk is that this would severely impact performance since cache is locked and unlocked much more often than logs.

      This issue is related to ZBX-10410.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            sandis.neilands Sandis Neilands (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: