Pages take exactly 60 seconds to load Topic is solved

Discussion regarding Joomla! 2.5 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.
Locked
Schmav
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Jan 28, 2020 3:57 am

Pages take exactly 60 seconds to load

Post by Schmav » Tue Jan 28, 2020 4:21 am

Hi All,
I'm new to Joomla and have inherited an older website which has had an issue for the last week. There are plans to upgrade it but not just right now.
Every page takes exactly 60 seconds to load as if something is timing out before the page loads. Turning on debugging shows that the delay occurs after rendering but I have no idea how to debug this further. The Hosting company is adamant there is nothing wrong on the server side. In trying to fix this, i did update PHP from 5.2 to 5.6 which is now causing some minor errors about deprecated function calls but this issue existed before the upgrade so i don't think it is related.

I am looking for suggestions on how to investigate this further.

This is what i get from the debugger
Application 0.000 seconds (+0.000); 0.61 MB (+0.608) - afterLoad
Application 0.205 seconds (+0.205); 3.48 MB (+2.876) - afterInitialise
Application 0.250 seconds (+0.045); 4.16 MB (+0.678) - afterRoute
Application 0.330 seconds (+0.080); 6.12 MB (+1.962) - afterDispatch
Application 0.356 seconds (+0.026); 6.33 MB (+0.206) - beforeRenderModule mod_menu (Articles)
Application 0.397 seconds (+0.042); 6.49 MB (+0.162) - afterRenderModule mod_menu (Articles)
Application 0.398 seconds (+0.000); 6.49 MB (-0.007) - beforeRenderModule mod_custom (Footer)
Application 0.402 seconds (+0.005); 6.49 MB (+0.007) - afterRenderModule mod_custom (Footer)
Application 0.403 seconds (+0.000); 6.49 MB (-0.002) - beforeRenderModule mod_custom (Plant Distribution)
Application 0.403 seconds (+0.001); 6.49 MB (+0.005) - afterRenderModule mod_custom (Plant Distribution)
Application 0.403 seconds (+0.000); 6.49 MB (-0.002) - beforeRenderModule mod_custom (Warehouse)
Application 0.404 seconds (+0.001); 6.50 MB (+0.004) - afterRenderModule mod_custom (Warehouse)
Application 0.404 seconds (+0.000); 6.49 MB (-0.002) - beforeRenderModule mod_custom (Transport)
Application 0.405 seconds (+0.001); 6.50 MB (+0.004) - afterRenderModule mod_custom (Transport)
Application 0.405 seconds (+0.000); 6.50 MB (-0.001) - beforeRenderModule mod_custom (Remote support)
Application 0.405 seconds (+0.000); 6.50 MB (+0.004) - afterRenderModule mod_custom (Remote support)
Application 0.405 seconds (+0.000); 6.51 MB (+0.007) - beforeRenderModule mod_ariimageslider (Image Slider)
Application 0.574 seconds (+0.168); 7.10 MB (+0.593) - afterRenderModule mod_ariimageslider (Image Slider)
Application 0.574 seconds (+0.000); 7.08 MB (-0.025) - beforeRenderModule mod_custom (Call us)
Application 0.575 seconds (+0.001); 7.08 MB (+0.004) - afterRenderModule mod_custom (Call us)
Application 0.575 seconds (+0.000); 7.08 MB (-0.002) - beforeRenderModule mod_search (Search)
Application 0.586 seconds (+0.011); 7.10 MB (+0.023) - afterRenderModule mod_search (Search)
Application 0.586 seconds (+0.000); 7.10 MB (-0.007) - beforeRenderModule mod_menu (Main Menu)
Application 0.590 seconds (+0.004); 7.12 MB (+0.020) - afterRenderModule mod_menu (Main Menu)
Application 60.657 seconds (+60.067); 7.16 MB (+0.047) - afterRender


and this is the FPA output.
Forum Post Assistant (v1.4.9 (lambrusca) : 28th January 2020 wrote:
Last PHP Error(s) Reported :: wrote:[28-Jan-2020 03:26:18 UTC] PHP Strict Standards: Declaration of JCacheControllerView::get() should be compatible with JCacheController::get($id, $group = NULL) in /home/*username*/public_html/*directory omitted*/libraries/joomla/cache/controller/view.php on line 137
Basic Environment :: wrote:Joomla! Instance :: Joomla! 2.5.27-Stable (Ember) 30-September-2014
Joomla! Platform :: Joomla Platform 11.4.0-Stable (Brian Kernighan) 03-Jan-2012
Joomla! Configured :: Yes | Read-Only (444) | Owner: --protected-- . (uid: 1/gid: 1) | Group: --protected-- (gid: 1) | Valid For: 2.5
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: false | .htaccess/web.config: Yes | GZip: true | Cache: true | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: N/A | FTP Layer: false | Proxy: N/A | LiveSite: | Session lifetime: 999 | Session handler: database | Shared sessions: N/A | SSL: 0 | Error Reporting: default | Site Debug: false | Language Debug: false | Default Access: 1 | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 2.5.27: Yes | Database Supports J! 2.5.27: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 4.14.94-164.ELK.el6.x86_64 | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate, br | Doc Root: --protected-- | System TMP Writable: Yes | Free Disk Space : 1358.09 GiB |

PHP Configuration :: Version: 5.6.40 | PHP API: cgi-fcgi | Session Path Writable: Yes | Display Errors: | Error Reporting: 32759 | Log Errors To: error_log | Last Known Error: 28th January 2020 03:36:41. | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: | Uploads: 1 | Max. Upload Size: 64M | Max. POST Size: 64M | Max. Input Time: 60 | Max. Execution Time: 30 | Memory Limit: 256M

Database Configuration :: Version: 5.6.41-84.1 (Client:mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $) | Host: --protected-- (--protected--) | default Collation: latin1_swedish_ci (default Character Set: latin1) | Database Size: 10.47 MiB | #of Tables:  96
Detailed Environment :: wrote:PHP Extensions :: Core (5.6.40) | date (5.6.40) | ereg () | libxml () | openssl () | pcre () | zlib (2.0) | filter (0.11.0) | hash (1.0) | pcntl () | readline (5.6.40) | Reflection ($Id: 5f15287237d5f78d75b19c26915aa7bd83dee8b8 $) | SPL (0.2) | session () | standard (5.6.40) | cgi-fcgi () | bcmath () | bz2 () | calendar () | ctype () | curl () | dom (20031129) | mbstring () | fileinfo (1.0.5) | ftp () | gd () | gettext () | gmp () | iconv () | imagick (3.4.3) | imap () | intl (1.1.0) | json (1.2.1) | exif (1.4 $Id: cad29b729548e4206f0697710cc9e177f26fdff3 $) | mcrypt () | mssql () | mysqlnd (mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $) | mysql (1.0) | mysqli (0.1) | OAuth (1.2.3) | odbc (1.0) | PDO (1.0.4dev) | pdo_dblib (1.0.1) | pdo_mysql (1.0.2) | PDO_ODBC (1.0.1) | pdo_pgsql (1.0.2) | pdo_sqlite (1.0.1) | pgsql () | Phar (2.0.2) | posix () | pspell () | SimpleXML (0.1) | soap () | sockets () | SourceGuardian (11.3.4) | sqlite3 (0.7-dev) | tidy (2.0) | tokenizer (0.1) | xml () | wddx () | xmlreader (0.1) | xmlrpc (0.51) | xmlwriter (0.1) | xsl (0.1) | zip (1.12.5) | mhash () | ionCube Loader () | Zend Guard Loader () | Zend Engine (2.6.0) |
Potential Missing Extensions ::

Switch User Environment (Experimental) :: PHP CGI: Yes | Server SU: Yes | PHP SU: Yes | Custom SU (LiteSpeed/Cloud/Grid): 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) :: plugins/system/section/ (777) |
Database Information :: wrote:Database statistics :: Uptime: 3864827 | Threads: 4 | Questions: 218281104 | Slow queries: 733 | Opens: 1934047 | Flush tables: 1 | Open tables: 4096 | Queries per second avg: 56.478 |
Extensions Discovered :: wrote:Components :: SITE ::
Core :: com_mailto (2.5.0) 1 | com_wrapper (2.5.0) 1 |
3rd Party:: WF_LINK_SEARCH_TITLE (2.5.12) ? | WF_LINKS_JOOMLALINKS_TITLE (2.5.12) ? | WF_AGGREGATOR_DAILYMOTION_TITLE (2.5.12) ? | WF_AGGREGATOR_VIMEO_TITLE (2.5.12) ? | WF_AGGREGATOR_VINE_TITLE (2.5.12) ? | WF_AGGREGATOR_[youtube]_TITLE (2.5.12) ? | WF_FILESYSTEM_JOOMLA_TITLE (2.5.12) ? | WF_MEDIAPLAYER_JCEPLAYER_TITLE (2.5.12) ? | WF_POPUPS_WINDOW_TITLE (2.5.12) ? | WF_POPUPS_JCEMEDIABOX_TITLE (2.5.12) ? | WF_FONTSELECT_TITLE (2.5.12) ? | WF_SEARCHREPLACE_TITLE (2.5.12) ? | WF_LINK_TITLE (2.5.12) ? | WF_FONTCOLOR_TITLE (2.5.12) ? | WF_CHARMAP_TITLE (2.5.12) ? | WF_LISTS_TITLE (2.5.12) ? | WF_NONBREAKING_TITLE (2.5.12) ? | WF_STYLE_TITLE (2.5.12) ? | WF_FONTSIZESELECT_TITLE (2.5.12) ? | WF_CONTEXTMENU_TITLE (2.5.12) ? | WF_INLINEPOPUPS_TITLE (2.5.12) ? | WF_CLIPBOARD_TITLE (2.5.12) ? | WF_BROWSER_TITLE (2.5.12) ? | WF_FULLSCREEN_TITLE (2.5.12) ? | WF_XHTMLXTRAS_TITLE (2.5.12) ? | WF_PRINT_TITLE (2.5.12) ? | WF_HR_TITLE (2.5.12) ? | WF_IMGMANAGER_TITLE (2.5.12) ? | WF_CLEANUP_TITLE (2.5.12) ? | WF_VISUALCHARS_TITLE (2.5.12) ? | WF_ANCHOR_TITLE (2.5.12) ? | WF_SOURCE_TITLE (2.5.12) ? | WF_TEXTCASE_TITLE (2.5.12) ? | WF_FORMATSELECT_TITLE (2.5.12) ? | WF_LAYER_TITLE (2.5.12) ? | WF_KITCHENSINK_TITLE (2.5.12) ? | WF_MEDIA_TITLE (2.5.12) ? | WF_DIRECTIONALITY_TITLE (2.5.12) ? | WF_ARTICLE_TITLE (2.5.12) ? | WF_STYLESELECT_TITLE (2.5.12) ? | WF_AUTOSAVE_TITLE (2.5.12) ? | WF_TABLE_TITLE (2.5.12) ? | WF_PREVIEW_TITLE (2.5.12) ? | WF_VISUALBLOCKS_TITLE (2.5.12) ? | WF_SPELLCHECKER_TITLE (2.5.12) ? |

Components :: ADMIN ::
Core :: com_modules (2.5.0) 1 | com_languages (2.5.0) 1 | com_users (2.5.0) 1 | com_redirect (2.5.0) 1 | com_categories (2.5.0) 1 | com_checkin (2.5.0) 1 | com_plugins (2.5.0) 1 | com_media (2.5.0) 1 | com_banners (2.5.0) 1 | com_cpanel (2.5.0) 1 | com_login (2.5.0) 1 | com_installer (2.5.0) 1 | com_templates (2.5.0) 1 | com_menus (2.5.0) 1 | com_admin (2.5.0) 1 | com_search (2.5.0) 1 | com_weblinks (2.5.0) 1 | com_messages (2.5.0) 1 | com_finder (2.5.0) 1 | com_content (2.5.0) 1 | com_newsfeeds (2.5.0) 1 | com_config (2.5.0) 1 | com_joomlaupdate (2.5.0) 1 | com_cache (2.5.0) 1 |
3rd Party:: userport (3.0 for Jooml) 1 | com_chronoforms5 (5.0.10) 1 | aiContactSafe module (1.0.13.stable) ? | aiContactSafe - Form (1.0.15.stable) ? | aiContactSafe (1.0.0) ? | aiContactSafe - Link (1.0.10.stable) ? | aiContactSafe (2.0.21c.stabl) ? | com_phocadownload (2.1.9) 1 | com_jDownloads (2.5.21 Beta) ? | JCE (2.5.12) ? |

Modules :: SITE ::
Core :: mod_wrapper (2.5.0) 1 | mod_login (2.5.0) 1 | mod_search (2.5.0) 1 | mod_users_latest (2.5.0) 1 | mod_banners (2.5.0) 1 | mod_articles_news (2.5.0) 1 | mod_syndicate (2.5.0) 1 | mod_weblinks (2.5.0) 1 | mod_articles_category (2.5.0) 1 | mod_footer (2.5.0) 1 | mod_feed (2.5.0) 1 | mod_menu (2.5.0) 1 | mod_related_items (2.5.0) 1 | mod_articles_popular (2.5.0) 1 | mod_stats (2.5.0) 1 | mod_articles_archive (2.5.0) 1 | mod_finder (2.5.0) 1 | mod_breadcrumbs (2.5.0) 1 | mod_articles_categories (2.5.0) 1 | mod_languages (2.5.0) 1 | mod_custom (2.5.0) 1 | mod_articles_latest (2.5.0) 1 | mod_whosonline (2.5.0) 1 | mod_random_image (2.5.0) 1 |
3rd Party:: ARI Image Slider (2.1.0) 1 | ARI Image Slider (2.1.0) 1 | ARI Ext Menu (2.2.11) 1 | jDownloads Top (2.5.15) 1 | jDownloads Latest (2.5.15) 1 | mod_news_pro_gk4 (GK4 3.1.4) 1 | jDownloads Last Updated (2.5.15) 1 |

Modules :: ADMIN ::
Core :: mod_quickicon (2.5.0) 1 | mod_login (2.5.0) 1 | mod_title (2.5.0) 1 | mod_version (2.5.0) 1 | mod_multilangstatus (2.5.0) 1 | mod_popular (2.5.0) 1 | mod_feed (2.5.0) 1 | mod_menu (2.5.0) 1 | mod_submenu (2.5.0) 1 | mod_toolbar (2.5.0) 1 | mod_latest (2.5.0) 1 | mod_custom (2.5.0) 1 | mod_logged (2.5.0) 1 | mod_status (2.5.0) 1 |
3rd Party::

Libraries ::
Core ::
3rd Party::

Plugins ::
Core :: plg_search_newsfeeds (2.5.0) 1 | plg_search_contacts (2.5.0) 1 | plg_search_weblinks (2.5.0) 1 | plg_search_categories (2.5.0) 1 | plg_search_content (2.5.0) 1 | plg_quickicon_extensionupdate (2.5.0) 1 | plg_quickicon_joomlaupdate (2.5.0) 1 | plg_user_joomla (2.5.0) 1 | plg_user_contactcreator (2.5.0) 0 | plg_user_profile (2.5.0) 0 | plg_finder_newsfeeds (2.5.0) 1 | plg_finder_contacts (2.5.0) 1 | plg_finder_weblinks (2.5.0) 1 | plg_finder_categories (2.5.0) 1 | plg_finder_content (2.5.0) 1 | plg_captcha_recaptcha (2.5.0) 0 | plg_authentication_ldap (2.5.0) 0 | plg_authentication_joomla (2.5.0) 1 | plg_authentication_gmail (2.5.0) 0 | plg_editors-xtd_readmore (2.5.0) 1 | plg_editors-xtd_pagebreak (2.5.0) 1 | plg_editors-xtd_image (2.5.0) 1 | plg_editors-xtd_article (2.5.0) 1 | plg_extension_joomla (2.5.0) 1 | plg_system_debug (2.5.0) 1 | plg_system_sef (2.5.0) 1 | plg_system_languagecode (2.5.0) 0 | plg_system_languagefilter (2.5.0) 0 | plg_system_highlight (2.5.0) 1 | plg_system_p3p (2.5.0) 1 | plg_system_remember (2.5.0) 1 | plg_system_log (2.5.0) 1 | plg_system_logout (2.5.0) 1 | plg_system_cache (2.5.0) 0 | plg_system_redirect (2.5.0) 1 | plg_content_joomla (2.5.0) 1 | plg_content_finder (2.5.0) 0 | plg_content_pagebreak (2.5.0) 1 | plg_content_pagenavigation (2.5.0) 1 | plg_content_geshi (2.5.0) 0 | plg_content_emailcloak (2.5.0) 1 | plg_content_loadmodule (2.5.0) 1 | plg_content_vote (2.5.0) 1 |
3rd Party:: plg_search_jdownloads (2.5) 0 | jDownloads Example - Example Plugin (2.5) ? | plg_quickicon_jcefilebrowser (2.5.12) 1 | Button - jDownloads Content (2.5) 0 | plg_editors_jce (2.5.12) 1 | plg_editors_tinymce (3.5.4.1) 1 | plg_editors_codemirror (1.0) 1 | plg_system_jce (2.5.12) 1 | plg_system_jdownloads (2.5.1) 1 | Content - jDownloads (2.5 Beta) 0 | Content - Read Less - Text (5.1c (r263)) 1 |
Templates Discovered :: wrote:Templates :: SITE :: beez5 (2.5.0) ? | beez_20 (2.5.0) 1 | atomic (2.5.0) ? |
Templates :: ADMIN :: hathor (2.5.0) ? | bluestork (2.5.0) 1 |

waarnemer
Joomla! Hero
Joomla! Hero
Posts: 2954
Joined: Sun May 04, 2008 12:37 pm

Re: Pages take exactly 60 seconds to load

Post by waarnemer » Tue Jan 28, 2020 7:02 am

check this thread... you have a system plugin calling home
viewtopic.php?p=3593609#p3593609
and more interesting in your fpa this is showing immediately.
The folder this is in, has a 777 permission... security risk.

plugin/system/section/sections.php

Then after you solved this, get on a huge upgrade mission.. your 2.5.27 has reached end of life years ago.
Upgrading the server from 5.2 to 5.6 is upgrading from one EOL PHP version to the other...

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

Re: Pages take exactly 60 seconds to load

Post by AMurray » Tue Jan 28, 2020 8:56 am

You should upgrade "right now" because it's a sitting duck candidate for hacking. J! 2.5 is not supported. You're also using End of Life PHP versions.
Regards - A Murray
General Support Moderator

User avatar
w360
Joomla! Apprentice
Joomla! Apprentice
Posts: 46
Joined: Wed Jan 22, 2020 5:02 pm

Re: Pages take exactly 60 seconds to load

Post by w360 » Tue Jan 28, 2020 9:10 am

Also, the time spent on debugging such an old site is much better used on upgrading to the newest version.

Otherwise, it's like throwing away valuable resources.

waarnemer
Joomla! Hero
Joomla! Hero
Posts: 2954
Joined: Sun May 04, 2008 12:37 pm

Re: Pages take exactly 60 seconds to load

Post by waarnemer » Tue Jan 28, 2020 11:18 am

You need to debug this issue else it will be inherited to your new J!.

Check the thread, debug and, yes, upgrade

Schmav
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Jan 28, 2020 3:57 am

Re: Pages take exactly 60 seconds to load

Post by Schmav » Wed Jan 29, 2020 12:48 am

waarnemer wrote:
Tue Jan 28, 2020 7:02 am
check this thread... you have a system plugin calling home
viewtopic.php?p=3593609#p3593609
and more interesting in your fpa this is showing immediately.
The folder this is in, has a 777 permission... security risk.

plugin/system/section/sections.php

Then after you solved this, get on a huge upgrade mission.. your 2.5.27 has reached end of life years ago.
Upgrading the server from 5.2 to 5.6 is upgrading from one EOL PHP version to the other...

Schmav
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Jan 28, 2020 3:57 am

Re: Pages take exactly 60 seconds to load

Post by Schmav » Wed Jan 29, 2020 12:51 am

This was the culprit. Removing sections.php brought the performance back to normal. It looks like the gene7conf domain recently went off line however the code has been there from the original install in 2010. I am guessing anyone running an older version of Joomla may experience this issue now.
I also take on board comments regarding upgrading...this is on my list.


Locked

Return to “Performance - Joomla! 2.5”