Forums / General Questions / URGENT: too much CPU and memory usage after upgrade

URGENT: too much CPU and memory usage after upgrade

Locked

Views: 2,266

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
2 Jun 2010, 12:59 PM
#1
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

URGENT: too much CPU and memory usage after upgrade

Hi,

After upgrading to zen cart v1.3.9c recently, our hosting company just informed us that because we are using too much system CPU and Memory resources, they were forced to disable web access to our account. This doesn't make sense because our traffic is going down recently due to the upgrade.

Here is a summary of the CPU and memory usage on our account over the past 24 hours:

CPU: 18.05 %
MEM: 0.72%

They believe the processes shown below are responsible for this level of resource usage.

9414 12.5 0.2 41476 18600 ? S 07:21 0:00
/index.php
9418 12.0 0.2 41844 19008 ? D 07:21 0:00
/index.php
9428 15.3 0.2 41744 18616 ? S 07:21 0:00
/index.php

Top Process %CPU 89.7 /index.php
Top Process %CPU 75.1 /index.php
Top Process %CPU 62.0 /index.php

Please help. We are very worried.

**The Team Behind DealByEthan.com | **Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. *Connect with us: *https://linktr.ee/dealbyethan

3 Jun 2010, 12:09 AM
#2
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: URGENT: too much CPU and memory usage after upgrade

There are many reasons why the load could be so high and you might want to try the Query Cache module as it has proven to bring resource usage down. Not sure though if it works with 1.3.9c.

The learning is in the doing.

Potent Products

3 Jun 2010, 10:18 AM
#3
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: URGENT: too much CPU and memory usage after upgrade

Hi,

Installed Query Cache but it didn't help much. Our hosting still said our site is using excessive resources. Please help.

**The Team Behind DealByEthan.com | **Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. *Connect with us: *https://linktr.ee/dealbyethan

25 Sep 2010, 10:21 PM
#4
protostack avatar

protostack

New Zenner

Join Date:
Jul 2008
Posts:
29
Plugin Contributions:
0

Re: URGENT: too much CPU and memory usage after upgrade

How did you go with this? I'm running 1.3.9f and am experiencing the same problem. Like yourself I tried the query cache but it didn't help much.

Daniel.

26 Sep 2010, 5:13 AM
#5
igrossiter avatar

igrossiter

New Zenner

Join Date:
Feb 2009
Location:
Brazil
Posts:
43
Plugin Contributions:
1

Re: URGENT: too much CPU and memory usage after upgrade

i had the same problem, and i solved by turning off the debug module, check the file in includes>extra_configures>enable_error_logging.php(delete or rename it)
it was creating thousands of files because of some waring errors.

Artigos Religiosos Católicos Casas N. Sra. dos Prazeres
http://lojasnsp.com.br

26 Sep 2010, 12:32 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: URGENT: too much CPU and memory usage after upgrade

er, um, well ... the FIRST thing you should be doing is FIXING those errors that it was reporting.

Merely turning off the reporting is NOT fixing your REAL problem: you're basically sticking your head in the sand hoping the problems will go away just because you can't see them. :frusty:

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

27 Sep 2010, 2:42 AM
#7
igrossiter avatar

igrossiter

New Zenner

Join Date:
Feb 2009
Location:
Brazil
Posts:
43
Plugin Contributions:
1

Re: URGENT: too much CPU and memory usage after upgrade

yes of course ^^'

Artigos Religiosos Católicos Casas N. Sra. dos Prazeres
http://lojasnsp.com.br

27 Sep 2010, 3:27 AM
#8
protostack avatar

protostack

New Zenner

Join Date:
Jul 2008
Posts:
29
Plugin Contributions:
0

Re: URGENT: too much CPU and memory usage after upgrade

In my case there were errors, but they were caused by the query cache addon. I've fixed them now but still high CPU utilisation.

3 Oct 2010, 2:40 AM
#9
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: URGENT: too much CPU and memory usage after upgrade

Query cache is not made for v1.3.9. Therefore it might generate some errors. DrByte is right, you need to fix your current problems. The cache and error logs will give you some ideas.

**The Team Behind DealByEthan.com | **Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. *Connect with us: *https://linktr.ee/dealbyethan

3 Oct 2010, 12:56 PM
#10
template140 avatar

template140

New Zenner

Join Date:
Oct 2010
Posts:
1
Plugin Contributions:
0

Re: URGENT: too much CPU and memory usage after upgrade

I have the same problem.. it's very strange, i don't know how to fix it