Skip to content

setting memory_limit above allowed value results in false attacker identification #10396

@seyfro

Description

@seyfro

Within the PHP error logs I see a lot of the following alerts :

ALERT - script tried to increase memory_limit to 805306368 bytes which is above the allowed value (attacker 'xx.xx.xx.xx', file '/piwik/core/SettingsServer.php', line 183

It would be great if Piwik would first try to get the allowed memory_limit before trying to set it to 8GB, resulting in unnecessary security alerts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    answeredFor when a question was asked and we referred to forum or answered it.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions