Performance Issue On Version 3.8.9 - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Performance Issue On Version 3.8.9

Laurent

Laurent

SP Page Builder 2 years ago

Hi,

I have some performance problems with sp page builder version 3.8.9 on many websites.

Even If I'm using the front-end or the backend, when I edit and save a blank page or a page with few blocs, save process is very quick.

But when some blocs are on the page, when I click on SAVE, I have to wait 10 second or more to get the confirmation message. Same problem when I click on CLOSE button, the page is closed after many seconds.

Any idea or suggestions about that?

Thanks L.

0
17 Answers
Laurent
Laurent
Accepted Answer
2 years ago #113130

solution found : apache mod_security was causing this issue. I have disabled mod_security and works fine now. from your side, is there any workaround to avoid this problem instead of completely removing apache mod_security ?

0
Laurent
Laurent
Accepted Answer
2 years ago #111910
0
Laurent
Laurent
Accepted Answer
2 years ago #112250

any idea?

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #112432

Hi there,

I appreciate you reaching out. I sincerely apologize for this oversight. Will you please provide me the Joomla administrator access to check the issue? I will check & get back to you soon. 

-Thanks

0
Laurent
Laurent
Accepted Answer
2 years ago #112456

see Hidden Content area. test for instance on home page, you will see.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #112567

I just checked your site on my localhost and testing server. Both side works fine. Please check now.

I think your server blocked to load the resources properly.

Thanks

0
Laurent
Laurent
Accepted Answer
2 years ago #112728

OK I see. which are blocked from your point of view ?

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #112729

Page Builder scripts.

0
Laurent
Laurent
Accepted Answer
2 years ago #112730

Ok I check this out with my host provider thanks

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #112731

You are most welcome & Thanks

0
Laurent
Laurent
Accepted Answer
2 years ago #112969

@Toufiq : last question : do you know where I can check logs/errors to have a look on this issue?

0
Laurent
Laurent
Accepted Answer
2 years ago #113046

@Toufiq : I had a call with current host provider and they told me this.

could you have a look on your side?

I don't know how joomla works at this level but nothing happens when I click the button immediately. I made a "strace" of the PHP process which is launched and when I click on the button, no PHP action is launched for at least 15 seconds.

When I click on the button, in the web logs, nothing happens either and I get a "POST" request 15 seconds later:

mywebsite.com - - 10.20.0.20 - 56570 - - [13/Apr/2023:09:13:45 +0200] "POST /index.php?option=com_sppagebuilder&task=page.apply&pageId=7 HTTP/2.0" 200 162 225068 279 443 "https://mywebsite.com/edit/7.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36" req_time=30.654 upstr=109.234.164.140:4430 up_co_time=0.003 up_resp_time=30.654 o2s-chl=297c668fcd0aa9385df78c1446766877 wl=0

For me, there is something on the website side that causes this to produce a particular latency but it is not coming from the server. The server does not receive any PHP request/processing for 15 seconds.

It could have been a PHP processing delay when pressing the button. If the problem came from the server, I will have logs in the strace immediately after pressing the button and above all, I will have a trace in the web logs immediately after pressing the button which is not the case .

0
Laurent
Laurent
Accepted Answer
2 years ago #113047

I did 2 another tests :

  • when the page is blank or with small content (text, images) => save and close actions are quick
  • when the page is bigger with some sections, columns, addons => save and close actions takes a lot of time

So this could be an issue from SP page builder and not from the server I think. Because If the problem was coming from the server, I will have the issue all the time, even if the page is blank or not.

could you have a look on your side please? this is a bug issue for us because every page takes 30 secondes to save...

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #113053

I did a test your site which is hosted on my hosting and it works fine. Thanks

https://drive.google.com/file/d/1n0VztrFwoGlSxJimCdM5FHSCeD4CK1ZB/view

0
Laurent
Laurent
Accepted Answer
2 years ago #113064

ok but what about this feedback from my host provider ?

I don't know how joomla works at this level but nothing happens when I click the button immediately. I made a "strace" of the PHP process which is launched and when I click on the button, no PHP action is launched for at least 15 seconds.

When I click on the button, in the web logs, nothing happens either and I get a "POST" request 15 seconds later:

mywebsite.com - - 10.20.0.20 - 56570 - - [13/Apr/2023:09:13:45 +0200] "POST /index.php?option=com_sppagebuilder&task=page.apply&pageId=7 HTTP/2.0" 200 162 225068 279 443 "https://mywebsite.com/edit/7.html" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36" req_time=30.654 upstr=109.234.164.140:4430 up_co_time=0.003 up_resp_time=30.654 o2s-chl=297c668fcd0aa9385df78c1446766877 wl=0

For me, there is something on the website side that causes this to produce a particular latency but it is not coming from the server. The server does not receive any PHP request/processing for 15 seconds.

It could have been a PHP processing delay when pressing the button. If the problem came from the server, I will have logs in the strace immediately after pressing the button and above all, I will have a trace in the web logs immediately after pressing the button which is not the case .

0
Laurent
Laurent
Accepted Answer
2 years ago #113192

another info after some investigations :

the header that is returned by SP page builder is so big that mod_security takes too long to be parsed which causes latency.

So I think you have to take a look on that to improve it, could be helpful for many people.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #113391

Thanks for your feedback. We will check this issue again. Thanks

0