• Resolved fscbmwcca

    (@fscbmwcca)


    I am getting the following email and wonder if there is something I can do to eliminate the critical errors?

    [CRITICAL] : Maximum execution time of 30 seconds exceeded
    [CRITICAL] : Allowed memory size of 536870912 bytes exhausted (tried to allocate 1052672 bytes)
    [DEBUG] : WPO: Starting cron_action()
    [INFO] : 19 transient options deleted
    [INFO] : 0 unapproved comments deleted
    [INFO] : 0 auto drafts deleted
    [INFO] : 92 post revisions deleted
    [INFO] : 20 spam comments deleted
    [INFO] : 0 comments removed from Trash
    [INFO] : 2 posts removed from Trash
    [INFO] : Optimizing:
    then it continues with all the tables

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • I assume that you are using shared hosting. You can increase PHP execution time in php.ini file. Can you tell me what hosting panel do you use?

    Thread Starter fscbmwcca

    (@fscbmwcca)

    This is what is in my php.ini file:
    upload_max_filesize = 50M
    max_input_time = 120
    max_execution_time = 30
    memory_limit = 512M
    SET GLOBAL max_allowed_packet=524M

    I am using cPanel

    Plugin Contributor DNutbourne

    (@dnutbourne)

    Hi,

    Please could you try increasing ‘max_execution_time’ to 300?

    Thread Starter fscbmwcca

    (@fscbmwcca)

    Thanks so much, I will change it. I’ll let you know if I get the message.

    Thread Starter fscbmwcca

    (@fscbmwcca)

    Sorry got the email today (did not get the “[CRITICAL] : Allowed memory size of 536870912 bytes exhausted (tried to allocate 1052672 bytes)” error):

    [CRITICAL] : Maximum execution time of 30 seconds exceeded
    [DEBUG] : WPO: Starting cron_action()
    [INFO] : 25 transient options deleted
    [INFO] : 0 unapproved comments deleted
    [INFO] : 0 auto drafts deleted
    [INFO] : 31 post revisions deleted
    [INFO] : 5 spam comments deleted
    [INFO] : 0 comments removed from Trash
    [INFO] : 1 post removed from Trash

    Plugin Contributor DNutbourne

    (@dnutbourne)

    Hi,

    It appears that the change to the execution time did not take effect.

    Please could you ask your hosts/server admin if there is anything else on the server that may be setting the 30 second limit?

    I would also recommend adding the following line to your wp-config.php file (near the top):
    set_time_limit(300);

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Max execution exceeded’ is closed to new replies.