Jump to content

Apache Cpu Usage 200%


Recommended Posts

Hi to all,

I have started my web shop in a shared environment (ixwebhosting); I have received shortly after adding few hundred items a TOS ticket (Terms of Service Violation - Fair Use).

I have dedicated to purchase a virtual server (2xAthlon 1.8 GHz | 4GB RAM DDR2 | 2x320 HDD Mirror 5.4k rpm).

At the moment I have almost 3k products on my website but no more than 30 visits a day.

I usually receive alerts from the server that CPU is 100% and that Apache services are over the limit.

Here are some details that may help you to identify my issue:

PS version: 1.4.9.0 | Default theme | CCC - activated | Caching - Memcached - ON | PHP: 5.3.3 | MySQL: 5.1.67 | OS: CentOS release 6.3 (Final)

I would agree with a Presta Developer to login into my system SSH and (paid) advise about some settings that could improve the performance, this session will be recorded so that I could re do the settings in case of another migration.

Could the upgrade to the new version of Presta (1.5.3.1) fix my issue?

I am planning to migrate to an even more powerful server - dedicated: 8xOpteron 2.4 GHz | 32GB RAM DDR3 | 2x2000 HDD Mirror 7.2k rpm

I have the option of choosing the OS for the new server, these are my options: centos.org, debian.org, scientificlinux.org, ubuntu.com what do you recommend and the reason for that if possible. (Reason like, PHP extensions have better/stable integration in one of the distributions)

Thank you in advance for your advices/hints.

Link to comment
Share on other sites

Just a shot in the dark try with memcach off

 

from the sound of it you may not need it

you know, it may be something, I have deactivated "Memcached" and I am back on old "File System"

I will be monitoring it for the next few days and I will let all know if this was the problem.

Thank you for your advice ("the shot in the dark")

Link to comment
Share on other sites

No, the problem is not there, even with "File System" I am still having several times a day overload alerts of the Apache CPU usage in Plesk 11 Control Panel, on Cent OS 6 x64.

I have started to add in the firewall rules all the search engines that are not Google, there are a lot from China and Russian ones.

But this will not solve my problem, when those queries from the search engines will be replaced by real people I will have the same issue.

Huge thanks in advance for your hints.

PS:

my shop have only one quantity on stock for each product, but almost 3k at the moment and 15k is the target for the next 2 years.

Any hint or tuning for this kind of shop? That does not have just 3 articles with thousands of items on stock.

Link to comment
Share on other sites

  • 2 months later...

Hi All,

 

same problem for me since 6 months...CPU usage always on 100% also if there are any visitor on my website...

I'm on a 1.4.9 too and in my shop there are no more than 300/400 items...

May be a bug of this version?

 

An advice will be very appreciated...

 

thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...