• Resolved fewturewebdesign

    (@fewturewebdesign)


    We are facing a strange issue, in which the allowed memory size is exhausted.

    Allowed memory size of 134217728 bytes exhausted (tried to allocate 2161744 bytes) in /wp-content/wflogs/rules.php on line 4456

    We have enough memory allocated and tried everything possible.
    Reinstalled the plugin and deleted the folder. Tried to refresh the rules manually as well.

    Can anyone help???

    The line which throws the error is the following:

    )))), new wfWAFRuleLogicalOperator(‘OR’), new wfWAFRuleComparison($this, ‘equals’, ‘Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0’, array(wfWAFRuleComparisonSubject::create($this, array(‘request.headers’, ‘User-Agent’), array (
Viewing 1 replies (of 1 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @fewturewebdesign, thanks for getting in touch!

    You can safely delete the contents of wflogs entirely and Wordfence will try to repopulate it within 30 minutes or so, which could be a good first thing to attempt just in case they’ve become too large or corrupted in some way.

    However, an Allowed memory size of x bytes exhausted (tried to allocate x bytes) error is almost always memory exhaustion occurring outside of PHP somewhere on the server. The operating system log files and web server log files will likely show if memory is being exhausted somewhere outside of PHP and why. This is usually a job for your hosting company’s support channels as they have access to those logs, diagnose the source and potentially resolve the problem.

    Thanks,
    Peter.

Viewing 1 replies (of 1 total)
  • The topic ‘wflogs/rules.php throwing errors’ is closed to new replies.