locked
Rapid Fail - No Errors Logged RRS feed

  • Question

  • User-1440536853 posted

    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?

    Friday, September 6, 2013 10:00 PM

Answers

  • User1183424175 posted

    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.

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Monday, September 9, 2013 9:10 PM