Skip to content

Create a logging recursion ticket that helps against recusion loops in cacti_log() #6454

@TheWitness

Description

@TheWitness

Feature Request

Is your feature request related to a problem? Please describe

There is a recursion loop in Cacti that causes PHP to run out of memory when either the Cacti database can not be connected to associated with Cacti's logging functions. This feature request, when completed, will provide a solution so as to not compromise the systems memory.

Describe the solution you'd like

Provide a static counter in Cacti that detects a recursion loop, and exit or pause if it finds itself in such a situation.

Describe alternatives you've considered

There have been many over the years, but this one was agreed to by the team.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementGeneral tag for an enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions