• Resolved holypoly

    (@holypoly)


    HI, I am mangeing a site on Siteground for a client and we where trying to enable Memcached on the site as the documentation describes. But when we do that the site hangs and crashes and displays a 503, 504 or 502 errors and the sites is to be operational (some what) so we are able to disable the memcache option in the plugin. After reviewing the PHP error logs I found and fatal timeout error:
    [18-Sep-2021 00:59:14 UTC] PHP Fatal error: Maximum execution time of 120 seconds exceeded in /home/customer/www/xxxxxx.xx/public_html/wp-content/object-cache.php on line 153 – this line is trying to add data into Memcache but seems to hang until the server basically becomes unresponsive for some time.

    I have checked the memcache server via telnet and it is working as expected.

    Do you have any ideas what could be the problem?

Viewing 1 replies (of 1 total)
  • Plugin Author Hristo Pandjarov

    (@hristo-sg)

    SiteGround Representative

    I am afraid I can’t be more specific with the data you’re providing. Most probably you are trying to store an single object which is bigger than 1MB and you’re getting an error. It’s a code issue, not a service one but unfortunately Memcached is not very clear when it comes to reporting errors and WP is even less transparent about it.

Viewing 1 replies (of 1 total)
  • The topic ‘Memcache hangs and crashes’ is closed to new replies.