Author Topic: Very slow website, issue with com_virtuemart_cat_manus caching  (Read 508 times)

julash

  • Beginner
  • *
  • Posts: 35
Very slow website, issue with com_virtuemart_cat_manus caching
« on: February 19, 2019, 19:49:39 pm »
Hello,

Our website keeps getting slow after updating to VM 3.4.2. Website getting very slow with high CPU/RAM usage and resource usage keeps getting high unless I clean "com_virtuemart_cat_manus" cache. I have attached one of the process log from WHM where manufacturer cache keeps loading until SIGTERM kills the process.

At this moment our website is on Joomla 3.9.3 and VM 3.4.2. Website has many manufacturers.

Please help me making sense of the problem and fix it.


Thanks
Julash

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 1974
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.12
Re: Very slow website, issue with com_virtuemart_cat_manus caching
« Reply #1 on: February 19, 2019, 20:52:44 pm »
Turn off Joomla cache and plugin for a starter.

See if it helps. There is also some recent threads about high cpu usage, because of sql queries, maybe someone else will point You at them.

Jörgen @ Kreativ Fotografi
Joomla 3.8.3
Virtuemart 3.2.12
Olympiantheme Hera (customized)

julash

  • Beginner
  • *
  • Posts: 35
Re: Very slow website, issue with com_virtuemart_cat_manus caching
« Reply #2 on: February 20, 2019, 07:05:23 am »
Thanks for your reply. After cleaning "com_virtuemart_cat_manus" cache several time website now stable, no unusual process.

Our website is large and to keep website fast we need caching.

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 1974
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.12
Re: Very slow website, issue with com_virtuemart_cat_manus caching
« Reply #3 on: February 20, 2019, 07:15:03 am »
Caching is often an issue with shopping carts, Virtuemart no exception,but if we are lucky, there may be others here with that can offer some advice about VM and cache usage.

have a nice day

Jörgen @ Kreativ Fotografi
Joomla 3.8.3
Virtuemart 3.2.12
Olympiantheme Hera (customized)

Rsn

  • Beginner
  • *
  • Posts: 25
  • A beginner
    • Legal company LEGION
Re: Very slow website, issue with com_virtuemart_cat_manus caching
« Reply #4 on: February 20, 2019, 13:25:36 pm »
Hello.
Is the checkbox "Enable VirtueMart 404 error handling" activated in the Shop Settings?

When I had this checkbox activated, there was also a very high load on the server.
We also have a large site and manufacturers.
Now I turned off this checkbox.

At the same time, I also noticed that after clearing the cache of Virtuemart, the server load decreases.
Perhaps there is some problem with cache.

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10318
  • VirtueMart Version: 3+
Re: Very slow website, issue with com_virtuemart_cat_manus caching
« Reply #5 on: February 21, 2019, 00:08:03 am »
also, logging 404 with the joomla redirect plugin can slow down a site because of spam/bots
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

I do NOT do development work for hire.

julash

  • Beginner
  • *
  • Posts: 35
Re: Very slow website, issue with com_virtuemart_cat_manus caching
« Reply #6 on: February 21, 2019, 16:07:17 pm »
Our problem with "com_virtuemart_cat_manus" cache. I just killed some of its processes from WHM, this problem eating ram and cpu.

I am not sure if it will help, yesterday because of "com_virtuemart_cat_manus" cache there were many ongoing processes and ram/cpu was 100% in usage. So to stop I was clearing cache, resaving VM configuration, reoptimizing database from VM Tools.

At that time when saving VM configuration I saw a warning about "com_virtuemart_cat_manus" cache folder could not be deleted or something like that. After that the crazy cpu/ram usage become normal. Since then I did not touch VM configuration. Though now there still process that keeping busy server but not too much. I am killing long ongoing process every few hours.

This is really becoming a serious issue. Looking forward to solve this soon.

I will try updating to VM 3.4.3.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8828
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: Very slow website, issue with com_virtuemart_cat_manus caching
« Reply #7 on: February 22, 2019, 00:34:17 am »
Quote
Is the checkbox "Enable VirtueMart 404 error handling" activated in the Shop Settings?
????

this is well known to cause run away usage in some cases
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Rsn

  • Beginner
  • *
  • Posts: 25
  • A beginner
    • Legal company LEGION
Re: Very slow website, issue with com_virtuemart_cat_manus caching
« Reply #8 on: February 22, 2019, 05:35:15 am »
this is well known to cause run away usage in some cases

Sorry, I didn't understand what you meant by that.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8828
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jflash

  • 3rd party VirtueMart Developer
  • Beginner
  • *
  • Posts: 39
Re: Very slow website, issue with com_virtuemart_cat_manus caching
« Reply #10 on: February 27, 2019, 11:35:00 am »
Quote
Is the checkbox "Enable VirtueMart 404 error handling" activated in the Shop Settings?
????

this is well known to cause run away usage in some cases
I confirm that. I had error 500 if this setting was activated. Server was constantly down... If category not found, method handle404 called, but there something goes loop and process never ends <- something like that says my programmer.

julash

  • Beginner
  • *
  • Posts: 35
Re: Very slow website, issue with com_virtuemart_cat_manus caching
« Reply #11 on: February 28, 2019, 19:18:25 pm »
Updating to 3.4.3 solved our problem. No high cpu usage now, website running smoothly.