Forums

W3 Total Cache
[resolved] 500 Internal Server Error for some pages form time to time (3 posts)

  1. Homika
    Member
    Posted 10 months ago #

    I keep getting 500 Internal Server error a page from time to time (noticed only for one page at the moment and seems can't locate the reason), it looks like bad cache gets generated at some point, because after I re-post the page it fixes the issue till the next time it gets stuck...

  2. Frederick Townes
    Member
    Posted 10 months ago #

    What errors exist in your error log around the time of this issue? What was the resolution?

  3. Homika
    Member
    Posted 10 months ago #

    Some of my custom php code was using too much memory, so the solution was to re-code it.

    I was getting something like the following in php log:
    "[06-Jul-2011 01:58:56] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 7905281 bytes) in PATH_TO_SCRIPT on line 81"

    and something like the following in apache log:
    "GET /recipe-index-a-z HTTP/1.1" 500 - "-" "W3 Total Cache/0.9.2.3""

    The page itself produced 500 Internal Error.

Reply

You must log in to post.

About this Plugin

About this Topic