Jump to content

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

Cs-Cart Performance Rate Topic   * * * * * 1 votes

 
  • hairsmize
  • Newbie
  • Members
  • Join Date: 25-Sep 13
  • 10 posts

Posted 19 February 2014 - 04:22 PM #1

We've had our ServInt folks take a look at our site to see why there's such a lag to the first byte. And they are now pointing their finger at CS-Cart... can someone help us?

-------------------------- This is what they came back with -------------------------

My reports show:

time_namelookup: 0.569
time_connect: 0.572
time_appconnect: 0.000
time_pretransfer: 0.572
time_redirect: 0.000
time_starttransfer: 2.099
----------
time_total: 2.144

starttransfer is the Time to First Byte as you've already determined. The causes for this can range from memory leaks, poor coding, slow queries, or lack or resources. I've tried optimizing MySQL using mysqltuner.pl, but it didn't help, and the memory and lack of resources are certainly not a problem on SolidFire.

This leads me to believe that something in your site's configuration or coding is causing a delay when the server goes to retrieve all of the resources necessary to send to the visitor.

Most of the time, it's a plugin or addon that is poorly coded and causes the server to generate a cache of sorts for every visit. Caching problems like this are common in my experience with CMS software. What happens if it's working properly is that the cached files are generated upon the first visit, then those same files are then served to all other visitors after that initial request. The initial request can be slow because it's doing more than collecting, it's creating the cache files. What I suggest checking on your end is whether those cache files are being generated each and every time someone visits the site, instead of already existing files being served.

From my research, this seems to be the case:

root@server [/home/hairsmiz/public_html/var/cache]# find ./* -type f -newermt "10 seconds ago" -exec ls -alht {} \;-rw-rw-rw- 1 nobody nobody 123K Feb 19 09:37 ./misc/statics/js/tygh/scripts-9dc0b275302b6592ecdf5a3967686ecb1392806559.js.gz
-rw-rw-rw- 1 nobody nobody 51K Feb 19 09:37 ./misc/statics/design/themes/basic/css/standalone.da1a42e4072ac28d1f939a816da4c1841392806559.css.gz
-rw-rw-rw- 1 nobody nobody 273K Feb 19 09:37 ./misc/1/theme_editor/standalone.da1a42e4072ac28d1f939a816da4c1841392806559.css

The above shows that within the /var/cache folder every time I visit the page, I get the following files generated instead of it serving me the already existing files.

You will need to contact the software developer at this point and report my findings. They should be able to make sure the caching plugin or feature in the software is configured properly or suggest a way to fix it.

------
xxxxxxxxx
ServInt MST

We exhausted all options... tried different tweaks and modules... and the easiest thing was to throw more money at it... upgraded out VPS package. Above findings are not very meaningful to us with our limited knowledge.. can someone translate it for us? Our site is at http://www.hairsmize.com (sitting behind cloudflare)

 
  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 4551 posts

Posted 19 February 2014 - 06:23 PM #2

Im having the exact same problem. V3.0.6 my host sorted it last year and it went very well, but had a couple of server issues a few weeks ago after that the speed dropped and lagged , upgraded the VPs to more spec and although certain peak traffic problems have gone the initial lag is still there. They are looking again as they did get rid of this problem last year but since it appeared again it hasnt been really fixed. The server itself is well over spec for what is needed so the cart or mods cant be ruled out yet.

I will post here if they answer anything useful

John

Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2


 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11302 posts

Posted 19 February 2014 - 07:20 PM #3

Hairsmize. Check you setting for "automatically monitor cache creation" in your themes area. Those files should be created once.

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • hairsmize
  • Newbie
  • Members
  • Join Date: 25-Sep 13
  • 10 posts

Posted 19 February 2014 - 08:15 PM #4

Hairsmize. Check you setting for "automatically monitor cache creation" in your themes area. Those files should be created once.


Can you help me understand what this does? I can't seem to find this setting in the themes area. What do you mean by "Those files should be created once"?

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11302 posts

Posted 19 February 2014 - 09:15 PM #5

Sorry... Working from memory and it's not so good!
It's on the template editor page. Left side, Rebuild cache automaticall on/off. Should be off.

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • hairsmize
  • Newbie
  • Members
  • Join Date: 25-Sep 13
  • 10 posts

Posted 19 February 2014 - 11:31 PM #6

Sorry... Working from memory and it's not so good!
It's on the template editor page. Left side, Rebuild cache automaticall on/off. Should be off.


Yes.. I've disabled this. But it turns back on occasionally. Somewhat annoying.

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11302 posts

Posted 19 February 2014 - 11:49 PM #7

And that is a bug. No one from cs-cart has identified how to fix it yet. Not sure if it's fixed in the next release or remains....

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • zeero6
  • Senior Member
  • Members
  • Join Date: 25-Jan 07
  • 649 posts

Posted 20 February 2014 - 02:23 PM #8

tbirnseth
The bug fix is here on page 2

http://forum.cs-cart...itself-on-v402/

Version 4.9.3 SP1


 
  • hairsmize
  • Newbie
  • Members
  • Join Date: 25-Sep 13
  • 10 posts

Posted 20 February 2014 - 05:39 PM #9

Sorry... Working from memory and it's not so good!
It's on the template editor page. Left side, Rebuild cache automaticall on/off. Should be off.


Can you think of anything else that may slow our TTFB numbers? Our databases are all set to MYISAM on mysql 5.1. Do you think that can the cause?

 
  • clips
  • Aged Resident Loon
  • Members
  • Join Date: 14-Jan 07
  • 1650 posts

Posted 20 February 2014 - 10:55 PM #10

It may depend on which version of 4 you are on. I thought there was someone who was saying 4.1.? does better than 4.0.?
Regards,
Jim

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11302 posts

Posted 21 February 2014 - 02:24 AM #11

There are about 40,000 factors that could result in a performance issue on any given site.
Too broad a question to answer.

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 4551 posts

Posted 21 February 2014 - 05:28 PM #12

about 40,000 factors that could result in a performance issue


Tony, Ive told you a million times do not exagerrate :grin:

Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2


 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11302 posts

Posted 21 February 2014 - 10:32 PM #13

:-)
And I thought I was pulling my hair out (oops, none left)!

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.