MyBB Community Forums

Full Version: High CPU Usage
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7
Have you optimized Apache at all?
i have the same issue when there is spike in traffic crashes my whole server Sleepy thinking about dumping Apache all together and install light speed and see if that helps or pay for and CDN
(2011-07-16, 01:24 AM)Malcolm. Wrote: [ -> ]Have you optimized Apache at all?

Yes.

+I've tried nginx too. It doesn't helped.


I believe my mybb installation can take down every server easily... Big Grin .... Sad
Are you using prefork or worker?

If you haven't already, comment out uneeded modules. It can save quite a bit of memory.
I don't have problem with memory.

Mysql eats the whole cpu...
for me my specs areGenerated in 0.0837121 seconds (72.55% PHP / 27.45% MySQL)
SQL Queries: 53 / Global Parsing Time: 0.0387900 / Memory Usage: 9 MB
PHP version: 5.3.6 / Server Load: 1.21 / GZip Compression: Enable and it still crashes on heavy traffic days
^Is that the index page stat?


On my new dedi, the server load is now 4+. LOL!

edit: here's my index stat:
Generated in 0.1746750 seconds (92.80% PHP / 7.20% MySQL)
SQL Queries: 16 / Global Parsing Time: 0.0366280 / Memory Usage: 4.5 MB
PHP version: 5.2.17 / Server Load: 3.38 / GZip Compression: Enabled (level 1)

forumdisplay stat:
Generated in 4.1925960 seconds (1.56% PHP / 98.44% MySQL) Confused
SQL Queries: 32 / Global Parsing Time: 0.0377030 / Memory Usage: 5.25 MB
PHP version: 5.2.17 / Server Load: 3.36 / GZip Compression: Enabled
Optimise your MySQL. Run this script for some ideas on what to adjust: http://mysqltuner.pl/mysqltuner.pl
this just keeps happening i look at my error logs and i dont understand my Apache keeps crashing and i have to reboot the whole server happens everytime its a rush in traffic to my site
How big is your site and what type of hosting do you use? Vps or dedi + specs?

I think you have a different problem than me.
Pages: 1 2 3 4 5 6 7