Rapid Fail - No Errors Logged [Answered]RSS

1 reply

Last post Sep 09, 2013 09:10 PM by Pengzhen Song - MSFT

  • Rapid Fail - No Errors Logged

    Sep 06, 2013 10:00 PM|joshfester|LINK

    I'm running PHP via fastcgi and getting a 500 error saying "fastcgi process has failed frequently recently". However, no errors are occuring in PHP. The error only occurs when traffic gets higher than usual. Is it possible for something other than PHP to cause this error?

    fastcgi php

  • Re: Rapid Fail - No Errors Logged

    Sep 09, 2013 09:10 PM|Pengzhen Song - MSFT|LINK

    Hi,

    It seems that it is memory limit issue. You might want to try increasing your memory limit for that particular page. First find out the peak memory usage for that page:

    echo memory_get_peak_usage(true);

    Then set your memory limit appropriately:

    ini_set("memory_limit","1024M");

    Or edit the php.ini file:

    max_execution_time = 1600; Maximum execution time of each script, in seconds 
    max_input_time = 1600 ; Maximum amount of time each script may spend parsing request data
     memory_limit = 80M ; Maximum amount of memory a script may consume (8MB)
    

    And please refer the helpful information:

    https://drupal.org/node/392518

    https://drupal.org/node/213260

    Hope it can help you.

    fastcgi php

    We are trying to better understand customer views on social support experience. Click HERE to participate the survey.
    Thanks!