Jump to content

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

Performance Backend V403 Is Very Poor Rate Topic   - - - - -

 
  • ehenderichs
  • Advanced Member
  • Members
  • Join Date: 08-Oct 12
  • 104 posts

Posted 08 January 2014 - 10:05 PM #1

For a client we are performing an upgrade from v306 to v403. The webshop is running in VPS environment and the performance of the v306 backend is ok.

After the store import the performance of v403 is terrible. The backend is so slow that working with it is almost impossible.
  • login takes about 15 seconds
  • loading orders takes anywhere from 15 to 30 seconds
  • loading category and product pages takes 20+ seconds
Even the performance of the frontend is not that good.

I already contacted CS-Cart and they adviced to increase memory and execution timeout. This had no effect. Since communicating with CS-Cart takes forever I post the issue here.

Also disabled all unnecessary addons.

For our client the v403 is not good enough so any advice on increasing performance is welcome.

Thanks in advance.
The first cs-cart project for our new dutch company Sooned was a dutch erotic webshop called eely.nl.

 
  • dvsgr
  • Senior Member
  • Authorized Reseller
  • Join Date: 14-Apr 09
  • 1448 posts

Posted 08 January 2014 - 10:41 PM #2

Hi there

we have talked about this in another post, and one very important factor (in my case at least) was apache keep alive.

have you tried this?

Also if you could enable Lightspeed, it would be also very helpful. I saw a huge difference in performance. v 4 is much heavier as v306.

Fotis
Fotis Kourmadas
Cs-Cart Development - Cs-Cart Authorized Reseller 

 
  • ehenderichs
  • Advanced Member
  • Members
  • Join Date: 08-Oct 12
  • 104 posts

Posted 08 January 2014 - 11:04 PM #3

Thanks for the fast response. To be honest I am no expert on servers and server configuration.

I will pass this information to our hostprovider and let them do some tests.
The first cs-cart project for our new dutch company Sooned was a dutch erotic webshop called eely.nl.

 
  • Ausy
  • Advanced Member
  • Trial users
  • Join Date: 07-Mar 12
  • 56 posts

Posted 09 January 2014 - 12:56 AM #4

Check settings in config.local.php and make sure they are all set to the standard settings for Tweak and Cache Backend. you may have some setting from 3.06 that doesn't work well for 4.03.

On my install this makes no sense but I had very slow admin with 'gzip_css_js' set to true. As soon as I set it to false the backend works much faster.

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

Posted 09 January 2014 - 05:14 AM #5

Since your issue is across all objects, I'd suggest that you optimize all the tables in your database. An import does a lot of insert/deletes that can cause "holes" in the DB which makes it much slower for future inserts.

Also check your PHP error_log file. You might be using an addon that is using deprecated features of PHP or similar. The error_log might be a good indicator of fundamental things that might be wrong.

Do you know what PHP/mySQL versions you are running? Any idea how much of your VPS memory is allocated to mySQL? It should be at least 25% and optimally more if you can afford it.

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.


 
  • Scott_C
  • Senior Member
  • Members
  • Join Date: 23-Jun 11
  • 452 posts

Posted 09 January 2014 - 09:07 AM #6

The new backend load times are slow. We are running a live site of 2.2.4 all cached/tuned etc, and our dev site of 4.0.3 is FASTER in the frontend than our live site. The Admin of V4, as you mention, is very slow.

 
  • Scott_C
  • Senior Member
  • Members
  • Join Date: 23-Jun 11
  • 452 posts

Posted 09 January 2014 - 09:09 AM #7

I wouldnt just enable "keep alive" for the benefit of the Admin, without examining the server specs first. he could make things worse, and perhaps impact the performance of the (more important) frontend, live store.

Hi there

we have talked about this in another post, and one very important factor (in my case at least) was apache keep alive.

have you tried this?

Also if you could enable Lightspeed, it would be also very helpful. I saw a huge difference in performance. v 4 is much heavier as v306.

Fotis



 
  • dvsgr
  • Senior Member
  • Authorized Reseller
  • Join Date: 14-Apr 09
  • 1448 posts

Posted 09 January 2014 - 09:18 AM #8

I wouldnt just enable "keep alive" for the benefit of the Admin, without examining the server specs first. he could make things worse, and perhaps impact the performance of the (more important) frontend, live store.


Well Scott_c

all the times I have done this, result was nothing more than speed in both sides.

This comes also from CS-Cart's "mouth" during speed issues with some new version Stores.

And in my opinion (as I said before) this is a trial and error procedure. You can never tell for sure.

Fotis
Fotis Kourmadas
Cs-Cart Development - Cs-Cart Authorized Reseller 

 
  • ehenderichs
  • Advanced Member
  • Members
  • Join Date: 08-Oct 12
  • 104 posts

Posted 09 January 2014 - 09:28 AM #9

VPS is running php 5.3.27 en mysql 5.5.31. Not sure how much memory is allocated to mySQL. Will inform hosting provider.
The first cs-cart project for our new dutch company Sooned was a dutch erotic webshop called eely.nl.

 
  • ehenderichs
  • Advanced Member
  • Members
  • Join Date: 08-Oct 12
  • 104 posts

Posted 09 January 2014 - 10:24 AM #10

The performance issues are not constant. After loggin almost every page is slow. But once all pages have been accessed, performance is more than oke. Loadtime between 1 and 5 seconds.

After a x amount of time or actions (???) the performance drops and backend is painfully slow again. This seems to be a continuous cycle.
The first cs-cart project for our new dutch company Sooned was a dutch erotic webshop called eely.nl.

 
  • brandonvd
  • is Super Awesome
  • Members
  • Join Date: 19-Dec 06
  • 2633 posts

Posted 09 January 2014 - 03:46 PM #11

Version 4.x is kind of funny. I've had mixed results with the speed. I've always been happy with ServInt and manage like 14 different ServInt servers. I had a client that we upgraded from 1.3.x to 4.0.3 and the speed was horrible. It was a major project and the client wasn't at all happy with the speed. I had guys optimize the server and worked with ServInt to try and speed things up, but nothing helped. No matter what we did, it wasn't even close to the 1.3 site.

Finally I decided to purchase a server with the client's host that they were already on. That host is Interserver. I moved the 4.x site over to this new dedicated server and it just flew. I have no clue what the difference was, but it made a huge difference.

We went from 10 - 15 seconds for the homepage to load and 6 - 8 seconds to switch between pages all the way down to 3 seconds for the homepage and about 1 second between pages. The difference was amazing.

I don't know if this would be true with all installs and all servers, but changing hosts made a huge difference for this site.

Anyways, I just figured I'd share my experiences. I know it doesn't solve anything, but maybe it will be some help.

Thanks,

Brandon

 
  • dvsgr
  • Senior Member
  • Authorized Reseller
  • Join Date: 14-Apr 09
  • 1448 posts

Posted 09 January 2014 - 10:40 PM #12

Hi Brandonvd

my expirience too. I have this store on a normal VPS (its a store with more than 7 stores and over 24.000 products shared with almost 2000 categories and more than 20 heavy custom addons) and time between pages or categories etc is not more than 2 sec, (most cases is 1 sec).

It was on a dell R720 with 128GB RAM and t was slow! This Vps has no more than 1536MB RAM and its almost three times faster than before. Server configuration is very important.
Fotis Kourmadas
Cs-Cart Development - Cs-Cart Authorized Reseller 

 
  • Scott_C
  • Senior Member
  • Members
  • Join Date: 23-Jun 11
  • 452 posts

Posted 10 January 2014 - 12:26 AM #13

Hi Fotis, if the server doesn't have enough memory, adding Keep Alive can be detrimental to performance. Dont get me wrong, I think it is a good suggestion, just one I would apply with caution. Certainly I wouldn't do it by "trial and error" as you say, on a live server. No offense intended.

Well Scott_c

all the times I have done this, result was nothing more than speed in both sides.

This comes also from CS-Cart's "mouth" during speed issues with some new version Stores.

And in my opinion (as I said before) this is a trial and error procedure. You can never tell for sure.

Fotis



 
  • dvsgr
  • Senior Member
  • Authorized Reseller
  • Join Date: 14-Apr 09
  • 1448 posts

Posted 10 January 2014 - 05:46 AM #14

None taken .

Dont worry. Just tryin to help.

As I wrote above Rack Server VS VPS (both keep ALive) 0-1. I know its crazy, but server config is the crucial Factor in this example.

Fotis

Hi Fotis, if the server doesn't have enough memory, adding Keep Alive can be detrimental to performance. Dont get me wrong, I think it is a good suggestion, just one I would apply with caution. Certainly I wouldn't do it by "trial and error" as you say, on a live server. No offense intended.


Fotis Kourmadas
Cs-Cart Development - Cs-Cart Authorized Reseller 

 
  • ehenderichs
  • Advanced Member
  • Members
  • Join Date: 08-Oct 12
  • 104 posts

Posted 11 January 2014 - 11:37 AM #15

This is the answer from CS-Cart after they examined the server settings:

It looks like there is a cache issue on your server when it is cleared from time to time. I can see the following modules enabled on your server: mod_file_cache, mod_cache, mod_cache_disk, mod_cache_socache, mod_socache_shmcb, mod_socache_dbm, mod_socache_memcache. Please try disabling them and let me know if this helps to resolve the problem. CS-Cart has its own caching system and we usually do not recommend to use any PHP accelerators and similar modules.


I communicated this to our host provider. Did not receive any feedback from them so I don't know the results yet. However all information surrounding this topic could be helpfull to others.
The first cs-cart project for our new dutch company Sooned was a dutch erotic webshop called eely.nl.

 
  • ehenderichs
  • Advanced Member
  • Members
  • Join Date: 08-Oct 12
  • 104 posts

Posted 24 January 2014 - 12:02 PM #16

This is the answer from CS-Cart after they examined the server settings:



I communicated this to our host provider. Did not receive any feedback from them so I don't know the results yet. However all information surrounding this topic could be helpfull to others.


This had not the desired effect. Performance issue stil present. CS-Cart helpdesk very slow and don't seem very keen on solving this.
The first cs-cart project for our new dutch company Sooned was a dutch erotic webshop called eely.nl.

 
  • ehenderichs
  • Advanced Member
  • Members
  • Join Date: 08-Oct 12
  • 104 posts

Posted 28 January 2014 - 05:58 PM #17

Finally we made some progress with this issue. CS-Cart replied: they added an additional index to the cscart_supplier_links table.
This seems to be an good improvement on the overall performance of the backend.
The first cs-cart project for our new dutch company Sooned was a dutch erotic webshop called eely.nl.

 

Posted 17 May 2014 - 11:01 PM #18

I'm on 4.1.4 and the backend is very slow sometimes...excruciatingly so. I just timed going from the admin home page (dashboard) to the products page and it took 26 seconds. Seriously?

On one or two occasions I might as well have gone off and made a fresh pot of coffee.

I have run the Optimize database command in the backend and it hasn't changed anything. I only have 400 or so SKU's so it's not like I have a huge database of products anyway. It's much slower in some things than version 3.0.6. which is disappointing.

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

Posted 17 May 2014 - 11:08 PM #19

I think you will find that the DB is blocking. Many times this can be resolved by increasing your system memory and/or changing the percentage allocated to mySQL. The more of mySQL you can get running in memory the better. Work with your host to identify the issue and find a system solution.

But this has been a common complaint here.

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.


 

Posted 06 July 2014 - 08:07 AM #20

May I know if I ran CS Cart on a shared server, does that mean i will have slow loading time? Do more products loaded into the shopping cart , the slower it runs?