503 error since last update Topic is solved

Need help with the Administration of your Joomla! 3.x site? This is the spot for you.

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
Vorak
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Sun Mar 26, 2017 9:07 am

503 error since last update

Post by Vorak » Wed Sep 12, 2018 4:15 pm

Hello,

I am currently running the latest Joomla 3 version. However, I noticed that as of the past days/week, my Joomla site has been very slow at times. Very frequently, it doesn't load at all and in the end gives a 503 timeout error.

Usually, the website still loads if loaded as a visitor (not logged in), but even just logging in often causes a timeout. It seems to have started sometime after I updated to the latest version of Joomla (the update process went without any problem).

I did not make any changes to any Joomla settings or settings of extensions. I did not add any new extensions for quite some time either. The amount of visitors to the website has not suddenly increased and I can't think of anything else that would indicate a reason for these timeouts.

My website is running on a virtual server, and on that end everything is working perfectly with a stable configuration. Other (much smaller Joomla) websites running on the same server but with different domain names continue to work without an issue, which seems to indicate that it's this particular Joomla site that keeps running out of memory. It seems weird though that a new version of Joomla should suddenly require so much more memory from the server when nothing else changed.

Can anyone please help figure out the cause of this problem?

annahersh
Joomla! Explorer
Joomla! Explorer
Posts: 273
Joined: Wed Aug 15, 2018 8:23 pm

Re: 503 error since last update

Post by annahersh » Wed Sep 12, 2018 6:14 pm

Are there error log files in your Joomla root or administrator directory? If yes, view error messages. Set error reporting to development and enable debug and test for error messages and check the database query info in the debug output to see if a particular query is exceeding the limit.

What php/mysql versions are used on the VPS?

Vorak
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Sun Mar 26, 2017 9:07 am

Re: 503 error since last update

Post by Vorak » Wed Sep 12, 2018 6:46 pm

Hello,

thanks for your reply. THis is what the database query info gives me:

141 Queries Logged 1232.13 ms

11 duplicate found!
2 duplicates: #2 #140
2 duplicates: #3 #141
2 duplicates: #92 #96
3 duplicates: #126 #134 #135
2 duplicates: #133 #138

Of course, at the moment the site is running smoothly again because I've rebooted the server and then it runs well for a little while.

PHP is version 5.6.37.
phpMyAdmin is 4.6.6.

I did not see any error log files within the Joomla root or Joomla Administrator root, nor in their respective logs directories.

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

Re: 503 error since last update

Post by AMurray » Wed Sep 12, 2018 9:29 pm

Perhaps you can try updating PHP 5.6 to 7.1.x or higher? (I think 5.6 is about to reach EOL in December).
Regards,
--------------------------------------------------------------
A Murray
Millennium Falcon - it's the ship that made the Kessel run in less than 12 parsecs! The fastest hunk of junk in the galaxy.

garly01
Joomla! Apprentice
Joomla! Apprentice
Posts: 24
Joined: Wed May 08, 2013 12:38 am

Re: 503 error since last update

Post by garly01 » Thu Sep 13, 2018 1:22 am

Have you installed the latest version of jch optimise. It might just help speed things up a bit.

Might be no harm testing it on gtmetrix too just to see if it clocks something that is slowing your site down

https://gtmetrix.com/

https://extensions.joomla.org/extension/jch-optimize/

Vorak
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Sun Mar 26, 2017 9:07 am

Re: 503 error since last update

Post by Vorak » Thu Sep 13, 2018 11:10 am

I have updated PHP to version 7.1.21 -> in itself the Joomla site works fine on that, but the timeout issues remain the same.

I just tried to install the JCH Optimise plugin -> no effect on the timeout issues.

GTMetrix -> when the site loads normally, it doesn't give any results that (to me) would indicate the sourceo f this problem. When the site times out, GTMetrix can't connect to it either and therefore has no results to show. This is the same issue with the Joomla error reporting / debug mode on -> when the website times out, nothing loads but a 503 error so I don't see the results of that either when it's actually needed.

Vorak
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Sun Mar 26, 2017 9:07 am

Re: 503 error since last update

Post by Vorak » Thu Sep 13, 2018 11:13 am

In addition, I should probably mention that the timeouts also affect the admin panel. Some things on the admin panel cause the timeout issue as well.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 35895
Joined: Sat Apr 05, 2008 9:58 pm

Re: 503 error since last update

Post by Webdongle » Thu Sep 13, 2018 12:08 pm

http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

Vorak
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Sun Mar 26, 2017 9:07 am

Re: 503 error since last update

Post by Vorak » Thu Sep 13, 2018 12:49 pm

I have done those FPA instructions before when asking about another issue about a year ago. I posted the results in that topic, and after that got no response anymore (it's resolved in the meantime but through other means). Since it does contain quite alot of information of my website, I asked several times to remove the report again (seeing that it's apparently impossible to edit your own posts on this forum?) and I was completely ignored.

I'm willing to follow those FPA instructions again, but only if someone's actually willing to look at them and follow up on them, and erases the report results for me afterwards.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 35895
Joined: Sat Apr 05, 2008 9:58 pm

Re: 503 error since last update

Post by Webdongle » Thu Sep 13, 2018 1:05 pm

I am not a moderator but I can nag them until they remove it. Usually 1 report is enough. I will comment on the fpa if you post it.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

Vorak
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Sun Mar 26, 2017 9:07 am

Re: 503 error since last update

Post by Vorak » Thu Sep 13, 2018 2:18 pm

Forum Post Assistant (v1.4.3 (Frosty)) : 13th September 2018 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.8.12-Stable (Amani) 28-August-2018
Last edited by mandville on Fri Sep 14, 2018 9:50 am, edited 2 times in total.
Reason: fpa snipped as per op request

Vorak
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Sun Mar 26, 2017 9:07 am

Re: 503 error since last update

Post by Vorak » Thu Sep 13, 2018 2:25 pm

Thanks. I tried posting the results here, but I got the error "Your Message/Registration was blocked".

So what I did was save the results as an html file and upload that file to my website:

http://www.website.org/temp/FPA.html

I hope that works.
Last edited by mandville on Fri Sep 14, 2018 9:51 am, edited 1 time in total.
Reason: fpa snipped as per op request

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 35895
Joined: Sat Apr 05, 2008 9:58 pm

Re: 503 error since last update

Post by Webdongle » Thu Sep 13, 2018 4:20 pm

Session Path Writable: No ... should be Yes
Folders 775 ... should be 755
Upload Size: 16M | Max. POST Size: 16M ... make both 32M or 64M
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

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

Re: 503 error since last update

Post by leolam » Thu Sep 13, 2018 4:40 pm

This is a server error and not a Joomla issue.

I would suggest to remove the "open base" directive. No need when the server is properly configured.

If you can tune your Apache server, read about the Timeout attribute that you can set in httpd.conf. Look in the httpd/logs/error_log to see where the timeouts are occurring.

Connect with your host on this error. They should be able to resolve this for you

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

Vorak
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Sun Mar 26, 2017 9:07 am

Re: 503 error since last update

Post by Vorak » Thu Sep 13, 2018 4:46 pm

How do I make the session path writable? I was able to do everything else but not that, can't seem to find that setting in my Plesk control panel.

It seems that part of the report was posted after all (weird, it didn't show up earlier) but it's not the complete one due to character limit, the one I linked to should be complete.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 35895
Joined: Sat Apr 05, 2008 9:58 pm

Re: 503 error since last update

Post by Webdongle » Thu Sep 13, 2018 5:23 pm

Vorak wrote:
Thu Sep 13, 2018 4:46 pm
How do I make the session path writable? ...
Ask your Host to do it
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

Vorak
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Sun Mar 26, 2017 9:07 am

Re: 503 error since last update

Post by Vorak » Thu Sep 13, 2018 5:38 pm

Is there no way I can do it myself? I have access to the server with Putty, but I have no clue how to do it manually.

How do I remove the "open base" directive? In Plesk it is currently set at the default as: {WEBSPACEROOT}{/}{:}{TMP}{/}

Other options I can select are {DOCROOT}{/}{:}{TMP}{/} and "none".

I have also looked at the error log of the server, and there's alot of this stuff in it:

[Thu Sep 13 01:46:37.619145 2018] [proxy_fcgi:error] [pid 1486:tid 140612925843200] (70007)The timeout specified has expired: [client 87.238.161.27:56476] AH01075: Error dispatching request to :

[Thu Sep 13 13:55:30.138954 2018] [proxy_fcgi:error] [pid 7768:tid 140283873060608] (104)Connection reset by peer: [client 143.129.120.51:63847] AH01075: Error dispatching request to :

No idea what to make of that.

So far, with the changes I already made, the timeout issue still appears the same as before.

Vorak
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Sun Mar 26, 2017 9:07 am

Re: 503 error since last update

Post by Vorak » Thu Sep 13, 2018 5:41 pm

Toward the end of the error log there's also these entries:

[Thu Sep 13 16:14:51.953840 2018] [proxy_fcgi:error] [pid 15644:tid 140686938560256] [client 143.129.120.51:50108] AH01071: Got error 'PHP message: PHP Warning: is_writable(): open_basedir restriction in effect. File(/var/lib/php/session) is not within the allowed path(s): (/var/www/vhosts/druidcircle.org/:/tmp/) in /var/www/vhosts/druidcircle.org/httpdocs/druid/fpa-en.php on line 1406\n'

[Thu Sep 13 16:16:50.599957 2018] [proxy_fcgi:error] [pid 15644:tid 140686972131072] [client 143.129.120.51:50134] AH01071: Got error 'PHP message: PHP Warning: is_writable(): open_basedir restriction in effect. File(/var/lib/php/session) is not within the allowed path(s): (/var/www/vhosts/druidcircle.org/:/tmp/) in /var/www/vhosts/druidcircle.org/httpdocs/druid/fpa-en.php on line 1406\n', referer: https://www.druidcircle.org/druid/fpa-en.php

Vorak
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Sun Mar 26, 2017 9:07 am

Re: 503 error since last update

Post by Vorak » Fri Sep 14, 2018 9:30 am

UPDATE: I have finally found out what was causing these timeout issues.

After updating Joomla to the latest version, there was apparently a conflict with the plugin/component "Joomdle" (a bridge between Joomla and Moodle). Disabling Joomdle immediately resolved the timeout issue.

As it turned out, all that was needed was updating Joomdle to the latest version. It just wasn't clear at all that there was a new version for Joomdle to begin with (not even a new version, just a new build), and since the server's error logs weren't pointing toward anything in particular, it was not obvious that Joomdle was the cause. It was just by disabling all components and re-enabling them one by one that I happened to discover this. I would never have thought that something like this could actually cause timeouts.

The server provider was not at fault, as now the Joomla website is running smooth again. I did ask the provider to make the sessions path writable, and am awaiting their answer.

Thank you for your help. The FPA report that was partially posted above can be removed again (the link to it on my server has already been removed).

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 35895
Joined: Sat Apr 05, 2008 9:58 pm

Re: 503 error since last update

Post by Webdongle » Fri Sep 14, 2018 1:07 pm

Vorak wrote:
Fri Sep 14, 2018 9:30 am
... The FPA report that was partially posted above can be removed again (the link to it on my server has already been removed).
I reported the post that had the fpa report. A mod has now removed it for you.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

Vorak
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Sun Mar 26, 2017 9:07 am

Re: 503 error since last update

Post by Vorak » Fri Sep 14, 2018 1:13 pm

Thanks, I appreciate it!


Post Reply

Return to “Administration Joomla! 3.x”