• Home
  • Get help
  • Ask a question
Last post 5 hours 11 min ago
Posts last week 141
Average response time last week 4 hours 42 min
All time posts 67824
All time tickets 10480
All time avg. posts per day 21

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#5849 – Too much queries with Lock and Rewritings

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Tuesday, 11 June 2019 15:59 UTC
glasmaatje
 
Hello


Get this wich is getting my site down because of too much queries about 30 at the same moment.
How to solve it?

408599 glasmaat_user1 localhost glasmaat_db1 Query 0 Waiting for table level lock SELECT oldurl, dateadd FROM epxo_sh404sef_urls WHERE newurl='index.php?option=com_virtuemart&I 0.000
408600 glasmaat_user1 localhost glasmaat_db1 Query 0 Waiting for table level lock SELECT oldurl, dateadd FROM epxo_sh404sef_urls WHERE newurl='index.php?option=com_virtuemart&I 0.000
408602 glasmaat_user1 localhost glasmaat_db1 Query 0 Waiting for table level lock SELECT oldurl, dateadd FROM epxo_sh404sef_urls WHERE newurl='index.php?option=com_virtuemart&I 0.000
408603 glasmaat_user1 localhost glasmaat_db1 Query 0 Waiting for table level lock SELECT oldurl, dateadd FROM epxo_sh404sef_urls WHERE newurl='index.php?option=com_virtuemart&I 0.000
Tuesday, 11 June 2019 16:09 UTC
wb_weeblr
Hi,

You should first make sure you use normal Joomla optimisation (ie using caching for instance). sh404SEF is fully optimized to do its job as it's been around for more than 12 years now so queries are really optimized and there's nothing to do with the code itself.

What you can do is:

1 - Disable the "Similar URL" plugin. It's displayed on 404 errors pages and it does need lots of queries. It's very useful but it's a feature you can disable.
2 - Just update the server and be sure that you are NOT using a shared hosting server where MYSQL resources are often limited.
3 - Make sure you do not have useless URLs in the database. For instance, if you have many 404 URLs recorded, you can purge them (in the 404 URL manager).

How many URLs do you have and how many visitors per day?

That said in the end, it's about having the server that matches the features you use and the number of visitors.

Best regards
 
Tuesday, 11 June 2019 17:35 UTC
glasmaatje
Hi
Thank you for your reply.
I have done the number 3 tip.

I took a look at the AW stats in de Cpanel and we have lots of' Required but not found URLs (HTTP code 404) ' on the site
about 6226 urls !

Other question.
We have orderconfirmatione in our email from our customers.
The product normally has a link to the product op the website (shop) but now its it redirecting every link to the Home.
Do you know why?
Tuesday, 11 June 2019 17:46 UTC
wb_weeblr
Hi

Do you know why?
The links in the confirmation email must be absolute,ie include the domain name. I guess your ecommerce solution or the email system you use does not include the domain in the link in the email. Can't comment more without much more details on which systems you use, how you create the emails, what are the actual and full URLs, etc

Best regards
 
Tuesday, 11 June 2019 18:57 UTC
glasmaatje

Hi
Now I have disabled de plugin of similar Url's
Its stille generating this lines in the 404

Does it harm?

15 1 2019-06-11 18:43:58 media/com_vpadvanceduser/js/jquery.biscuit.js + Omleiden naar SEF URL Voer een omleidings-URL in
16 1 2019-06-11 18:38:37 media/plg_jchoptimize/cache/css/d0318b8aba2baa782c101a3f0df08056_1.css + Omleiden naar SEF URL Voer een omleidings-URL in
17 1 2019-06-11 18:26:01 media/plg_jchoptimize/cache/js/5f4c289a6f33d7c60b2cb69ab775288d_3.js + Omleiden naar SEF URL Voer een omleidings-URL in
18 1 2019-06-11 18:38:38 media/plg_jchoptimize/cache/js/7eb0245e77184c3530aa77211b74423b_0.js + Omleiden naar SEF URL Voer een omleidings-URL in
19 1 2019-06-11 18:39:10 media/plg_jchoptimize/cache/js/88ee0440f8a9ab6c4e461e4d73156346_1.js
Wednesday, 12 June 2019 10:35 UTC
wb_weeblr
Hi

Its stille generating this lines in the 404
I don't understand what you mean by that, sorry.

15 1 2019-06-11 18:43:58 media/com_vpadvanceduser/js/jquery.biscuit.js + Omleiden naar SEF URL Voer een omleidings-URL in

16 1 2019-06-11 18:38:37 media/plg_jchoptimize/cache/css/d0318b8aba2baa782c101a3f0df08056_1.css + Omleiden naar SEF URL Voer een omleidings-URL in

17 1 2019-06-11 18:26:01 media/plg_jchoptimize/cache/js/5f4c289a6f33d7c60b2cb69ab775288d_3.js + Omleiden naar SEF URL Voer een omleidings-URL in

18 1 2019-06-11 18:38:38 media/plg_jchoptimize/cache/js/7eb0245e77184c3530aa77211b74423b_0.js + Omleiden naar SEF URL Voer een omleidings-URL in

19 1 2019-06-11 18:39:10 media/plg_jchoptimize/cache/js/88ee0440f8a9ab6c4e461e4d73156346_1.js
Those lines don't seem to be related to sh404SEF, they come from other components on your site (JCHOptimize).

Best regards

 
Thursday, 27 June 2019 05:34 UTC
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.