vServer with 4 cores has 100% CPU-Usage
Hi there,
since some weeks I have a problem with my vServer. If there are more than 8 running tasks the 4 cores are all showing 100% at htop. And that aren't the rough processes: 1 MySQL and 7 PHP processes. On the server there is a webshop running and all sites are dynamic.
It hast 4 cores and 8 GB RAM. I'm running WHM 11.56 with EA4. I upgraded PHP to 5.6 worker with the following modules:
So my question is, which modules do I need and which are just for special needs. I hope that there will be commented profile some times, so that I can read there if a modul is needed or additional. Regards Thorsten
[LIST]
ea-apache24
ea-apache24-config
ea-apache24-config-runtime
ea-apache24-mod_bwlimited
ea-apache24-mod_cache
ea-apache24-mod_cgid
ea-apache24-mod_deflate
ea-apache24-mod_expires
ea-apache24-mod_headers
ea-apache24-mod_mpm_worker
ea-apache24-mod_proxy
ea-apache24-mod_proxy_http
ea-apache24-mod_security2
ea-apache24-mod_ssl
ea-apache24-mod_suexec
ea-apache24-mod_suphp
ea-apache24-mod_unique_id
ea-apache24-tools
ea-apr
ea-apr-util
ea-cpanel-tools
ea-documentroot
ea-libmcrypt
ea-php-cli
ea-php54-libc-client
ea-php54-pear
ea-php54-php-bcmath
ea-php54-php-calendar
ea-php54-php-cli
ea-php54-php-common
ea-php54-php-curl
ea-php54-php-devel
ea-php54-php-exif
ea-php54-php-ftp
ea-php54-php-gd
ea-php54-php-iconv
ea-php54-php-imap
ea-php54-php-ioncube
ea-php54-php-mbstring
ea-php54-php-mcrypt
ea-php54-php-mysqlnd
ea-php54-php-pdo
ea-php54-php-posix
ea-php54-php-soap
ea-php54-php-sockets
ea-php54-php-xml
ea-php54-php-zendguard
ea-php54-php-zip
ea-php54-runtime
ea-php55
ea-php55-libc-client
ea-php55-pear
ea-php55-php-bcmath
ea-php55-php-calendar
ea-php55-php-cli
ea-php55-php-common
ea-php55-php-curl
ea-php55-php-devel
ea-php55-php-exif
ea-php55-php-ftp
ea-php55-php-gd
ea-php55-php-imap
ea-php55-php-ioncube5
ea-php55-php-mcrypt
ea-php55-php-mysqlnd
ea-php55-php-pdo
ea-php55-php-posix
ea-php55-php-soap
ea-php55-php-sockets
ea-php55-php-xml
ea-php55-php-zendguard
ea-php55-php-zip
ea-php55-runtime
ea-php56
ea-php56-libc-client
ea-php56-pear
ea-php56-php-bcmath
ea-php56-php-calendar
ea-php56-php-cli
ea-php56-php-common
ea-php56-php-curl
ea-php56-php-devel
ea-php56-php-exif
ea-php56-php-fpm
ea-php56-php-ftp
ea-php56-php-gd
ea-php56-php-imap
ea-php56-php-ioncube5
ea-php56-php-mbstring
ea-php56-php-mcrypt
ea-php56-php-mysqlnd
ea-php56-php-pdo
ea-php56-php-posix
ea-php56-php-soap
ea-php56-php-sockets
ea-php56-php-xml
ea-php56-php-zendguard
ea-php56-php-zip
ea-php56-runtime
ea-php70
ea-php70-libc-client
ea-php70-pear
ea-php70-php-bcmath
ea-php70-php-calendar
ea-php70-php-cli
ea-php70-php-common
ea-php70-php-curl
ea-php70-php-devel
ea-php70-php-exif
ea-php70-php-fpm
ea-php70-php-ftp
ea-php70-php-gd
ea-php70-php-imap
ea-php70-php-mcrypt
ea-php70-php-opcache
ea-php70-php-posix
ea-php70-php-sockets
ea-php70-php-xml
ea-php70-php-zip
ea-php70-runtime
ea-profiles-cpanel
So my question is, which modules do I need and which are just for special needs. I hope that there will be commented profile some times, so that I can read there if a modul is needed or additional. Regards Thorsten
-
Hello, The installation of PHP modules should not reduce your performance unless they are actually used. I suggest reviewing the following thread to get a better idea of what's actually utilizing the CPU: Troubleshooting high server loads on Linux servers Thank you. 0 -
Thanks for your reply, but I know the answer way the cores are by 100%. Just take a look at the screenshot I have uploaded. The problem is, I don't know why the server uses such a lot of running threats for PHP. Google Analytics tells me in the same moment, that just 2 users are on the side. And the mysql-users are up to 150 - the WHM max. here you can visit the site: 0 -
My server is in exactly the same predicament currently, i thought it was possibly the upgrade from ea3>ea4 a few weeks back and it was just a delayed issue kicking in that i may not have noticed, so rolled that back and it hasn't solved the issue. I've taken a screenshot but it's pretty much a carbon copy of your own, nothing has changed other than the automated cpanel updates running 0 -
Have you tried rebooting your server - there are 26 threats runing - its the same that I had. Rebooting has solved it. 0 -
Hello, Could you verify which PHP handler is in-use, and if it differs from the handler you used with EasyApache 3? You can check the current PHP handler with the following command: /usr/local/cpanel/bin/rebuild_phpconf --current
Thank you.0 -
I did reboot it earlier and it ramped back up to 100 pretty much instantly 5hrs later just checked it since i'm home and it's settled down to normal load and my traffic is at the same levels... i'd rather know what happened mind than just forget about Hello, Could you verify which PHP handler is in-use, and if it differs from the handler you used with EasyApache 3? You can check the current PHP handler with the following command:
/usr/local/cpanel/bin/rebuild_phpconf --current
Thank you.
/usr/local/cpanel/bin/rebuild_phpconf --current DEFAULT PHP: ea-php56 ea-php54 SAPI: suphp ea-php55 SAPI: suphp ea-php56 SAPI: suphp and no i was using 56 previously and this back under ea3 i reverted earlier trying to solve the issue and haven't reupgraded yet0 -
and no i was using 56 previously and this back under ea3 i reverted earlier trying to solve the issue and haven't reupgraded yet
Do you know if you were previously using suPHP? Does the issue continue if you temporarily switch to another PHP handler? Thank you.0 -
Do you know if you were previously using suPHP? Does the issue continue if you temporarily switch to another PHP handler? Thank you.
i was using suPHP yeah, haven't had the issue repeat since the other day, but i'm going run the ea3>ea4 upgrade again this weekend and i'll keep an eye on the load and if the issue replicates i'll switch to a different handler and let you know.0
Please sign in to leave a comment.
Comments
8 comments