Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Site Displaying Pages Extremely Slow Rate Topic   - - - - -

 
  • Vman
  • Newbie
  • Members
  • Join Date: 12-Aug 17
  • 5 posts

Posted 27 June 2018 - 08:28 PM #1

We recently migrated our Cs Cart Multivendor to a new host. and did a complete upgrade to the latest version of MVE ( ver 4.8.1) we also did a complete update of our main template from Energothemes where they notified us of the same speed problems. The suggestions from the current host as well as Energo is to have the server optimized among other things. Is there any recommendations that we can implement to have the site back up to optimal.
We are currently on a VPS server with quad core processor, 8gb ram and 120 ssd storage. using cpanel

The following is from our current host Fastcomet
We have made the requested integration of the xVarnish Caching Service, which you can find via the Cpanel > Cachewall to manage at any point in time. The other integrations are as follows.

> Database Optimization
> PHP 7.0 & Zend OPCache
> Memcache/Memcached
> Gzip Compression
> Tweaks to the PHP & MySQL Configuration

At the moment the overall internal links have been fully resolved and are loading very quickly, however the issue being comes down to the 'initial' request to the application made, as each time it is attempting to generation up to 300 access requests before resolving the frontend content.

> https://onecsn.com/

Unfortunately this is part of the configuration of the application as there isn't much that we can do to resolve the matter, due to the fact that we are unaware as to how it has been developed, as it may have either stalled queries due to wrong pathing or old cached content of some of the internal services.

​Any suggestions guys? we would like this to be resolved as soon as possible. please let us know.

 
 

Attached Files



 
  • Flow
  • Super Duper and Amazingly Sexy Senior
  • Members
  • Join Date: 13-Oct 10
  • 2146 posts

Posted 28 June 2018 - 12:00 PM #2

Your problem really seems to be the time to first byte. Are you sure cs-carts caching is turned on? It feels like the site is being made on the fly and caching is turned off.


When life hands you lemons, bring on the Tequila baby!


 
  • The Tool
  • Been Here Way Too Long Member
  • Members
  • Join Date: 30-Mar 07
  • 3654 posts

Posted 28 June 2018 - 05:22 PM #3

Home page is huge at over 4MB.  You have images being scaled down to less than a 1/4 of their original size.  I would start with images before messing with server config.



 
  • Flow
  • Super Duper and Amazingly Sexy Senior
  • Members
  • Join Date: 13-Oct 10
  • 2146 posts

Posted 29 June 2018 - 05:36 AM #4

Home page is huge at over 4MB.  You have images being scaled down to less than a 1/4 of their original size.  I would start with images before messing with server config.

 

I don't think that's it though. If you look at the waterfall, you see everything loads really fast once the page has been generated: https://prnt.sc/k0o2pt


When life hands you lemons, bring on the Tequila baby!


 
  • Vman
  • Newbie
  • Members
  • Join Date: 12-Aug 17
  • 5 posts

Posted 29 June 2018 - 02:01 PM #5

Thanks for the response guys,

"Flow" i think you're correct. The site worked well before the update. on an aws server with 1 cpu and just 2gb ram with 20gb storage. It seems on this new server things aren't quite optimized. all of the static webpages within the site displays very very fast. The thing is i'm not proficient in this  server setup scenario I'm just looking for a solution to get it up and running correctly. If there was a way to simple keep just all of our static pages and system setups like shipping rates and payment options including our few vendors  and just somehow load a fresh copy of MVE  iam willing. Or if there is some developer that can honestly handle the problem I would appreciate any suggestions at this point. 



 
  • Flow
  • Super Duper and Amazingly Sexy Senior
  • Members
  • Join Date: 13-Oct 10
  • 2146 posts

Posted 30 June 2018 - 05:42 AM #6

I just checked your website again, and it seems to be running well now. Just wondering, if you found the issue, what it was?


When life hands you lemons, bring on the Tequila baby!


 

Posted 03 July 2018 - 08:22 AM #7

Hi Vman!

 

Hope you're doing well.

 

Though your website load is fine, that's what happened when I accepted the cookie note. Well, it happened once, but still...

 

Attached File  image (1).png   110.19KB   2 downloads

 

You still have a potential to improve the load speed.

 

➜  ~ curl -o /dev/null -w "Connect: %{time_connect} TTFB: %{time_starttransfer} Total time: %{time_total} \n" https://onecsn.com-sL
Connect: 0.092251 TTFB: 3.069905 Total time: 5.257012
 
Target at least TTFB 0.900. That's an ecommerce industry average.
 
Keep in touch! We're always here to assist.

AWS Cloud hosting for CS-Cart and Multi-Vendor

by Simtech Development - CS-Cart certified hosting provider

free installation & migration | free 24/7 server monitoring | free daily backups | free SSL | and more...


 
  • Vman
  • Newbie
  • Members
  • Join Date: 12-Aug 17
  • 5 posts

Posted 03 July 2018 - 05:06 PM #8

I just checked your website again, and it seems to be running well now. Just wondering, if you found the issue, what it was?

Hi guys wanted to say thanks to all for the support and suggestions. So here is the latest update. The site is currently resolving much faster after some tweaks on the server end primarily. it looks like there is still  some room for growth. we aren't where we would like to be yet.

The following was done for those who may face the same problems:

Suggested by Cs Cart support;

 

Please contact your server administrator and ask them to increase the Master values of the following PHP settings on the server:

memory_limit to 1024
max_execution_time to 3600
mysql.connect_timeout to 300
default_socket_timeout to 300
upload_max_filesize = 256M
post_max_size = 60M local and Master value

.The following installed on current server

• exif PHP extension should be installed. Starting with version 4.6.3, that extension will be used to make sure that the thumbnails generated from images shot in portrait mode will be rotated correctly.
• cURL support should be enabled. You need this PHP extension to ensure support of secure connections, some payment systems such as PayPal and Authorize.Net, and real-time shipping rate calculators for FedEx and DHL/Airborne.

 

.Also installed imagick

 

.MySQL 5.7

​.PHP 7.2 activated

increase settings of following,
set join_buffer_size
set sort_buffer_size
set query_cache_limit
set query_cache_size

. Try using the mysqltuner script to increase the database performance ( http://mysqltuner.com/ ). It is a script written in Perl that will give recommendations for increasing MySQL performance and stability.

​ we are still noticing  delays  but not in the same region of time as before. We were also able to identify some addons that was causing some erratic behaviour with the latest version of MVE.

 

​As we continue to tweak and make adjustments we will update this thread.

If there is any other suggestions or offers to take on as a quick project please don't hesitate to contact us.
 



 
  • Flow
  • Super Duper and Amazingly Sexy Senior
  • Members
  • Join Date: 13-Oct 10
  • 2146 posts

Posted 04 July 2018 - 05:41 AM #9

Thanks for the update. Glad things are running better :)


When life hands you lemons, bring on the Tequila baby!