• Resolved tunyafix

    (@tunyafix)


    Hi we get an error of max execution time

    Maximum execution time of 300 seconds exceeded in xxx/wp-content/plugins/wp-fastest-cache/wpFastestCache.php on line 1770

    Then the database is down during the process “mysqli_real_connect(): (HY000/1040): Too many connections”

    Any idea? we have to enable it via cron?

    Best regards

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Emre Vona

    (@emrevona)

    wp fastest cache does not need to use mysql connection and the line is not related to db.

    https://plugins.trac.ww.wp.xz.cn/browser/wp-fastest-cache/trunk/wpFastestCache.php#L1770

    Thread Starter tunyafix

    (@tunyafix)

    Hi Emre, thanks for you answer, then why after enable it we have these issues?

    Regarding this line, could be an issue with file permissions? anyone has experimented that?

    Best regards

    Plugin Author Emre Vona

    (@emrevona)

    I have no idea. I did not get such a ticket before.
    the problem is not related to the file permissions.

    Thread Starter tunyafix

    (@tunyafix)

    Ok! thanks we will enable it via wp-cli and test from there

    Thanks

    Plugin Author Emre Vona

    (@emrevona)

    you are welcome. please let me know the results.

    Thread Starter tunyafix

    (@tunyafix)

    Hi @emrevona, today we check and we have a folder on cache named tmpWpfc and had more than 2000 folders

    Then we enabled the plugin (but without cache wpFastestCacheStatus) and starts to review all files and regenerated the cache

    Then we renamed this folder and the cache start to created fine

    Is there any cron job or similar that rebuild the cache base on this tmpWpfc folder?

    Best regards

    Plugin Author Emre Vona

    (@emrevona)

    if you do not enable the “Cache System” option, pages are not cached.

    Thread Starter tunyafix

    (@tunyafix)

    But if there is a temp folder there, we tested and the system tries to recached them,

    Steps to reproduce
    1) Have tmpWpfc folder with several cache files
    2) Disable cache, we did by DB doing
    update wp_options set option_value replace(option_value, '"wpFastestCacheStatus":"on",', '') where option_name = 'WpFastestCache';

    3) Enable plugin
    4) Then starts to recache everything (we have more thant 16,000 folders)

    Thanks!

    • This reply was modified 4 years, 6 months ago by tunyafix.
    Plugin Author Emre Vona

    (@emrevona)

    I am confused now. what’s the problem? what do you want to find out? can you explain it with 2-3 sentences please?

    Thread Starter tunyafix

    (@tunyafix)

    Hi!

    we have a large site and the Fastest Cache was disabled. Then we found a tmpWpfc with more than 2000 folders, then we reanabled the plugin (with cache off) and database was collapsed (we received more than 100 connections and the site was on maintainance mode),

    Then the question is if we have this tmpWpfc folder, then fastest cache try to regenerate it?

    Thanks!

    Plugin Author Emre Vona

    (@emrevona)

    if you disable the “preload” option, it does not try to create cache again.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Error enabling Fastestcache on large site’ is closed to new replies.