Forums

fatal errors (almost daily) (4 posts)

  1. ronaldb73
    Member
    Posted 2 years ago #

    Almost daily my site shows fatal errors to visitors. I don't think this has anything to do with version 2.8.2, cause previous version had the same problem (even with 2.6)

    My hosting provider says I should upgrade to a bigger (more expensive) server with more memory, cause the problem is caused due to a lack of enough memory for all the visitors that visit the site at the same time. I doubt that, cause sometimes the site runs perfectly with 50 or more visitors at the same time and sometimes with 14 visitors the fatal errors occur. As a temperoray solution my hosting provider increased the amount of memory, but the errors still occur.

    The fatal error messages point to many different files within the wordpress installation, some examples:

    Fatal error: Out of memory (allocated 262144) (tried to allocate 311296 bytes) in /home/denhelder/domains/denhelderactueel.nl/public_html/wp-settings.php on line 549

    Fatal error: Out of memory (allocated 1835008) (tried to allocate 4864 bytes) in /home/denhelder/domains/denhelderactueel.nl/public_html/wp-includes/kses.php on line 1010

    Fatal error: Out of memory (allocated 2621440) (tried to allocate 4864 bytes) in /home/denhelder/domains/denhelderactueel.nl/public_html/wp-includes/query.php on line 1565

    Fatal error: Out of memory (allocated 18087936) (tried to allocate 35 bytes) in /home/denhelder/domains/denhelderactueel.nl/public_html/wp-includes/pomo/entry.php on line 49

    Anyone have any idea what could cause this and how to solve it?

  2. Samuel B
    moderator
    Posted 2 years ago #

    add this line to your wp-config.php

    define('WP_MEMORY_LIMIT', '64M');

  3. ronaldb73
    Member
    Posted 2 years ago #

    had that before, didnt help (but added it again). Plus: when those errors appear, all sites on the server show them and are unavailable. So to me it looks like a server-relates issue, not a wp-installation-related issue.

  4. Samuel B
    moderator
    Posted 2 years ago #

    it's definitely server related - for some reason php memory is exhausting
    maybe change the 64M to 96M
    otherwise your host needs to fix this

Topic Closed

This topic has been closed to new replies.

About this Topic