- This topic has 11 replies, 4 voices, and was last updated 1 month, 1 week ago by J. Davis.
- March 16, 2022 at 5:38 am #1274267FedeParticipant
Hello, I have been informed by my hosting provider (Siteground) that the Hotel Booking plugin is consuming all the resources of a rather generous server.
The problem, specifically, is due to the number of requests made to the ‘admin-ajax.php’ script:
35.214.xxx.xxx http://www.my-website.com – [15/Mar/2022:17:46:35 +0000] “POST /wp-admin/admin-ajax.php?action=mphb_ical_sync&nonce=86f25ac985 HTTP/1.1” 499 0 “https://www.my-website.com/wp-admin/admin-ajax.php?action=mphb_ical_sync&nonce=86f25ac985” “WordPress/5.9.2; https://www.my-website.com” | TLSv1.3 | – 0.987 0.987 – 0 NC:000000 UP:-DT
What can I do to limit requests from the plugin to admin-ajax.php?
Thanks,March 17, 2022 at 8:46 am #1275087Valerie BextorModerator
To have less admin-ajax.php executions you might need to increase the Sync Interval via Accommodation ->Settings. It will allow performing synchronization less frequent and might help to decrease CPU usage. There might be a lot of sync logs stored in the database. The logs can be cleared with the Sync Calendar Status button at the top admin bar of the dashboard. Make sure “Automatically delete sync logs older than” option is set to “Week” or even more often.March 18, 2022 at 7:07 am #1275631FedeParticipant
Hi there, thanks for your answer.
I switched sync from hourly to daily a few days ago but the hosting is down again due to excess CPU usage. I’ve been checking the hosting statistics and there’re no variation in #programs executed & #cpu seconds after switching sync frecuency from hourly to daily.
I’ve also cleared all sync logs when updating the sync frequency.
This situation is untenable and I don’t know what else I can do.
Thanks for your helpMarch 18, 2022 at 8:59 am #1275736Janina WeghornParticipant
I have the same problem. Did not know why I am exceeding data usage.
I deleted all unnecessary folders and there is no change. I wonder if helps if I remove sync logs?
If not I will have to remove all sync option since I’m not getting much action on my website. This over loading destroyed my traffic.
Thanks for bringing it up, I could not figured what is going out.
Can not do any updates, the server blocked me due to lack of data.March 21, 2022 at 2:18 am #1276724Valerie BextorModerator
Using the latest version (4.2.2) of the Hotel booking plugin will definitely help. In this update we improved ical synchronization logs removal from the database.March 21, 2022 at 2:27 am #1276728Valerie BextorModerator
Please update the plugin to the 4.2.2 version. It should make a difference. We are waiting for your feedback.March 21, 2022 at 4:51 am #1276816FedeParticipant
Thanks Valerie, but unfortunately, I can’t.
I bought the plugin as part of the Booklium template and the latest version of the ‘pack’ includes a version of the plugin prior to 4.2.2.
Is there any alternative to your proposed solution?
Thanks.March 22, 2022 at 3:27 am #1277547Valerie BextorModerator
You can purchase a separate license for the Hotel booking plugin and update the plugins of the theme independently.
We do recommend purchasing a separate license as the Hotel booking is updated more frequently than the theme and you will always get the newest features and fixes.
Note, there is a great offer for MotoPress users to have unlimited and free access to all the MotoPress products with the Membership package. Once becoming a MotoPress member, you will download any theme/plugin/addon you need and have priority support.March 24, 2022 at 3:56 am #1278988FedeParticipant
Your answer does not make me happy, Valerie.
When I bought the ‘Booklium’ theme licence with the plugin included, I was assured from the commercial help chat that it was exactly the same as buying the plugin licence only. Now it turns out that I have to pay twice for the same product, for the sole reason that one of them is updated more frequently than the other, i.e. they become, de facto, two totally different products:
– The ‘individual plugin’: which supposedly fixes the reported problems.
– The ’embedded’ (in Booklium) plugin’: which turns my website into a completely unusable tool.
What is the reason why the plugin included in a theme cannot be updated as quickly as the individual plugin?
ThanksMarch 25, 2022 at 6:50 am #1279789J. DavisKeymaster
Thank you for your reply. The version of the Hotel Booking plugin works correctly and performs all the claimed functionality. We will do update the version of the Hotel Booking plugin in a while. It takes more time and effort to add an updated version of the plugin to each booking theme.
J. DavisApril 13, 2022 at 8:30 am #1289573FedeParticipant
Finally I bought another license (single plugin —no template)
Let’s see if it sorts out this issue.
Thanks.April 14, 2022 at 5:15 am #1290029J. DavisKeymaster
Thank you for your reply. Do not hesitate to contact us if you have any further questions.
- You must be logged in to reply to this topic.