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

    • Icon: Incident report Incident report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 2.2.12rc1
    • Proxy (P), Server (S)

      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.

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

              Created:
              Updated: