Joomla 3.9.20 with High CPU usage

Discussion regarding Joomla! 3.x Performance issues.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
User avatar
emanipur
Joomla! Explorer
Joomla! Explorer
Posts: 392
Joined: Sat Jun 09, 2012 10:58 am
Location: Imphal
Contact:

Joomla 3.9.20 with High CPU usage

Post by emanipur » Sun Jul 19, 2020 3:45 am

Hello folks
I upgraded my site from from 3.9.19 to 3.9.20 recently and now the CPU usage is very high. I tried checking the site keeping it in offline mode, to ascertain if it is being caused by large number of visitors(ours is a news portal) but the CPU usage remains the same. I contacted my host and they say the usage is from
lsphp:/home/XXXXX/public_html/index.php
lsphp:/home/XXXXX/public_html/index.php
lsphp:/home/XXXXX/public_html/index.php
lsphp:/home/XXXXX/public_html/index.php

which I think is difficult to trace the cause of the problem. We haven't had this problem before and we are at our wits end on how to solve this.
Please help.

Thank you

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17516
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Joomla 3.9.20 with High CPU usage

Post by toivo » Sun Jul 19, 2020 6:12 am

More information is required. Please post the results from the Forum Post Assistant (FPA) by following the instructions at https://forumpostassistant.github.io/docs/ so that our volunteer experts can review the configuration.

What is the URL of the website?
Toivo Talikka, Global Moderator

User avatar
emanipur
Joomla! Explorer
Joomla! Explorer
Posts: 392
Joined: Sat Jun 09, 2012 10:58 am
Location: Imphal
Contact:

Re: Joomla 3.9.20 with High CPU usage

Post by emanipur » Mon Jul 20, 2020 2:38 am

Hello
Suddenly the usage of CPU has dropped to 30/100, without any intervention from my side(that too during visitors visiting the site). We are on a shared hosting and everything works without any hiccup earlier. Don't know if this is due to the shared hosting thing or a problem from the hosting people.
The URL of the site is https://rb.gy/ahygnx
My FPA log
Forum Post Assistant (v1.6.1) : 20-Jul-2020 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.9.20-Stable (Amani) 14-July-2020
Joomla! Platform :: Joomla Platform 13.1.0-Stable (Curiosity) 24-Apr-2013
Joomla! Configured :: Yes | Read-Only (444) |
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: true | .htaccess/web.config: Yes | GZip: true | Cache: true | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: false | Proxy: false | LiveSite: | Session lifetime: 150 | Session handler: database | Shared sessions: false | SSL: 2 | Error Reporting: none | Site Debug: false | Language Debug: false | Default Access: 1 | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 3.9.20: Yes | Database Supports J! 3.9.20: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 2.6.32-954.3.5.lve1.4.59.el6.x86_64 | Technology: x86_64 | Web Server: LiteSpeed | Encoding: gzip | System TMP Writable: Yes | Free Disk Space : 263.29 GiB |

PHP Configuration :: Version: 7.0.33 | PHP API: litespeed | Session Path Writable: Yes | Display Errors: | Error Reporting: 32767 | Log Errors To: error_log | Last Known Error: 24th July 2019 13:27:17. | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: | Uploads: 1 | Max. Upload Size: 1G | Max. POST Size: 128M | Max. Input Time: -1 | Max. Execution Time: 900 | Memory Limit: 256M

Database Configuration :: Version: 10.0.37-MariaDB (Client:10.0.37-MariaDB) | Database Size: 179.34 MiB | #of Tables with config prefix: 187 | #of other Tables: 0 | User Privileges : GRANT ALL
Detailed Environment :: wrote:PHP Extensions :: Core (7.0.33) | date (7.0.33) | libxml (7.0.33) | openssl (7.0.33) | pcre (7.0.33) | sqlite3 (7.0.33) | zlib (7.0.33) | bz2 (7.0.33) | calendar (7.0.33) | ctype (7.0.33) | curl (7.0.33) | hash (1.0) | filter (7.0.33) | ftp (7.0.33) | gettext (7.0.33) | gmp (7.0.33) | SPL (7.0.33) | iconv (7.0.33) | pcntl (7.0.33) | readline (7.0.33) | Reflection (7.0.33) | session (7.0.33) | standard (7.0.33) | shmop (7.0.33) | SimpleXML (7.0.33) | mbstring (7.0.33) | tokenizer (7.0.33) | xml (7.0.33) | litespeed () | i360 (1.0) | bcmath (7.0.33) | dom (20031129) | fileinfo (1.0.5) | gd (7.0.33) | imagick (3.4.4) | imap (7.0.33) | intl (1.1.0) | json (1.4.0) | exif (7.0.33) | mcrypt (7.0.33) | mysqli (7.0.33) | mysqlnd (mysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $) | PDO (7.0.33) | pdo_mysql (7.0.33) | pdo_sqlite (7.0.33) | Phar (2.0.2) | posix (7.0.33) | pspell (7.0.33) | soap (7.0.33) | sockets (7.0.33) | tidy (7.0.33) | wddx (7.0.33) | xmlreader (7.0.33) | xmlrpc (7.0.33) | xmlwriter (7.0.33) | xsl (7.0.33) | zip (1.13.5) | ionCube Loader (10.4.0) | SourceGuardian (11.4.1) | Zend Engine (3.0.0) |
Potential Missing Extensions ::

Switch User Environment :: PHP CGI: No | Server SU: No | PHP SU: No | Potential Ownership Issues: No
Folder Permissions :: wrote:Core Folders :: images/ (755) | components/ (755) | modules/ (755) | plugins/ (755) | language/ (755) | templates/ (755) | cache/ (755) | logs/ (755) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) | administrator/logs/ (---) |

Elevated Permissions (First 10) ::
Database Information :: wrote:Database statistics :: Uptime: 18394299 | Threads: 2 | Questions: 13047554780 | Slow queries: 7341 | Opens: 296654330 | Flush tables: 199 | Open tables: 400 | Queries per second avg: 709.326 |
Extensions Discovered :: wrote:Components :: Site ::
Core :: com_mailto (3.0.0) 1 | com_wrapper (3.0.0) 1 |
3rd Party:: WF_CLIPBOARD_TITLE (2.8.14) ? | WF_CLEANUP_TITLE (2.8.14) ? | WF_CONTEXTMENU_TITLE (2.8.14) ? | WF_STYLE_TITLE (2.8.14) ? | WF_REFERENCE_TITLE (2.8.14) ? | WF_HR_TITLE (2.8.14) ? | JCE - Noneditable (1.0.0) ? | WF_ATTRIBUTES_TITLE (2.8.14) ? | WF_BROWSER_TITLE (2.8.14) ? | WF_VISUALBLOCKS_TITLE (2.8.14) ? | WF_LISTS_TITLE (2.8.14) ? | WF_FONTCOLOR_TITLE (2.8.14) ? | WF_HELP_TITLE (2.8.14) ? | WF_SEARCHREPLACE_TITLE (2.8.14) ? | WF_MEDIA_TITLE (2.8.14) ? | WF_FORMATSELECT_TITLE (2.8.14) ? | WF_VISUALCHARS_TITLE (2.8.14) ? | WF_FONTSIZESELECT_TITLE (2.8.14) ? | WF_SOURCE_TITLE (2.8.14) ? | WF_ANCHOR_TITLE (2.8.14) ? | WF_PREVIEW_TITLE (2.8.14) ? | WF_CHARMAP_TITLE (2.8.14) ? | WF_IMGMANAGER_TITLE (2.8.14) ? | WF_TABLE_TITLE (2.8.14) ? | WF_DIRECTIONALITY_TITLE (2.8.14) ? | WF_NONBREAKING_TITLE (2.8.14) ? | WF_SPELLCHECKER_TITLE (2.8.14) ? | WF_KITCHENSINK_TITLE (2.8.14) ? | WF_STYLESELECT_TITLE (2.8.14) ? | WF_TEXTCASE_TITLE (2.8.14) ? | WF_FONTSELECT_TITLE (2.8.14) ? | WF_XHTMLXTRAS_TITLE (2.8.14) ? | WF_FULLSCREEN_TITLE (2.8.14) ? | WF_EMOTIONS_TITLE (2.8.14) ? | WF_WORDCOUNT_TITLE (2.8.14) ? | WF_AUTOSAVE_TITLE (2.8.14) ? | WF_PRINT_TITLE (2.8.14) ? | WF_LINK_TITLE (2.8.14) ? | WF_ARTICLE_TITLE (2.8.14) ? | WF_POPUPS_JCEMEDIABOX_TITLE (2.8.14) ? | WF_LINKS_JOOMLALINKS_TITLE (2.8.14) ? | WF_LINK_SEARCH_TITLE (2.8.14) ? | WF_AGGREGATOR_AUDIO_TITLE (2.8.14) ? | WF_AGGREGATOR_VIMEO_TITLE (2.8.14) ? | WF_AGGREGATOR_VIDEO_TITLE (2.8.14) ? | WF_AGGREGATOR_DAILYMOTION_TITLE (2.8.14) ? | WF_AGGREGATOR_[youtube]_TITLE (2.8.14) ? | WF_FILESYSTEM_JOOMLA_TITLE (2.8.14) ? |

Components :: Admin ::
Core :: com_cache (3.0.0) 1 | com_banners (3.0.0) 1 | com_admin (3.0.0) 1 | com_privacy (3.9.0) 1 | com_tags (3.1.0) 1 | com_joomlaupdate (3.6.2) 1 | com_content (3.0.0) 1 | com_weblinks (3.0.0) 1 | com_login (3.0.0) 1 | com_users (3.0.0) 1 | com_fields (3.7.0) 1 | com_postinstall (3.2.0) 1 | com_languages (3.0.0) 1 | com_finder (3.0.0) 1 | com_media (3.0.0) 1 | com_modules (3.0.0) 1 | com_actionlogs (3.9.0) 1 | com_search (3.0.0) 1 | com_installer (3.0.0) 1 | com_config (3.0.0) 1 | com_categories (3.0.0) 1 | com_redirect (3.0.0) 1 | com_plugins (3.0.0) 1 | com_associations (3.7.0) 1 | com_menus (3.0.0) 1 | com_cpanel (3.0.0) 1 | com_checkin (3.0.0) 1 | com_contenthistory (3.2.0) 1 | com_templates (3.0.0) 1 | com_messages (3.0.0) 1 | com_newsfeeds (3.0.0) 1 | com_ajax (3.2.0) 1 |
3rd Party:: COM_B2JCONTACT (2.0) ? | K2 (2.5.7) ? | COM_K2 (2.10.3) 1 | JCH Optimize (6.0.1) 1 | JMap (4.6.4) 0 | COM_JCE (2.8.14) 1 | RSFirewall! (2.10.0) 0 | com_redj (1.9.0) 1 | COM_SIGPRO (3.7.0) 1 | COM_EVENTGALLERY (3.3.2) 1 |

Modules :: Site ::
Core :: mod_wrapper (3.0.0) 1 | mod_search (3.0.0) 1 | mod_weblinks (3.0.0) 1 | mod_articles_latest (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_tags_similar (3.1.0) 1 | mod_random_image (3.0.0) 1 | mod_articles_category (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_stats (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_articles_news (3.0.0) 1 | mod_login (3.0.0) 1 | mod_footer (3.0.0) 1 | mod_users_latest (3.0.0) 1 | mod_related_items (3.0.0) 1 | mod_articles_categories (3.0.0) 1 | mod_articles_archive (3.0.0) 1 | mod_articles_popular (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_languages (3.5.0) 1 | mod_banners (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_whosonline (3.0.0) 1 | mod_tags_popular (3.1.0) 1 |
3rd Party:: Continuous rss scrolling (4.2) 1 | K2 Users (2.10.3) 1 | JSitemap module (4.6.4) 1 | RSS Marquee (3.3) 1 | B2J Contact (2.0) 1 | K2 Login (2.5.7) 1 | K2 Content (2.10.3) 1 | JS FlexSlider (2.2) 1 | mod_ads_elite (4.5) 1 | Social GK5 (1.2.1) 1 | Tabs GK5 (1.6.1) 1 | SP Simple [youtube] (1.6) 1 | K2 User (2.10.3) 1 | Optimized Countdown (1.0.3) 0 | mod_weather_gk4 (1.7.1) 1 | MOD_EASYFOLDERLISTING (2.8.2) 1 | News Show Pro GK5 (1.8.2) 1 | Highlighter GK5 (GK5 1.1.1) 1 | Light RSS (1.0.0) 1 | K2 Tools (2.10.3) 1 | K2 Comments (2.10.3) 1 |

Modules :: Admin ::
Core :: mod_popular (3.0.0) 1 | mod_version (3.0.0) 1 | mod_stats_admin (3.0.0) 1 | mod_title (3.0.0) 1 | mod_quickicon (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_status (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_latestactions (3.9.0) 1 | mod_latest (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_login (3.0.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_privacy_dashboard (3.9.0) 1 | mod_sampledata (3.8.0) 1 | mod_toolbar (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_logged (3.0.0) 1 |
3rd Party:: JSitemap Quickicons (4.6.4) 1 | K2 Stats (admin) (2.10.3) 1 | K2 Quick Icons (admin) (2.10.3) 1 | RSFirewall! Control Panel Module (1.4.0) 0 |

Libraries ::
Core ::
3rd Party::

Plugins ::
Core :: plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_quickicon_privacycheck (3.9.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_installer_webinstaller (2.1.2) 1 | plg_installer_packageinstaller (3.6.0) 1 | PLG_INSTALLER_FOLDERINSTALLER (3.6.0) 1 | PLG_INSTALLER_URLINSTALLER (3.6.0) 1 | plg_privacy_actionlogs (3.9.0) 1 | plg_privacy_message (3.9.0) 1 | plg_privacy_content (3.9.0) 1 | plg_privacy_user (3.9.0) 1 | plg_privacy_consents (3.9.0) 1 | plg_content_confirmconsent (3.9.0) 0 | plg_content_pagenavigation (3.0.0) 0 | plg_content_vote (3.0.0) 1 | plg_content_finder (3.0.0) 0 | plg_content_loadmodule (3.0.0) 1 | plg_content_emailcloak (3.0.0) 1 | plg_content_fields (3.7.0) 1 | plg_content_joomla (3.0.0) 1 | plg_content_pagebreak (3.0.0) 1 | plg_content_geshi (2.5.0) 0 | plg_user_profile (3.0.0) 1 | plg_user_contactcreator (3.0.0) 0 | plg_user_terms (3.9.0) 0 | plg_user_joomla (3.0.0) 1 | plg_system_highlight (3.0.0) 1 | plg_system_log (3.0.0) 1 | plg_system_languagefilter (3.0.0) 0 | plg_system_privacyconsent (3.9.0) 0 | PLG_SYSTEM_ACTIONLOGS (3.9.0) 0 | plg_system_logrotation (3.9.0) 1 | plg_system_p3p (3.0.0) 1 | plg_system_debug (3.0.0) 1 | plg_system_remember (3.0.0) 1 | plg_system_cache (3.0.0) 0 | plg_system_redirect (3.0.0) 0 | plg_system_sessiongc (3.8.6) 1 | plg_system_languagecode (3.0.0) 0 | plg_system_updatenotification (3.5.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_stats (3.5.0) 1 | plg_system_fields (3.7.0) 1 | plg_system_sef (3.0.0) 1 | plg_captcha_recaptcha_invisible (3.8) 0 | plg_captcha_recaptcha (3.4.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_editors-xtd_article (3.0.0) 1 | plg_twofactorauth_totp (3.2.0) 0 | plg_twofactorauth_yubikey (3.2.0) 0 | plg_finder_content (3.0.0) 1 | plg_finder_tags (3.0.0) 1 | plg_finder_weblinks (3.0.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_finder_categories (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_search_content (3.0.0) 1 | plg_search_tags (3.0.0) 0 | plg_search_weblinks (3.0.0) 1 | plg_search_contacts (3.0.0) 1 | plg_search_categories (3.0.0) 1 | plg_search_newsfeeds (3.0.0) 1 | plg_extension_joomla (3.0.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_calendar (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_repeatable (3.9.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_color (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_radio (3.7.0) 1 | plg_authentication_ldap (3.0.0) 0 | plg_authentication_gmail (3.0.0) 0 | plg_authentication_cookie (3.0.0) 1 | plg_authentication_joomla (3.0.0) 1 | PLG_ACTIONLOG_JOOMLA (3.9.0) 1 |
3rd Party:: plg_editors_jce (2.8.14) 1 | plg_editors_codemirror (5.52.2) 1 | plg_editors_tinymce (4.5.11) 1 | plg_quickicon_jce (2.8.14) 1 | K2 - Simple Image Gallery Pro (3.7.0) 1 | plg_k2_adselite (4.5) 1 | plg_installer_jce (2.8.14) 1 | plg_installer_rsfirewall (1.0.0) 0 | Josetta - K2 Categories (2.6.9) 1 | Josetta - K2 Items (2.6.9) 1 | plg_content_jce (2.8.14) 1 | AllVideos (by JoomlaWorks) (6.0.0) 1 | AllVideos (by JoomlaWorks) (6.0.0) 1 | Content - Simple Image Gallery Pro (3.7.0) ? | Content - JSitemap Pingomatic (4.6.4) 1 | plg_content_adselite (4.5) 0 | VMPAYMENT_MONEYBOOKERS (2.0.6) ? | User - K2 (2.10.3) 1 | Open Graph - Custom Object (7.0.0) 1 | System - K2 (2.10.3) 1 | plg_system_jce (2.8.14) 1 | plg_system_adsstarterelite (4.5) 0 | System - JAmp (1.5.7) 1 | GK Menu Extended Parameters (1.0) 1 | System - GK Cache (1.0) 1 | plg_system_n3tcopylink (1.0.2) 0 | AcyMailing: override Joomla mailing (4.7.1) ? | plg_system_jsasyncdefer (2.0.0) 0 | plg_system_redj (1.9.0) 1 | GK Module Title Links (1.0) 1 | System - AntiCopy (2.0.0) 1 | plg_system_ossystem (1.3.1) 1 | aiRedirectWww (2.0.0) 1 | System - RSFirewall! Active Scanner (1.4.0) 0 | System - JSitemap utilities (4.6.4) 1 | PLG_SYSTEM_JCH_OPTIMIZE (6.0.1) 0 | plg_editors-xtd_[youtube] (5.0.0) ? | Button - GK Typography (1.0.3) 1 | Button - Simple Image Gallery Pro (3.7.0) 1 | plg_finder_k2 (2.10.3) 1 | Search - K2 (2.10.3) 1 | plg_extension_jce (2.8.14) 1 | plg_fields_mediajce (2.8.14) 1 | Authentication - JFBConnect Social (7.0.0) ? | Authentication - Facebook (GK4 1.2) 0 |
Templates Discovered :: wrote:Templates :: Site :: protostar (1.0) 1 | beez3 (3.1.0) 1 | gk_news2 (3.11.4) 1 |
Templates :: Admin :: isis (1.0) 1 | hathor (3.0.0) 1 |
Thanks
Last edited by toivo on Mon Jul 20, 2020 3:14 am, edited 1 time in total.
Reason: mod note: disabled smilies in post Options for readability

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9914
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Joomla 3.9.20 with High CPU usage

Post by AMurray » Mon Jul 20, 2020 9:33 am

FPA Report wrote:
PHP Configuration :: Version: 7.0.33
First I would try to change you PHP version to at least 7.3 (7.0 is out of support, EOL).
FPA Report wrote:
Max. Upload Size: 1G | Max. POST Size: 128M
Max Post size should be >= Upload size. 128M (Post Size) vs 1G (Upload Size).

Some extensions are out of date e.g. RSFirewall - shows 2.10 but the latest is 3.0.0 (June 2020).

Malwarebytes doesn't trust the site URL and blocks it.

What is the score 30/100 representing? That's a high CPU usage? What is considered low or normal usage? (What tool is measuring CPU usage?).

It may not be your site, you said you're on shared hosting, maybe another site (or sites) causing the issues.
Regards - A Murray
General Support Moderator

User avatar
emanipur
Joomla! Explorer
Joomla! Explorer
Posts: 392
Joined: Sat Jun 09, 2012 10:58 am
Location: Imphal
Contact:

Re: Joomla 3.9.20 with High CPU usage

Post by emanipur » Mon Jul 20, 2020 1:26 pm

First I would try to change you PHP version to at least 7.3 (7.0 is out of support, EOL).
Noted. I have tried switching to PHP 7.3 but the CPU usage remains the same. There are some extensions that relies on PHP 7.0, that's why we have reverted back to 7.0. Will be replacing it very soon.
Max Post size should be >= Upload size. 128M (Post Size) vs 1G (Upload Size).
Some extensions are out of date e.g. RSFirewall - shows 2.10 but the latest is 3.0.0 (June 2020).
I will increase the max post size.
We are no longer using RSFirewall, as our license has expired and we have disabled it.
Malwarebytes doesn't trust the site URL and blocks it.
Is it the Malwarebyte software or some web scanner that is available online??
What is the score 30/100 representing? That's a high CPU usage? What is considered low or normal usage? (What tool is measuring CPU usage?).
I am referring to the statistics available in cPanel. Earlier it was 100/100. Now suddenly, without any intervention from our side, the CPU usage has dropped.
It may not be your site, you said you're on shared hosting, maybe another site (or sites) causing the issues.
Yes, I feel the same. Because if it was from our side, the CPU usage should remain the same as we haven't made any changes. When I contacted the hosting people, they asked me to upgrade my plan to a more higher paid plan. What I feel is, if indeed the site is taking much resources, then the site should be using CPU resources now too, but it is not the case. Now the site is loading fine without any problem as compared to before.
Maybe it is time to change my hosting..

Thanks for all the valuable inputs.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31084
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Joomla 3.9.20 with High CPU usage

Post by Per Yngve Berg » Mon Jul 20, 2020 7:45 pm

Session lifetime: 150 | Session handler: database


Change Session handler to php. More efficient than using the database.

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9914
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Joomla 3.9.20 with High CPU usage

Post by AMurray » Mon Jul 20, 2020 9:38 pm

30/100 - to me that says "30% usage" (rather than 30% no usage).

I use Malwarebytes (full software) and the plugin for Firefox browser. It tells me your site is *unsafe* (might be a false positive).

I'd uninstall RS Firewall than simply disable it.

The CPU usage may also be influenced by behind-the-scenes processes being run that you aren't aware of. Perhaps a badly written script or extension that unintentionally consumes but doesn't release system resources (like CPU cycles or memory) when they are finished executing.
Regards - A Murray
General Support Moderator

User avatar
emanipur
Joomla! Explorer
Joomla! Explorer
Posts: 392
Joined: Sat Jun 09, 2012 10:58 am
Location: Imphal
Contact:

Re: Joomla 3.9.20 with High CPU usage

Post by emanipur » Wed Jul 22, 2020 3:48 am

Hello
Thanks everyone for the response
30/100 - to me that says "30% usage" (rather than 30% no usage).
Yeah, right. As of now, the problem of high CPU usage has gone..
I use Malwarebytes (full software) and the plugin for Firefox browser. It tells me your site is *unsafe* (might be a false positive).
Maybe I will contact them to remove my site from unsafe list, as our site is completely safe.
The CPU usage may also be influenced by behind-the-scenes processes being run that you aren't aware of. Perhaps a badly written script or extension that unintentionally consumes but doesn't release system resources (like CPU cycles or memory) when they are finished executing.
Yes, that's possible. Will continue to monitor the CPU usage. If it spikes again, I am gonna check it by disabling all 3rd party extensions and tracing the resource hog extension.

Thanks again.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17516
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Joomla 3.9.20 with High CPU usage

Post by toivo » Wed Jul 22, 2020 3:58 am

emanipur wrote: Wed Jul 22, 2020 3:48 am
I use Malwarebytes (full software) and the plugin for Firefox browser. It tells me your site is *unsafe* (might be a false positive).
Maybe I will contact them to remove my site from unsafe list, as our site is completely safe.
Malwarebytes tends to be quite aggressive in its reports, which classify a number of Top Level Domains (TLD) and less frequently used download sites as suspicious. The Zscaler URL Risk Analyzer gives your site a clean bill of health.
Toivo Talikka, Global Moderator

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9914
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Joomla 3.9.20 with High CPU usage

Post by AMurray » Wed Jul 22, 2020 9:18 am

[off topic (response to @toivo) ]Yes, I've come across the "less frequent downloads" issue with Malwarebytes, even though it's a well known product on the JED.
Regards - A Murray
General Support Moderator

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 20652
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ Germany/ S'pore/Bogor/ North America
Contact:

Re: Joomla 3.9.20 with High CPU usage

Post by leolam » Thu Jul 23, 2020 4:11 pm

Google is not that kind for your site. You have some work to do. I suggest to carefully read what this all means and act as per advise. Also I advise to install JCH (read the docs well before changing settings in JCH so you understand. JCH will solve about 60% of your issues with cross reading the Google stats. GTmetrix is similar unkind to your site https://gtmetrix.com/reports/imphaltimes.com/VMSIObvt. 13 secs loading time is blowing visitors away!

No offense meant but you do have a ton of work to do!

Leo 8)
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -

User avatar
marvaysCZ
Joomla! Intern
Joomla! Intern
Posts: 82
Joined: Thu Jan 13, 2011 7:06 pm
Location: Czech Republic
Contact:

Re: Joomla 3.9.20 with High CPU usage

Post by marvaysCZ » Wed Sep 02, 2020 10:12 am

Per Yngve Berg wrote: Mon Jul 20, 2020 7:45 pm Session lifetime: 150 | Session handler: database
Change Session handler to php. More efficient than using the database.
Hi. How I can change handler to php? I see only database and memcached.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31084
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Joomla 3.9.20 with High CPU usage

Post by Per Yngve Berg » Wed Sep 02, 2020 2:40 pm

It shows what is available on your server.

memcached is perfect for storing sessions.

User avatar
marvaysCZ
Joomla! Intern
Joomla! Intern
Posts: 82
Joined: Thu Jan 13, 2011 7:06 pm
Location: Czech Republic
Contact:

Re: Joomla 3.9.20 with High CPU usage

Post by marvaysCZ » Wed Sep 02, 2020 3:07 pm

Per Yngve Berg wrote: Wed Sep 02, 2020 2:40 pm It shows what is available on your server.

memcached is perfect for storing sessions.
Thx. But this method is experimental. Its OK?

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 31084
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Joomla 3.9.20 with High CPU usage

Post by Per Yngve Berg » Thu Sep 03, 2020 8:37 pm

I use it in production without any problems. It's stored in memory, so the sessions is lost with a restart of the server though.


Locked

Return to “Performance - Joomla! 3.x”