I am having continued issues with WP Amelia spiking CPU usage to 100%.
I am running the plugin & website on a server with significant resources but WP Amelia specifically seems to spike the CPU usage to 100% whenever a user attempts to load the event list.
This has been an issue for some time and your team addressed it saying they were working on performance, but it seemingly has only gotten worse to the point that the plugin is practically unusable.
I am hoping you may have some steps to increase performance or advice on what we can do.
There are other applications on this server, but only interacting with Amelia causes spikes like this. Other websites fluctuate up and down are a usual amount.
This is very concerning that Amelia has such a performance on what is an otherwise powerful & stable server.
Thanks for reaching out to us. Just opened the page you've linked with the event list. The Event List is loaded and displayed properly each time I open the page, but let me investigate a bit more with developers.
Great to hear that it loaded for you and I appreciate you looking into it.
I ask you to keep in note all the details I shared with you. We have been experiencing constant complaints on websites with Amelia and noting that each is sucking up way more CPU/memory than ever expected to the point that the server crashes.
I just ran another test and the CPU went from 22% to 88% by simply opening the event list.
This has been extensively tested with my hosting platform and by myself and every detail points to Amelia causing excessive CPU spikes and memory issues.
Do note as well that this specifically became an issue when I updated the plugin. I was running old versions as far back as 6.7 - 7.0 for a while due to the many bugs found in newer versions. I recently tested & updated as things seemed stable but now my websites are practically unusable.
No classes will load in my event list at all on my website now.... hoping someone can help with this as this is a live business that now cannot make any bookings due to this plugins failure.
I've forwarded all the information to the developers. We've noticed that you don't have the latest version installed. Can you please update the plugin to the latest version? Some issues with events were fixed in the versions you are missing on your site. You might also want to back up your site before updating, as you have missed a couple of updates.
I downgraded to a previously stable version to test as it was working better before. This actually did somewhat decrease demand on the server, but we were still running into the same issues.
Due to the urgency I have now moved the website over to its own server.
Immediately upon opening Amelia the CPU spikes to 70+ %.
Amelia is using 70% of a powerful service with 4 GB Ram + 4 Cores on Cloudways. That is a crazy amount of resources demanded.
The site is currently propagating to use the new server IP, I will update the plugin again then but please note the differences in performance noticed.
Thanks for the information. After investigation, we have noticed that there are 16 events shortcodes on the same page, and each form is making its own API call. Additionally, there are over 500 events, most of which have multiple periods added. This is a lot of data to import to a single page, so in this case, high CPU usage is normal. We are constantly optimizing our code, but setups like this are not standard and almost impossible to optimize.
We've run this system for a long time without any issues, so it is strange for it to pop up all the sudden.
We need a way to make it easy to navigate between event categories (tags?) which your tool doesn't over natively which is not very user friendly. This makes it really difficult for a customer to find an event. As the studio has many different event types we can't just mix them altogether.
I figured that being in a tab they would not load until the tab is opened. Why do they load when they are not visible? Can this be avoided?
You can try loading on tab click as you mentioned, using an ID trigger like this:
Add these two parameters to every shortcode except the one that is initially shown (Summer Classes): trigger=TAB_ID_HERE and trigger_type=id. This way, they will load only when your customer clicks on the tab.
This has been already done for the "music-lessons" tab, so it will not trigger an API call until your customer clicks on that tab. You can apply this to the rest of the tabs/shortcodes, which should improve load time.
Hey Stefan, this sounds like a great solution but I am having trouble implementing it / getting it to work. I added the code in as you suggested but mine do not work.
The trigger has to be exactly the ID of the clicked element (li element on your page), here is all IDs that we have found on your first tab "Dance Programs":
Will forward this to the developers, for sure. So far, we haven't had this many use cases, therefore there wasn't any "need" for this kind of solution/workaround. But, I guess it would be beneficial, of course.
Should you have other questions, we are here to help.
Hello,
I am having continued issues with WP Amelia spiking CPU usage to 100%.
I am running the plugin & website on a server with significant resources but WP Amelia specifically seems to spike the CPU usage to 100% whenever a user attempts to load the event list.
This has been an issue for some time and your team addressed it saying they were working on performance, but it seemingly has only gotten worse to the point that the plugin is practically unusable.
I am hoping you may have some steps to increase performance or advice on what we can do.
Some further information from testing:
A single user accessing the website and navigating to Amelia causes the following spikes
RAM Usage
Went from 2.13 to 3.83 GB in use
CPU Usage
Went from 29% to 80&, often spiking to 100%
This is on a Cloudways Vultr HF server with
4 GB RAM, 2 Core CPU, 128 GB Storage, 3 TB Bandwidth
There are other applications on this server, but only interacting with Amelia causes spikes like this. Other websites fluctuate up and down are a usual amount.
This is very concerning that Amelia has such a performance on what is an otherwise powerful & stable server.
Hi Jacob,
Thanks for reaching out to us. Just opened the page you've linked with the event list. The Event List is loaded and displayed properly each time I open the page, but let me investigate a bit more with developers.
Will get back to you as soon as possible.
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hey Stefan,
Great to hear that it loaded for you and I appreciate you looking into it.
I ask you to keep in note all the details I shared with you. We have been experiencing constant complaints on websites with Amelia and noting that each is sucking up way more CPU/memory than ever expected to the point that the server crashes.
I just ran another test and the CPU went from 22% to 88% by simply opening the event list.
This has been extensively tested with my hosting platform and by myself and every detail points to Amelia causing excessive CPU spikes and memory issues.
Do note as well that this specifically became an issue when I updated the plugin. I was running old versions as far back as 6.7 - 7.0 for a while due to the many bugs found in newer versions. I recently tested & updated as things seemed stable but now my websites are practically unusable.
No classes will load in my event list at all on my website now.... hoping someone can help with this as this is a live business that now cannot make any bookings due to this plugins failure.
Hi Jacob,
I've forwarded all the information to the developers. We've noticed that you don't have the latest version installed. Can you please update the plugin to the latest version? Some issues with events were fixed in the versions you are missing on your site. You might also want to back up your site before updating, as you have missed a couple of updates.
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
I downgraded to a previously stable version to test as it was working better before. This actually did somewhat decrease demand on the server, but we were still running into the same issues.
Due to the urgency I have now moved the website over to its own server.
Immediately upon opening Amelia the CPU spikes to 70+ %.
Amelia is using 70% of a powerful service with 4 GB Ram + 4 Cores on Cloudways. That is a crazy amount of resources demanded.
The site is currently propagating to use the new server IP, I will update the plugin again then but please note the differences in performance noticed.
Attached files: Screenshot 2024-08-08 090135.png
Hi Jacob,
Thanks for the information. Please let me know when you update the plugin so we can summarize the use cases and find a possible solution.
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
The plugin is updated and waiting for your assistance, thank you.
Hi Jacob,
Thanks for the information. After investigation, we have noticed that there are 16 events shortcodes on the same page, and each form is making its own API call. Additionally, there are over 500 events, most of which have multiple periods added. This is a lot of data to import to a single page, so in this case, high CPU usage is normal. We are constantly optimizing our code, but setups like this are not standard and almost impossible to optimize.
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hey Stefan,
We've run this system for a long time without any issues, so it is strange for it to pop up all the sudden.
We need a way to make it easy to navigate between event categories (tags?) which your tool doesn't over natively which is not very user friendly. This makes it really difficult for a customer to find an event. As the studio has many different event types we can't just mix them altogether.
I figured that being in a tab they would not load until the tab is opened. Why do they load when they are not visible? Can this be avoided?
Or do you have any other recommendations?
HI Jacob,
You can try loading on tab click as you mentioned, using an ID trigger like this:
Add these two parameters to every shortcode except the one that is initially shown (Summer Classes): trigger=TAB_ID_HERE and trigger_type=id. This way, they will load only when your customer clicks on the tab.
This has been already done for the "music-lessons" tab, so it will not trigger an API call until your customer clicks on that tab. You can apply this to the rest of the tabs/shortcodes, which should improve load time.
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hey Stefan, this sounds like a great solution but I am having trouble implementing it / getting it to work. I added the code in as you suggested but mine do not work.
Your example:
[ameliaeventslistbooking tag='Music Lessons' trigger=music-lessons trigger_type=id]
Examples I put in:
[ameliaeventslistbooking tag='Bopping Babies' trigger=bopping-babies trigger_type=id]
[ameliaeventslistbooking tag='Tiny Classes' trigger=tiny-classes trigger_type=id]
[ameliaeventslistbooking tag='Mini Classes' trigger=mini-classes trigger_type=id]
Am I missing a step here? I had to revert my changes as nothing would display when I tried to open the tabs.
In your message you used underscores, but in your example you showed dashes. I tried bopping_babies and bopping-babies but neither works.
Your assistance is appreciated.
Hi Jacob,
The trigger has to be exactly the ID of the clicked element (li element on your page), here is all IDs that we have found on your first tab "Dance Programs":
bopping-babies-0-2 tiny-classes-2-4
mini-classes-4-6
kids-classes-6-9-
teen-classes-10-15
comps-crews
adult-classes
senior-classes
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Thank you Stefan. This seems like an excellent solution.
Perhaps it should maybe be incorporated by default to avoid performance issues with Amelia?
Looking forward to further performance improvements as well.
Hi Jacob,
Will forward this to the developers, for sure. So far, we haven't had this many use cases, therefore there wasn't any "need" for this kind of solution/workaround. But, I guess it would be beneficial, of course.
Should you have other questions, we are here to help.
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables