Author Topic: php-cgi use hig CPU usage  (Read 11782 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
php-cgi use hig CPU usage
« on: July 24, 2017, 08:07:33 AM »
Hi Centos, I need Help my system CPU usage average is up to 1.00 and i have only one website and almost 40 Visitors average.
 MY VPS and Config Detail is:
Apache version: Apache/2.4.27
PHP version: 5.6.30 [PHP Switcher]
MySQL version: 10.1.25-MariaDB
FTP version: 1.0.30
System Info

CPU Model: Intel(R) Xeon(R) CPU X5675 @ 3.07GHz
CPU Details: 4 Core (3067 MHz)
Distro Name: CentOS release 6.9 (Final)
Kernel Version: 2.6.32-042stab120.6
Platform: x86_64 [openvz]

Please Help my CPU usage all time high due to php-cgi. how i solve this issue. Need Help!

Offline
*
Re: php-cgi use hig CPU usage
« Reply #1 on: April 06, 2018, 09:41:04 AM »
Same problem (appeared 1 month ago or even more)

php-cgi for any site consume up 100% CPU during page load

CWP version: 0.9.8.586
Distro Name: CentOS Linux release 7.4.1708 (Core)
Kernel Version: 3.10.0-693.21.1.el7.x86_64
CPU Model: Intel(R) Xeon(R) CPU E5320 @ 1.86GHz
CPU Details: 4 Core (1862 MHz)
Platform: x86_64 [hyperv]

Apache version: Apache/2.4.29
PHP version: 5.6.35
MySQL version: 10.1.32-MariaDB
FTP version: 1.0.46


Offline
*
Re: php-cgi use hig CPU usage
« Reply #2 on: April 06, 2018, 11:24:50 AM »
try to enable varnish + nginx
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
Re: php-cgi use hig CPU usage
« Reply #3 on: April 09, 2018, 10:25:40 AM »
Yes, it helped particulary - reduced from 100% to 60-75%

Offline
*
Re: php-cgi use hig CPU usage
« Reply #4 on: April 11, 2018, 11:41:03 AM »
you should consider configuring varnish then according to your site script as this can reduce it to very low resource usage if configured properly.
for varnish conf google is your best friend
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.