Is my apache cpu usage normal?

خرید بک لینک

12-20-2017, 02:12 PM #1

Hello guys ,

Using top command , I can see that when I open my website , cpu load reaches 6 and then it goes back to 0 . Is it normal ? Should cpu load increase 6 units on each visit ? Does it mean that if 10 people visit my website at the same time , I will have cpu load of 60 ?

Is there anything I can do for this ? My apache uses event MPM and also I use nginx as a reverse proxy infront of apache .

Regards ,


12-20-2017, 10:21 PM #2

Hello,

I would not say it's a normal situation for a regular CMS. We don't know your setup, what kind of a PHP application you run and how much records you have in MySQL DB.

You might need to (not sorted in a priority order):

1. check your server for malware, probably your PHP scripts are infected and hence they create extra load
2. review your PHP application, MySQL tables, indexes, remove old records
3. enable caching whenever it's possible and suitable
4. check hardware details and make sure you've got sufficient RAM and CPU power.
5. upgrade your PHP applications and modules

With regards, Alex.

Professional Server Management for web hosting companies and individuals
Hourly Support, Disaster Recovery, Server Hardening, Monthly Subscription
Directadmin installation and optimization

Click here if you need a Linux Admin


Yesterday, 01:18 PM #3

Hi there , problem is solved by installing opcache on server and w3 total cache on wordpress . Thanks ,

DirectAdmin Forums...

ما را در سایت DirectAdmin Forums دنبال می‌کنید

برچسب: نویسنده: ایمان اصلاحی بازدید: 351 تاريخ: جمعه 1 دی 1396 ساعت: 21:03

صفحه بندی