• Hi,

    This could be of concern to WordPress databases of a large size (many user accounts / orders / etc).

    PHP: Fatal Error: Allowed Memory Size of 268435456 Bytes Exhausted (tried to allocate 86 bytes)

    The iThemes Security version 5.4 appears to have Database backup enabled by default. Even if not scheduled, this can use up a lot of memory. I have WordPress set to 256MB and it would throw up memory exhausted warnings random on webpages, until I disabled this feature.

    Using PHP version 5.5

    https://www.ads-software.com/plugins/better-wp-security/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    Thanks for reporting this. I’ll share it with the developers.

    The feature should not be on by default. Did you notice any other oddities with the settings?

    Thanks,

    Gerroald

    Thread Starter 3Lancer

    (@3lancer)

    Hi,

    If this is of help for you:

    After updating to version 5.4, Database Backups was set to “Enabled”. I don’t believe this was enabled prior, however I might of tried the “Create a database backup” option once when exploring the option changes.

    Setting where: Backup Full Database (unticked), Backup Method (email only), Retain (0), Compress Backup Files (zip ticked), Schedule Database Backups (unticked).

    Even though it wasn’t set as scheduled, it would email around 10:46am daily providing zip backups.

    Resaving these setting wouldn’t prevent it from occurring the next day.

    The memory exhausted error messages just occur on any webpage (admin back-end or the front-end pages) at random times. Refreshing the page and it would work fine again.

    I was attempting to disable other plugins, but those didn’t affect it at all by the looks. I had to click the “Disable” button on “Database Backups”, then it ran fine from then on.

    Hey 3Lancer, thank you very much for your concise report. Is there any way I could get you to run a database query to pull out the settings for the plugin and send it to me as [email protected]?

    Any options with the string ‘itsec’ in the name are from this plugin, so a query like this should get them all:
    SELECT * FROM wp_options WHERE option_name LIKE '%itsec%'
    Please note that you will need to replace wp_ with your table prefix if it is non-standard. Also, if you are on a multisite install the query is different…so ask me for it if needed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Memory exhausted (version 5.4)’ is closed to new replies.