Website Service Unavailable

This forum is for issues with installing Joomla! 3.x on IIS webservers.

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.
Post Reply
User avatar
kulot
Joomla! Intern
Joomla! Intern
Posts: 55
Joined: Wed Aug 22, 2007 2:28 am

Website Service Unavailable

Post by kulot » Mon Jan 09, 2017 4:06 pm

We are experiencing this "Service Unavailable" error in our Joomla 3.5 website.

The error will appear when we have 500 or more current online users.

Before it will appear, when browsing the website we noticed that it is very slow to load.

Current setup that might help:

Server has 16 virtual core and 12gb of memory and the php fastcgi maxintances are 8

Is there any settings that we need to tweak to cater high volume users?

Below is the processes

Image

itoctopus
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4027
Joined: Mon Nov 25, 2013 4:35 pm
Location: Montreal, Canada
Contact:

Re: Website Service Unavailable

Post by itoctopus » Mon Jan 09, 2017 7:41 pm

Have you checked the MySQL slow query log? Also, are you using InnoDB or MySQL? And, if InnoDB is used, have you optimized it for your Joomla website?
http://www.itoctopus.com - Joomla consulting at its finest
https://twitter.com/itoctopus - Follow us on Twitter

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

Re: Website Service Unavailable

Post by leolam » Tue Jan 10, 2017 2:56 am

What is the exact 503-error you get?

Leo 8)
Joomla's #1 Professional Support Provider:
-> Joomla Professional Support: https://gws-desk.com -
-> Joomla Specialized Hosting Solutions: https://gws-host.com -
Member Joomla Bug Squad & Joomla CMS Release Team

User avatar
kulot
Joomla! Intern
Joomla! Intern
Posts: 55
Joined: Wed Aug 22, 2007 2:28 am

Re: Website Service Unavailable

Post by kulot » Tue Jan 10, 2017 4:27 am

itoctopus wrote:Have you checked the MySQL slow query log? Also, are you using InnoDB or MySQL? And, if InnoDB is used, have you optimized it for your Joomla website?
We are using mySQL and there are no slow query log and I think this is not with the database connection because even a simple code like below is not running

<?php
echo date("l jS \of F Y h:i:s A");
?>

however, it can display static html file

User avatar
kulot
Joomla! Intern
Joomla! Intern
Posts: 55
Joined: Wed Aug 22, 2007 2:28 am

Re: Website Service Unavailable

Post by kulot » Tue Jan 10, 2017 4:29 am

leolam wrote:What is the exact 503-error you get?

Leo 8)

Just a white page with the words "Service Unavailable"

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

Re: Website Service Unavailable

Post by leolam » Tue Jan 10, 2017 5:00 am

Please post your server environment FPA output and I like to confirm you are running IIS? http://forum.joomla.org/viewtopic.php?f=621&t=582860

Leo 8)
Joomla's #1 Professional Support Provider:
-> Joomla Professional Support: https://gws-desk.com -
-> Joomla Specialized Hosting Solutions: https://gws-host.com -
Member Joomla Bug Squad & Joomla CMS Release Team

User avatar
kulot
Joomla! Intern
Joomla! Intern
Posts: 55
Joined: Wed Aug 22, 2007 2:28 am

Re: Website Service Unavailable

Post by kulot » Tue Jan 10, 2017 5:25 am

Last PHP Error(s) Reported :: Forum Post Assistant (v1.2.7) : 10th January 2017 wrote:[08-Jan-2017 10:36:37 Asia/Muscat] PHP Fatal error: WINCACHE: lock_readlock: acquired abandoned mutex FILELIST_CACHE_1_0_626576_A. Something bad happend in another process! in C:\inetpub\wwwroot\libraries\loader.php on line 640
Forum Post Assistant (v1.2.7) : 10th January 2017 wrote:
Basic Environment :: wrote:Joomla! Instance :: .- ()
Joomla! Configured :: Yes | Read-Only (444) | Owner: 0 (uid: /gid: ) | Group: 0 (gid: ) | Valid For: 1.5
Configuration Options :: Offline: 0 | SEF: 1 | SEF Suffix: 0 | SEF ReWrite: 1 | .htaccess/web.config: Yes | GZip: 0 | Cache: 1 | FTP Layer: 0 | SSL: 0 | Error Reporting: none | Site Debug: 0 | Database Credentials Present: Yes

Host Configuration :: OS: Windows NT | OS Version: 6.2 | Technology: i586 | Web Server: Microsoft-IIS/8.0 | Encoding: gzip, deflate | Doc Root: C:/inetpub/wwwroot/ | System TMP Writable: Yes

PHP Configuration :: Version: 5.6.0 | PHP API: cgi-fcgi | Session Path Writable: Yes | Display Errors: 1 | Error Reporting: 22527 | Log Errors To: C:\Windows\temp\PHP56_errors.log | Last Known Error: 08th January 2017 10:36:37. | Register Globals: | Magic Quotes: | Safe Mode: | Open Base: | Uploads: 1 | Max. Upload Size: 32M | Max. POST Size: 32M | Max. Input Time: 60 | Max. Execution Time: 300 | Memory Limit: 512M

MySQL Configuration :: Version: 5.1.70-community (Client:mysqlnd 5.0.11-dev - 20120503 - $Id: f373ea5dd5538761406a8022a4b8a374418b240e $) | Host: --protected-- (--protected--) | Collation: utf8_general_ci (Character Set: utf8) | Database Size: 53.83 MiB | #of Tables:  124
Detailed Environment :: wrote:PHP Extensions :: Core (5.6.0) | bcmath () | calendar () | ctype () | date (5.6.0) | ereg () | filter (0.11.0) | ftp () | hash (1.0) | iconv () | json (1.2.1) | mcrypt () | SPL (0.2) | odbc (1.0) | pcre () | Reflection ($Id: 8e5fcadef43ea0f77c7886557613923e30b979dd $) | session () | standard (5.6.0) | mysqlnd (mysqlnd 5.0.11-dev - 20120503 - $Id: f373ea5dd5538761406a8022a4b8a374418b240e $) | tokenizer (0.1) | zip (1.12.4) | zlib (2.0) | libxml () | dom (20031129) | PDO (1.0.4dev) | openssl () | SimpleXML (0.1) | wddx () | xml () | xmlreader (0.1) | xmlwriter (0.1) | cgi-fcgi () | mysql (1.0) | mysqli (0.1) | mbstring () | gd () | gettext () | curl () | exif (1.4 $Id: 0b28f1c2604848245c00549a8c8055a1c0d22a49 $) | xmlrpc (0.51) | Phar (2.0.2) | soap () | pdo_mysql (1.0.2) | pdo_sqlite (1.0.1) | imap () | tidy (2.0) | pdo_sqlsrv (3.2.0.0) | sqlsrv (3.2.0.0) | wincache (1.3.6.2) | ldap () | mhash () | Zend Engine (2.6.0) |
Potential Missing Extensions :: suhosin |

Switch User Environment (Experimental) :: PHP CGI: Yes | Server SU: No | PHP SU: Yes | Custom SU (LiteSpeed/Cloud/Grid): Yes
Potential Ownership Issues: No
Folder Permissions :: wrote:Core Folders :: images/ (777) | components/ (777) | modules/ (777) | plugins/ (777) | language/ (777) | templates/ (777) | cache/ (777) | logs/ (777) | tmp/ (777) | administrator/components/ (777) | administrator/modules/ (777) | administrator/language/ (777) | administrator/templates/ (777) |

Elevated Permissions (First 10) :: administrator/ (777) | administrator/cache/ (777) | administrator/cache/_system/ (777) | administrator/cache/com_languages/ (777) | administrator/cache/com_modules/ (777) | administrator/cache/com_plugins/ (777) | administrator/cache/fof/ (777) | administrator/components/ (777) | administrator/components/com_admin/ (777) | administrator/components/com_admin/controllers/ (777) |
Extensions Discovered :: wrote:Components :: SITE :: com_mailto (3.0.0) | com_wrapper (3.0.0) |
Components :: ADMIN :: com_admin (3.0.0) | com_ajax (3.2.0) | Akeeba (5.2.3) | com_banners (3.0.0) | com_cache (3.0.0) | com_categories (3.0.0) | com_checkin (3.0.0) | com_config (3.0.0) | com_content (3.0.0) | com_contenthistory (3.2.0) | com_cpanel (3.0.0) | com_djimageslider (3.1.2) | COM_EVENTGALLERY (3.4.7) | com_finder (3.0.0) | com_installer (3.0.0) | com_jaextmanager (2.5.3) | com_jaextmanager (2.5.7) | com_joomlaupdate (3.6.2) | mod_k2_comments (-) | mod_k2_comments (-) | COM_K2 (2.7.1) | com_languages (3.0.0) | com_login (3.0.0) | com_media (3.0.0) | com_menus (3.0.0) | com_messages (3.0.0) | com_modules (3.0.0) | com_newsfeeds (3.0.0) | Nextend2 (2.0.23) | nextend_installer (2.0) | com_plugins (3.0.0) | com_postinstall (3.2.0) | com_redirect (3.0.0) | com_search (3.0.0) | Smart Slider 3 (3.0.33) | com_tags (3.1.0) | com_templates (3.0.0) | UniForm (4.0.2) | com_users (3.0.0) | com_weblinks (3.5.0) | com_xmap (2.3.4) |

Modules :: SITE :: mod_articles_archive (3.0.0) | mod_articles_categories (3.0.0) | mod_articles_category (3.0.0) | mod_articles_latest (3.0.0) | mod_articles_news (3.0.0) | mod_articles_popular (3.0.0) | mod_banners (3.0.0) | mod_breadcrumbs (3.0.0) | mod_custom (3.0.0) | DJ-ImageSlider (3.1.2) | FavSlider Responsive Slideshow (1.7) | mod_feed (3.0.0) | mod_finder (3.0.0) | mod_footer (3.0.0) | JA Content Slider (2.6.4) | JA Masshead (2.5.6) | JA Side News (2.6.1) | JA Slideshow Lite (1.1.6) | K2 Comments (2.7.1) | K2 Content (2.7.1) | K2 Tools (2.7.1) | K2 User (2.7.1) | K2 Users (2.7.1) | mod_languages (3.5.0) | mod_login (3.0.0) | mod_menu (3.0.0) | mod_random_image (3.0.0) | mod_related_items (3.0.0) | mod_search (3.0.0) | showplus (1.0.5.4) | Sj Contact Ajax (1.0.1) | Sj Content Accordion (2.5) | Sj Flat Menu (1.0.0) | SJ Categories II for K2 (2.0.0) | Sj K2 Extra Slider (3.0.1) | Sj Mega News for K2 (3.0.0) | SJ Scattered Gallery for K2 (1.0.0) | Sj K2 Slick Slider (3.0.0) | Sj K2 Slider (3.0.0) | Sj Module Tabs (1.0) | Smart Slider 3 (3.1.2) | mod_stats (3.0.0) | mod_syndicate (3.0.0) | mod_tags_popular (3.1.0) | mod_tags_similar (3.1.0) | JSN UniForm (4.0.2) | mod_users_latest (3.0.0) | mod_weblinks (3.5.0) | mod_whosonline (3.0.0) | mod_wrapper (3.0.0) |
Modules :: ADMIN :: mod_custom (3.0.0) | mod_feed (3.0.0) | K2 Quick Icons (admin) (2.7.1) | K2 Stats (admin) (2.7.1) | mod_latest (3.0.0) | mod_logged (3.0.0) | mod_login (3.0.0) | mod_menu (3.0.0) | mod_multilangstatus (3.0.0) | mod_popular (3.0.0) | mod_quickicon (3.0.0) | mod_stats_admin (3.0.0) | mod_status (3.0.0) | mod_submenu (3.0.0) | mod_title (3.0.0) | mod_toolbar (3.0.0) | mod_version (3.0.0) |

Plugins :: SITE :: plg_authentication_cookie (3.0.0) | plg_authentication_gmail (3.0.0) | plg_authentication_jmapmyldap (1.0.8) | plg_authentication_joomla (3.0.0) | plg_authentication_ldap (3.0.0) | plg_captcha_recaptcha (3.4.0) | plg_content_emailcloak (3.0.0) | EVENTGALLERY_FIELDS_CATEGORY (3.4.7) | plg_content_finder (3.0.0) | plg_content_geshi (2.5.0) | plg_content_joomla (3.0.0) | Simple Image Gallery (by Jooml (3.0.1) | Simple Image Gallery (by Jooml (3.0.1) | JW_PLG_TS_XML_TITLE (4.2.0) | plg_content_loadmodule (3.0.0) | plg_content_pagebreak (3.0.0) | plg_content_pagenavigation (3.0.0) | JSN_UNIFORM_PLUGIN_CONTENT_TIT (4.0.2) | plg_content_vote (3.0.0) | plg_editors_codemirror (5.18.0) | plg_editors_tinymce (4.4.3) | plg_editors-xtd_article (3.0.0) | plg_editors-xtd_image (3.0.0) | plg_editors-xtd_module (3.5.0) | plg_editors-xtd_pagebreak (3.0.0) | plg_editors-xtd_readmore (3.0.0) | JSN_UNIFORM_PLUGIN_BUTTON_TITL (4.0.2) | PLG_EVENTGALLERY_PAY_STANDARD (3.4.7) | PLG_EVENTGALLERY_SHIP_STANDARD (3.4.7) | PLG_EVENTGALLERY_SUR_STANDARD (3.4.7) | plg_extension_joomla (3.0.0) | plg_finder_categories (3.0.0) | plg_finder_contacts (3.0.0) | plg_finder_content (3.0.0) | plg_finder_k2 (2.7.1) | plg_finder_newsfeeds (3.0.0) | plg_finder_tags (3.0.0) | plg_finder_weblinks (3.5.0) | PLG_INSTALLER_FOLDERINSTALLER (3.6.0) | plg_installer_packageinstaller (3.6.0) | PLG_INSTALLER_URLINSTALLER (3.6.0) | plg_installer_webinstaller (1.1.0) | Josetta - K2 Categories (2.6.7) | Josetta - K2 Items (2.6.7) | plg_quickicon_akeebabackup (1.0) | plg_quickicon_extensionupdate (3.0.0) | plg_quickicon_joomlaupdate (3.0.0) | plg_search_categories (3.0.0) | plg_search_contacts (3.0.0) | plg_search_content (3.0.0) | Search - K2 (2.7.1) | plg_search_newsfeeds (3.0.0) | plg_search_tags (3.0.0) | plg_search_weblinks (3.5.0) | plg_sso_edirldap (1.0.8) | plg_sso_http (1.0.8) | PLG_SYSTEM_AKEEBAUPDATECHECK_T (1.1) | PLG_SYSTEM_BACKUPONUPDATE_TITL (3.7) | plg_system_cache (3.0.0) | plg_system_debug (3.0.0) | plg_system_highlight (3.0.0) | JA T3 Framework (2.7.3) | plg_system_jsnframework (1.6.6) | plg_system_jssomysite (1.0.8) | System - K2 (2.7.1) | System - kareebu Secure (1.0.3) | plg_system_languagecode (3.0.0) | plg_system_languagefilter (3.0.0) | plg_system_log (3.0.0) | plg_system_logout (3.0.0) | System - Maximenu_CK params (2.1.4) | Nextend2 Library (2.0.23) | Nextend Smart Slider 3 (3.1.2) | plg_system_ossystem (1.2.1) | plg_system_p3p (3.0.0) | PLG_SYSTEM_PICASAUPDATER (3.4.7) | plg_system_redirect (3.0.0) | plg_system_remember (3.0.0) | plg_system_sef (3.0.0) | plg_system_stats (3.5.0) | System - JSN Uniform (4.0.2) | plg_system_updatenotification (3.5.0) | YT Framework (3.0.2) | YT Framework (2.2.3) | YT Shortcodes (1.3) | plg_twofactorauth_totp (3.2.0) | plg_twofactorauth_yubikey (3.2.0) | plg-uniform - Mailchimp (4.0.2) | PLG_UNIFORM_PAYMENT_PAYPAL (4.0.2) | plg_user_contactcreator (3.0.0) | plg_user_jmapmyldap (1.0.8) | plg_user_joomla (3.0.0) | User - K2 (2.7.1) | plg_user_profile (3.0.0) | Xmap - Content Plugin (2.0.4) | XMAP_PLUGIN_K2 (1.3) | Xmap - Kunena Plugin (3.0.0) | Xmap - Mosets Tree Plugin (2.0.2) | Xmap - SobiPro Plugin (2.0.2) | Xmap - Virtuemart Plugin (2.0.3) | Xmap - WebLinks Plugin (2.0.1) |
Templates Discovered :: wrote:Templates :: SITE :: beez3 (3.1.0) | beez_20 (2.5.0) | for-deans-page (1.0.5) | hct_new-theme (1.0.5) | ja_university (1.0.5) | new_general_theme (1.0.5) | protostar (1.0) | sj_university2 (1.0.0) |
Templates :: ADMIN :: bluestork (2.5.0) | hathor (3.0.0) | isis (1.0) |

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

Re: Website Service Unavailable

Post by leolam » Tue Jan 10, 2017 5:44 am

See if some solutions offered here help you https://social.msdn.microsoft.com/Forum ... tespreview

and more likely

https://forums.iis.net/t/1210919.aspx?H ... t+for+Info

If you have the option update your PHP version. That is EOL and support will seize by end of the year

Leo 8)
Joomla's #1 Professional Support Provider:
-> Joomla Professional Support: https://gws-desk.com -
-> Joomla Specialized Hosting Solutions: https://gws-host.com -
Member Joomla Bug Squad & Joomla CMS Release Team

User avatar
kulot
Joomla! Intern
Joomla! Intern
Posts: 55
Joined: Wed Aug 22, 2007 2:28 am

Re: Website Service Unavailable

Post by kulot » Thu Jan 19, 2017 4:11 am

Just an additional info and only discovered today. When the website returns 500. Event a simple php <?PHP echo date("l jS \of F Y h:i:s A");?> will not run but index.html will run.

So my suspect is that PHP fastcgi is no longer functioning

TCoder
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Wed Jun 21, 2017 2:52 am

Re: Website Service Unavailable

Post by TCoder » Wed Nov 29, 2017 9:26 pm

Out of the box IIS, without adjustments has some limitations.

In your machine.config increase.

Code: Select all

 <processModel requestQueueLimit="100000" maxWorkerThreads="100" maxIoThreads="100" minWorkerThreads="50" minIoThreads="50" />
in the registry you can increase..

Code: Select all

reg add HKLM\System\CurrentControlSet\Services\HTTP\Parameters /v MaxConnections /t REG_DWORD /d 1000000
in your applicationhost.config

Code: Select all

appcmd.exe set config /section:serverRuntime /appConcurrentRequestLimit:100000

You need to line up everything, you also need to change the application pool it runs under and increase that as well.

By making the queue length higher.

500 users shouldn't trigger this, because that's more like 1k simultaneous connections, normally the default out of the box is configured to 5000.

But, if you're running other things on the server, you might hit those limits.


Post Reply

Return to “Joomla! 3.x on IIS webserver”