• Resolved mrcezars

    (@mrcezars)


    I have the website down for more then 2 weeks, today i fond if i disable plugin the server load go to normal if i leave the plugin activated the cpu load till 100% all 8 core till the website gets stuck

    Active :

    0[||||||||||||||||||||||||100.0%] 4[||||||||||||||||||||||||100.0%]
    1[||||||||||||||||||||||||100.0%] 5[|||||||||||||||||||||||||96.3%]
    2[||||||||||||||||||||||||100.0%] 6[||||||||||||||||||||||||100.0%]
    3[||||||||||||||||||||||||100.0%] 7[||||||||||||||||||||||||100.0%]
    Mem[||||| 2.31G/23.5G] Tasks: 88, 216 thr; 8 running
    Swp[ 0K/0K] Load average: 8.34 8.31 8.23
    Uptime: 12:09:06

    PID USER      PRI  NI  VIRT   RES   SHR S CPU%▽MEM%   TIME+  Command

    75707 cezar 20 0 876M 219M 90828 R 569. 0.9 7h40:42 php-fpm: pool f
    75705 cezar 20 0 876M 219M 90820 R 566. 0.9 7h44:15 php-fpm: pool f
    75706 cezar 20 0 876M 219M 90956 R 566. 0.9 7h42:02 php-fpm: pool f
    75710 cezar 20 0 880M 223M 90436 R 539. 0.9 7h42:47 php-fpm: pool f
    75709 cezar 20 0 876M 220M 90752 R 535. 0.9 7h41:32 php-fpm: pool f
    77149 cezar 20 0 876M 218M 89512 R 535. 0.9 7h36:03 php-fpm: pool f

    Disable :

    top – 17:43:55 up 3 days, 18:43, 1 user, load average: 0.53, 0.51, 0.60

    I waited for more then 12 hours to be sure.

    PHP message: PHP Warning: filesize(): stat failed for /home/cezar/web/xxxxxxxx-android.com/public_html/wp-content/cache/db/options/c0e/2a3/c0e2a31c3a55f50d06b3c9354333c705.php in /home/cezar/web/xxxxxxx-android.com/public_html/wp-content/plugins/w3-total-cache/Cache_File.php on line 157′

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @mrcezars

    Thank you for reaching out and I am happy to help!

    This may have to do with the fact that most of the modules have the Disk caching method enabled.
    Can you please manually delete the /cache/ folder, and in the General settings disable the Object Cahcing and DB Caching if enabled, save all settings and purge the cache.
    Check if the problem persits.
    It’s nor recommended to use DB Caching and Object Caching if the only caching method available is Disk. I would recommend using Redis or Memcached in this case.

    Thanks!

    Thread Starter mrcezars

    (@mrcezars)

    At this point i have the plugin disable, can i delete the cache folder now and after to enable the plugin or i need to enable the plugin first and after delete the cache folder. and your recomm for Redis or memcached (are those plugins or ?) no so tech person. Thank you

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @mrcezars

    Sorry for the late reply.

    Yes, you can delete the cache folder while the pulgin is deactivated. Once it’s you re-activate it, please disable the OC and DB Cahing

    As for the Redis or Memcached, these are not plugins, these are php extensions or memory-based caching methods that can be installed on the server and used with the W3 Total Cache to store cached files in the memory instead of Disk.
    Please let me know if you can reach out to your hosting provider and check this

    Thanks!

    Thread Starter mrcezars

    (@mrcezars)

    Thank you for the reply, i installed the redis (i only run this for now) can i run again w3 with redis ? and store cached files in the memory (the  OC and DB Cahing) ot keep them disable.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @mrcezars

    Thank you for your feedback.
    if you installed Redis on your server, you can use it with DB Caching or Object Caching (I recommend only using OC ) with Redis as a caching method.

    This will help with the load and store the cache in the memory instead of disk

    Thanks!

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

The topic ‘Excessive cpu load’ is closed to new replies.