Very High CPU Secs

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
u3asouthpen
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Thu Jan 20, 2022 8:19 am

Very High CPU Secs

Post by u3asouthpen » Thu Jan 20, 2022 8:29 am

Hi, I am new here and hope I can get some help!

I have taken on the content maintenance of a Joomla website for our local U3A.
Our WebHost is advising at around the 20th of each month that we have reached 80% CPU Secs.

Looking at the Error Logs I find many of these errors:-
2022-01-20 00:11:14 UTC [apache][:warn] [pid 85356] [client 120.148.193.187:55530] Timeout waiting for output from CGI script /home/u638-58z6vxxvokjf/www/u3asouthpen.org.au/public_html/index.php

Hoping to find out what is causing the timeout s which I guess is the cause of the problem.
I have run Forum Post Assistant and am posting below.
Thanks in advance.
Forum Post Assistant (v1.6.5) : 20-Jan-2022 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.10.5-Stable (Daraja) 15-January-2022
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: false | Cache: false | CacheTime: 1 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: false | Proxy: false | LiveSite: | Session lifetime: 15 | Session handler: database | Shared sessions: false | SSL: 2 | Error Reporting: none | Site Debug: false | Language Debug: false | Default Access: Public | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 3.10.5: Yes | Database Supports J! 3.10.5: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 3.12.18-clouder0 | Technology: x86_64 | Web Server: Apache | Encoding: | System TMP Writable: Yes | Free Disk Space : 617.15 GiB |

PHP Configuration :: Version: 7.4.27 | PHP API: cgi-fcgi | Session Path Writable: Yes | Display Errors: 0 | Error Reporting: 30709 | Log Errors To: php_errorlog | Last Known Error: 06th December 2021 10:48:28. | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: | Uploads: 1 | Max. Upload Size: 256M | Max. POST Size: 256M | Max. Input Time: 120 | Max. Execution Time: 120 | Memory Limit: 768M

Database Configuration :: Version: 5.7.32-35-log (Client:mysqlnd 7.4.27) | Database Size: 32.69 MiB | #of Tables with config prefix:  166 | #of other Tables:  0 | User Privileges : GRANT ALL
Detailed Environment :: wrote:PHP Extensions :: Core (7.4.27) | date (7.4.27) | libxml (7.4.27) | openssl (7.4.27) | pcre (7.4.27) | sqlite3 (7.4.27) | zlib (7.4.27) | bcmath (7.4.27) | bz2 (7.4.27) | calendar (7.4.27) | ctype (7.4.27) | curl (7.4.27) | dba (7.4.27) | dom (20031129) | enchant (7.4.27) | hash (7.4.27) | fileinfo (7.4.27) | filter (7.4.27) | ftp (7.4.27) | gd (7.4.27) | gettext (7.4.27) | gmp (7.4.27) | SPL (7.4.27) | iconv (7.4.27) | session (7.4.27) | intl (7.4.27) | json (7.4.27) | mbstring (7.4.27) | standard (7.4.27) | mysqlnd (mysqlnd 7.4.27) | pcntl (7.4.27) | mysqli (7.4.27) | PDO (7.4.27) | pdo_mysql (7.4.27) | pdo_pgsql (7.4.27) | pdo_sqlite (7.4.27) | pgsql (7.4.27) | Phar (7.4.27) | posix (7.4.27) | pspell (7.4.27) | readline (7.4.27) | Reflection (7.4.27) | imap (7.4.27) | shmop (7.4.27) | SimpleXML (7.4.27) | soap (7.4.27) | sockets (7.4.27) | sodium (7.4.27) | exif (7.4.27) | sysvmsg (7.4.27) | sysvsem (7.4.27) | tidy (7.4.27) | tokenizer (7.4.27) | xml (7.4.27) | xmlreader (7.4.27) | xmlrpc (7.4.27) | xmlwriter (7.4.27) | xsl (7.4.27) | zip (1.15.6) | cgi-fcgi (7.4.27) | memcached (3.1.0-dev) | Zend OPcache (7.4.27) | Zend Engine (3.4.0) |
Potential Missing Extensions ::

Switch User Environment :: PHP CGI: Yes | Server SU: Yes | PHP SU: Yes | 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: 270967 | Threads: 9 | Questions: 3612188046 | Slow queries: 676 | Opens: 15397061 | Flush tables: 1 | Open tables: 3072 | Queries per second avg: 13330.730 |
Extensions Discovered :: wrote:Components :: Site ::
Core :: com_wrapper (3.0.0) 1 | com_mailto (3.0.0) 1 |
3rd Party:: WF_POPUPS_WINDOW_TITLE (2.5.11) ? | WF_POPUPS_JCEMEDIABOX_TITLE (2.5.11) ? | WF_FILESYSTEM_JOOMLA_TITLE (2.5.11) ? | WF_LINKS_JOOMLALINKS_TITLE (2.5.11) ? | WF_LINK_SEARCH_TITLE (2.5.11) ? | WF_AGGREGATOR_[youtube]_TITLE (2.5.11) ? | WF_AGGREGATOR_DAILYMOTION_TITLE (2.5.11) ? | WF_AGGREGATOR_VINE_TITLE (2.5.11) ? | WF_AGGREGATOR_VIMEO_TITLE (2.5.11) ? | WF_MEDIAPLAYER_JCEPLAYER_TITLE (2.5.11) ? | WF_ANCHOR_TITLE (2.5.11) ? | WF_HR_TITLE (2.5.11) ? | WF_SPELLCHECKER_TITLE (2.5.11) ? | WF_INLINEPOPUPS_TITLE (2.5.11) ? | WF_LINK_TITLE (2.5.11) ? | WF_CONTEXTMENU_TITLE (2.5.11) ? | WF_BROWSER_TITLE (2.5.11) ? | WF_FONTSELECT_TITLE (2.5.11) ? | WF_LISTS_TITLE (2.5.11) ? | WF_PRINT_TITLE (2.5.11) ? | WF_CLEANUP_TITLE (2.5.11) ? | WF_STYLESELECT_TITLE (2.5.11) ? | WF_LAYER_TITLE (2.5.11) ? | WF_IMGMANAGER_TITLE (2.5.11) ? | WF_VISUALCHARS_TITLE (2.5.11) ? | WF_KITCHENSINK_TITLE (2.5.11) ? | WF_SEARCHREPLACE_TITLE (2.5.11) ? | WF_NONBREAKING_TITLE (2.5.11) ? | WF_FONTCOLOR_TITLE (2.5.11) ? | WF_DIRECTIONALITY_TITLE (2.5.11) ? | WF_MEDIA_TITLE (2.5.11) ? | WF_TABLE_TITLE (2.5.11) ? | WF_CLIPBOARD_TITLE (2.5.11) ? | WF_STYLE_TITLE (2.5.11) ? | WF_FONTSIZESELECT_TITLE (2.5.11) ? | WF_AUTOSAVE_TITLE (2.5.11) ? | WF_FULLSCREEN_TITLE (2.5.11) ? | WF_FORMATSELECT_TITLE (2.5.11) ? | WF_PREVIEW_TITLE (2.5.11) ? | WF_SOURCE_TITLE (2.5.11) ? | WF_CHARMAP_TITLE (2.5.11) ? | WF_VISUALBLOCKS_TITLE (2.5.11) ? | WF_EMOTIONS_TITLE (2.6.20) ? | WF_TEXTCASE_TITLE (2.5.11) ? | WF_XHTMLXTRAS_TITLE (2.5.11) ? | WF_ARTICLE_TITLE (2.5.11) ? |

Components :: Admin ::
Core :: com_contenthistory (3.2.0) 1 | com_search (3.0.0) 1 | com_login (3.0.0) 1 | com_privacy (3.9.0) 1 | com_content (3.0.0) 1 | com_admin (3.0.0) 1 | com_fields (3.7.0) 1 | com_joomlaupdate (3.10.1) 1 | com_cache (3.0.0) 1 | com_languages (3.0.0) 1 | com_banners (3.0.0) 1 | com_config (3.0.0) 1 | com_weblinks (3.0.0) 1 | com_actionlogs (3.9.0) 1 | com_installer (3.0.0) 1 | com_associations (3.7.0) 1 | com_checkin (3.0.0) 1 | com_redirect (3.0.0) 1 | com_postinstall (3.2.0) 1 | com_cpanel (3.0.0) 1 | com_modules (3.0.0) 1 | com_messages (3.0.0) 1 | com_newsfeeds (3.0.0) 1 | com_plugins (3.0.0) 1 | com_ajax (3.2.0) 1 | com_categories (3.0.0) 1 | com_media (3.0.0) 1 | com_tags (3.1.0) 1 | com_menus (3.0.0) 1 | com_templates (3.0.0) 1 | com_users (3.0.0) 1 | com_finder (3.0.0) 1 |
3rd Party:: Akeeba (8.0.15) 1 | plg_kunena_comprofiler (3.0.6) 0 | plg_finder_kunena (3.0.6) ? | plg_kunena_alphauserpoints (3.0.6) 0 | plg_kunena_community (3.0.6) 0 | plg_kunena_gravatar (3.0.6) 0 | plg_kunena_joomla (3.0.6) 1 | plg_kunena_finder (3.0.6) ? | plg_kunena_uddeim (3.0.6) 0 | plg_kunena_kunena (3.0.6) 1 | mod_kunenamenu (3.0.6) ? | com_kunena (3.0.6) 1 | JCE (2.5.11) 1 | Social Login And Social Share (4.0) ? | JoomGallery (3.3.4) 1 | COM_EASYFRONTENDSEO (3-3) 1 | com_dpcalendar (5.3.3) 1 | com_komento (1.8.3) 1 | AcyMailing Tag : Manage the Subscri (5.9.6) ? | AcyMailing Tag : Subscriber informa (5.9.6) ? | AcyMailing JCE integration (5.9.6) 1 | AcyMailing Tag and filter : Communi (3.7.2) ? | AcyMailing Tag and filter : Communi (3.7.2) ? | AcyMailing Tag : Website links (3.7.0) 1 | AcyMailing : Statistics Plugin (3.7.0) 1 | AcyMailing Manage text (1.0.0) 1 | AcyMailing : share on social networ (1.0.0) ? | AcyMailing Tag : Date / Time (5.9.6) 1 | AcyMailing Tag : content insertion (3.7.0) 1 | AcyMailing Editor (5.9.6) ? | AcyMailing Template Class Replacer (5.9.6) 1 | AcyMailing : trigger Joomla Content (3.7.0) ? | AcyMailing table of contents genera (1.0.0) ? | AcyMailing Tag : Joomla User Inform (5.9.6) ? | AcyMailing : (auto)Subscribe during (5.9.6) ? | AcyMailing Module (3.7.0) 1 | AcyMailing (5.8.0) 1 |

Modules :: Site ::
Core :: mod_related_items (3.0.0) 1 | mod_articles_popular (3.0.0) 1 | mod_syndicate (3.0.0) 1 | Bootstrap Tabs (1.0.2) 1 | mod_custom (3.0.0) 1 | mod_stats (3.0.0) 1 | mod_whosonline (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_users_latest (3.0.0) 1 | mod_languages (3.5.0) 1 | mod_articles_news_adv (1.5.5) 1 | mod_tags_popular (3.1.0) 1 | mod_footer (3.0.0) 1 | mod_tags_similar (3.1.0) 1 | mod_articles_category (3.0.0) 1 | Bootstrap Collapse (1.0.0) 1 | mod_weblinks (3.0.0) 1 | mod_search (3.0.0) 1 | mod_wrapper (3.0.0) 1 | mod_articles_news (3.0.0) 1 | mod_banners (3.0.0) 1 | mod_articles_archive (3.0.0) 1 | mod_articles_categories (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_login (3.0.0) 1 | mod_random_image (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_articles_latest (3.0.0) 1 | mod_finder (3.0.0) 1 |
3rd Party:: Komento Comments (1.0.7) 1 | mod_tm_facebook_page_plugin (1.0.1) 1 | SW Twitter Display (1.0) 1 | mod_dpcalendar_mini (5.3.3) 1 | mod_articles_single (1.2.2) 1 | mod_tm_ajax_contact_form (2.0.1) 1 | mod_image_swoop (1.2.5) 1 | SW Pinterest Display (1.0) 1 | mod_tm_style_switcher (1.0.0) 1 | mod_counters (1.0.0) 1 | TM Instagram (1.0.1) 1 | Komento Activities (1.0.4) 1 | TM Parallax (1.0.0) 1 | IceMegaMenu Module (3.0.5) 1 | mod_caroufredsel (1.2.3) 1 | mod_tm_olark_chat (1.0.0) 1 | Social Login (4.0) 1 | mod_dpcalendar_upcoming (5.3.3) 1 | AcyMailing Module (3.7.0) 1 | mod_tm_bg_[youtube] (1.0.0) 1 | mod_dpcalendar_counter (5.3.3) 1 |

Modules :: Admin ::
Core :: mod_multilangstatus (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_tm_templates (1.0.0) 1 | mod_stats_admin (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_popular (3.0.0) 1 | mod_title (3.0.0) 1 | mod_privacy_dashboard (3.9.0) 1 | mod_logged (3.0.0) 1 | mod_sampledata (3.8.0) 1 | mod_toolbar (3.0.0) 1 | mod_latestactions (3.9.0) 1 | mod_version (3.0.0) 1 | mod_latest (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_status (3.0.0) 1 | mod_login (3.0.0) 1 | mod_quickicon (3.0.0) 1 | mod_feed (3.0.0) 1 |
3rd Party:: mod_rsfinder (1.0.0) 1 |

Libraries ::
Core ::
3rd Party:: Regular Labs Library (21.8.25972) 1 | file_fof30 (3.6.2) ? | file_fof40 (4.1.0) ? |

Plugins ::
Core :: plg_installer_packageinstaller (3.6.0) 1 | plg_installer_webinstaller (2.1.2) 1 | PLG_INSTALLER_FOLDERINSTALLER (3.6.0) 1 | PLG_INSTALLER_URLINSTALLER (3.6.0) 1 | plg_authentication_joomla (3.0.0) 1 | plg_authentication_gmail (3.0.0) 0 | plg_authentication_cookie (3.0.0) 1 | plg_authentication_ldap (3.0.0) 0 | plg_fields_color (3.7.0) 1 | plg_fields_calendar (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_fields_repeatable (3.9.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_captcha_recaptcha_invisible (3.8) 0 | plg_captcha_recaptcha (3.4.0) 0 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_editors-xtd_article (3.0.0) 1 | plg_user_profile (3.0.0) 1 | plg_user_terms (3.9.0) 0 | plg_user_joomla (3.0.0) 1 | plg_user_contactcreator (3.0.0) 0 | plg_extension_joomla (3.0.0) 1 | PLG_ACTIONLOG_JOOMLA (3.9.0) 1 | plg_twofactorauth_yubikey (3.2.0) 0 | plg_twofactorauth_totp (3.2.0) 0 | plg_finder_newsfeeds (3.0.0) 1 | plg_finder_categories (3.0.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_finder_tags (3.0.0) 1 | plg_finder_weblinks (3.0.0) 1 | plg_finder_content (3.0.0) 1 | plg_search_newsfeeds (3.0.0) 1 | plg_search_categories (3.0.0) 1 | plg_search_contacts (3.0.0) 1 | plg_search_tags (3.0.0) 0 | plg_search_weblinks (3.0.0) 1 | plg_search_content (3.0.0) 1 | plg_content_pagebreak (3.0.0) 1 | plg_content_fields (3.7.0) 1 | plg_content_confirmconsent (3.9.0) 0 | plg_content_loadmodule (3.0.0) 1 | plg_content_vote (3.0.0) 1 | plg_content_finder (3.0.0) 1 | plg_content_joomla (3.0.0) 1 | plg_content_emailcloak (3.0.0) 0 | plg_content_pagenavigation (3.0.0) 1 | plg_system_stats (3.5.0) 1 | plg_system_privacyconsent (3.9.0) 0 | plg_system_highlight (3.0.0) 1 | plg_system_updatenotification (3.5.0) 1 | PLG_SYSTEM_ACTIONLOGS (3.9.0) 0 | plg_system_p3p (3.0.0) 1 | plg_system_fields (3.7.0) 1 | plg_system_languagecode (3.0.0) 0 | plg_system_log (3.0.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_languagefilter (3.0.0) 0 | plg_system_cache (3.0.0) 0 | plg_system_sessiongc (3.8.6) 1 | plg_system_logrotation (3.9.0) 1 | plg_system_redirect (3.0.0) 0 | plg_system_remember (3.0.0) 1 | plg_system_sef (3.0.0) 1 | plg_system_debug (3.0.0) 1 | plg_privacy_message (3.9.0) 1 | plg_privacy_actionlogs (3.9.0) 1 | plg_privacy_user (3.9.0) 1 | plg_privacy_consents (3.9.0) 1 | plg_privacy_content (3.9.0) 1 | plg_quickicon_privacycheck (3.9.0) 1 | plg_quickicon_eos310 (3.10.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 |
3rd Party:: plg_kunena_kunena (3.0.6) 1 | plg_kunena_community (3.0.6) 0 | plg_kunena_alphauserpoints (3.0.6) 0 | plg_kunena_comprofiler (3.0.6) 0 | plg_kunena_uddeim (3.0.6) 0 | plg_kunena_joomla (3.0.6) 1 | plg_kunena_gravatar (3.0.6) 0 | plg_installer_jce (2.6.20) 1 | PLG_JOOMGALLERY_JOOMFANCYBOX (1.1) 1 | PLG_EDITORS-XTD_BETTERPREVIEW (6.5.3) 1 | pdf_btn (2.1.5) 0 | User - Komento Users (1.0.0) 1 | plg_extension_jce (2.6.20) 1 | PLG_ACTIONLOG_AKEEBABACKUP (8.0.15) 0 | AcyMailing : Statistics Plugin (3.7.0) 1 | AcyMailing : trigger Joomla Content (3.7.0) ? | AcyMailing Tag : Website links (3.7.0) 1 | AcyMailing table of contents genera (1.0.0) ? | AcyMailing : share on social networ (1.0.0) ? | AcyMailing Tag : Manage the Subscri (5.9.6) ? | AcyMailing Tag : content insertion (3.7.0) 1 | AcyMailing Template Class Replacer (5.9.6) 1 | AcyMailing Tag : Date / Time (5.9.6) 1 | AcyMailing Tag : Joomla User Inform (5.9.6) ? | AcyMailing Tag and filter : Communi (3.7.2) ? | AcyMailing Tag and filter : Communi (3.7.2) ? | AcyMailing Manage text (1.0.0) 1 | AcyMailing Tag : Subscriber informa (5.9.6) ? | plg_search_dpcalendar (5.3.3) 1 | plg_editors_jce (2.5.11) 1 | AcyMailing Editor (5.9.6) ? | plg_editors_codemirror (5.60.0) 1 | plg_editors_tinymce (4.5.12) 1 | plg_content_jce (2.6.20) 1 | Content - TM AddThis (1.0.8) 1 | pdf_embed (2.1.5) 1 | Content - Komento (1.0) 1 | Content - Social Share (4.0) 0 | plg_content_dpcalendar (5.3.3) 1 | plg_system_kunena (3.0.6) 1 | plg_system_jce (2.5.11) 1 | plg_system_tmwrapper (1.0.0) 1 | PLG_SYSTEM_REGULARLABS (21.8.25972) 1 | PLG_SYSTEM_JQUERYEASY (5.0.0) 1 | PLG_SYSTEM_BETTERPREVIEW (6.5.3) 1 | TM Lazy Load (1.2.2) 0 | System - Social Login And Social Sh (4.0) ? | PLG_SYSTEM_BACKUPONUPDATE (8.0.15) 1 | System - Google Maps (3.2) 1 | IceMegaMenu Plugin (3.0.0) 1 | AcyMailing : (auto)Subscribe during (5.9.6) ? | PLG_EASYFRONTENDSEO (3-3) 0 | System - jSGCache (1.3.3) 1 | plg_system_rsfinder (1.2.0) 1 | System - Komento (1.0) 1 | system - EUCookieDirectiveLite (1.1.1) 0 | AcyMailing JCE integration (5.9.6) 1 | plg_system_dpcalendar (5.3.3) 1 | plg_quickicon_kunena (3.0.6) 1 | plg_quickicon_jce (2.6.0-pro-bet) 1 | plg_quickicon_jcefilebrowser (2.5.11) 1 | plg_quickicon_akeebabackup (8.0.15) 0 | plg_dpcalendar_gcalendar (5.3.3) 1 |
Templates Discovered :: wrote:Templates :: Site :: protostar (1.0) 1 | theme3181 (3.0) 1 | beez3 (3.1.0) 1 |
Templates :: Admin :: isis (1.0) 1 | hathor (3.0.0) 1 |
Last edited by toivo on Sat Jan 22, 2022 3:05 am, edited 1 time in total.
Reason: mod note: disabled smilies in post Options for readability

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

Re: Very High CPU Secs

Post by AMurray » Sat Jan 22, 2022 10:41 pm

I think you could find more clues to the problem by

- turning on error reporting
- turning on debug.

Report back to this forum thread, what the PHP errors say (if any) or what the Debug stack trace may more specifically indicate as the problem script.
Regards - A Murray

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12474
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Very High CPU Secs

Post by brian » Sat Jan 22, 2022 10:53 pm

As your host is reporting that it is happening at the same time each month I would check to see if you have any automated tasks that take place. This may be an automatic backup or a cron job on your hosting panel.

As I see you have acy mailing installed are you perhaps sending a mail on the 20th?
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

u3asouthpen
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Thu Jan 20, 2022 8:19 am

Re: Very High CPU Secs

Post by u3asouthpen » Sun Jan 23, 2022 12:58 am

Thank you @AMurray
I have now turned on error reporting and debug.

Now what am I looking for?
In Debug reports at the foot of each page, it appears Database Queries > Call Stack is what I am looking for?
I have 37 Queries logged.

These appear to be list of Caller and File and Line Number, eg:-
# Caller File and line number
16 JDatabaseDriverMysqli->execute() JROOT/libraries/joomla/database/driver.php:1740
15 JDatabaseDriver->loadResult() JROOT/libraries/joomla/session/storage/database.php:45
14 JSessionStorageDatabase->read() Same as call in the line below.
13 session_start() JROOT/libraries/joomla/session/handler/native.php:260
12 JSessionHandlerNative->doSessionStart() JROOT/libraries/joomla/session/handler/native.php:50
11 JSessionHandlerNative->start() JROOT/libraries/joomla/session/handler/joomla.php:88
10 JSessionHandlerJoomla->start() JROOT/libraries/src/Session/Session.php:661
9 Joomla\CMS\Session\Session->_start() JROOT/libraries/src/Session/Session.php:621
8 Joomla\CMS\Session\Session->start() JROOT/libraries/src/Session/Session.php:499
7 Joomla\CMS\Session\Session->get() JROOT/libraries/src/Session/Session.php:456
6 Joomla\CMS\Session\Session->isNew() JROOT/libraries/src/Application/CMSApplication.php:854
5 Joomla\CMS\Application\CMSApplication->loadSession() JROOT/libraries/src/Application/CMSApplication.php:136
4 Joomla\CMS\Application\CMSApplication->__construct() JROOT/libraries/src/Application/AdministratorApplication.php:48
3 Joomla\CMS\Application\AdministratorApplication->__construct() JROOT/libraries/src/Application/CMSApplication.php:414
2 Joomla\CMS\Application\CMSApplication::getInstance() JROOT/libraries/src/Factory.php:140
1 Joomla\CMS\Factory::getApplication() JROOT/administrator/index.php:48

However when I look at explain, some show what I presume is an error in red, eg NO INDEX KEY COULD BE USED.
Am I heading in the right direction?

Now with debug on I get the following at the top of the website.

Warning: A non-numeric value encountered in /home/customer/www/u3asouthpen.org.au/public_html/templates/theme3181/includes/includes.php on line 134
Notice: Trying to get property 'link' of non-object in /home/customer/www/u3asouthpen.org.au/public_html/templates/theme3181/includes/includes.php on line 166
Notice: Trying to get property 'id' of non-object in /home/customer/www/u3asouthpen.org.au/public_html/templates/theme3181/includes/includes.php on line 166

I have now turned off both debug and error reporting.

I hope this will help you identify my problems.

u3asouthpen
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Thu Jan 20, 2022 8:19 am

Re: Very High CPU Secs

Post by u3asouthpen » Sun Jan 23, 2022 1:35 am

Hi @brian,
Thanking you for taking an interest.
I don't think it is a single occurrence causing the problem but a continual buildup. It does not appear that the forum allows the posting of images or I would show the SiteGround chart. It shows CPU Secs fluctuating in the last 24 hrs from 12 points over 10,000 secs/hr including one at 18,500 secs/hr down to 5 points at 0 secs/hr, probably averaging 4-5,000 secs/hr where we are on a medium plan allowing 2,000 secs/hr. During the time from Jan 01 to today our site has had an average of 100 - 150 visitors per day.

The error log points to Timeouts on every error:-
2022-01-23 01:27:30 UTC [apache][:warn] [pid 54962] [client 124.182.11.53:55892] Timeout waiting for output from CGI script /home/u638-58z6vxxvokjf/www/u3asouthpen.org.au/public_html/index.php

2022-01-23 01:25:31 UTC [apache][:warn] [pid 57686] [client 124.182.11.53:38236] Timeout waiting for output from CGI script /home/u638-58z6vxxvokjf/www/u3asouthpen.org.au/public_html/index.php

2022-01-23 01:25:30 UTC [apache][:warn] [pid 30616] [client 124.182.11.53:34992] Timeout waiting for output from CGI script /home/u638-58z6vxxvokjf/www/u3asouthpen.org.au/public_html/index.php

2022-01-23 01:24:31 UTC [apache][:warn] [pid 57686] [client 124.182.11.53:38236] Timeout waiting for output from CGI script /home/u638-58z6vxxvokjf/www/u3asouthpen.org.au/public_html/index.php

2022-01-23 01:23:30 UTC [apache][:warn] [pid 54073] [client 124.182.11.53:45530] Timeout waiting for output from CGI script /home/u638-58z6vxxvokjf/www/u3asouthpen.org.au/public_html/index.php

I hope this gives some guide to the problem.
Regards

u3asouthpen
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Thu Jan 20, 2022 8:19 am

Re: Very High CPU Secs

Post by u3asouthpen » Sun Jan 23, 2022 1:49 am

The two lines mentioned in the Debug report are:-

/home/customer/www/u3asouthpen.org.au/public_html/templates/theme3181/includes/includes.php on line 134

and
/home/customer/www/u3asouthpen.org.au/public_html/templates/theme3181/includes/includes.php on line 166

Line 134 is:- $mainContentWidth = 12 - ($asideLeftWidth + $asideRightWidth);
Line 166 is:- $privacy_link_url = JRoute::_($privacyMenuLink->link.'&Itemid='.$privacyMenuLink->id);

Is this info useful?

u3asouthpen
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Thu Jan 20, 2022 8:19 am

Re: Very High CPU Secs

Post by u3asouthpen » Sun Jan 23, 2022 4:11 am

Doing a little more digging, for the last 24 Hours we have averaged 77 program executions/hr (allowed 2000/hr so 3.9%) and 3736 CPU Secs/hr (allowed 2000/hr so 187%)

Something bad is going on and I strongly suspect the Timeouts are the cause, but what causes them?


Post Reply

Return to “General Questions/New to Joomla! 3.x”