Results 1 to 10 of 12

Hybrid View

  1. #1
    Join Date
    Dec 2012
    Location
    Australia
    Posts
    8
    Plugin Contributions
    0

    Default Server resources - hosting problems - MySQL

    Hello,

    I am a host and a client using zen-cart is causing ongoing issues with very heavy server resource usage. It seems to be heavily MySQL based and causes a lot of sleeping processes on the server. Eventually this causes the server load to rise unacceptably.

    I've found the version number in the database as 1.39g. This looks to be considerably older than the current version available for download.

    Can anyone here advise if an upgrade will likely bring any major improvements to this issue.
    I have noticed that the script also saves many many thousands of files in the cache folders, which consumes vast amounts of disk space causing my client problems. This seems disproportionate to the number of products on the store (approx 2000). I read that it is possible to change to a database caching system instead, but frankly given the existing MySQL issues, this does not seem like it would be helpful here.

    I'd appreciate any advice on whether an upgrade is the path to take, or any other insights on configuration issues that may assist.

    Thanks,
    Kevin Martin
    GM-Innovations.com

  2. #2
    Join Date
    Dec 2011
    Location
    Wisconsin, USA
    Posts
    674
    Plugin Contributions
    21

    Default Re: Server resources - hosting problems - MySQL

    If the cache folder is filling up there is any issue with the cart, upgrading is an absolute must for security but isn't as simple as it may look, nor a fix for this problem.
    Both of these items I would recommend speaking with a developer.
    Can you send a copy of one of the recent cache files?

  3. #3
    Join Date
    Dec 2012
    Location
    Australia
    Posts
    8
    Plugin Contributions
    0

    Default Re: Server resources - hosting problems - MySQL

    Quote Originally Posted by bislewl View Post
    If the cache folder is filling up there is any issue with the cart, upgrading is an absolute must for security but isn't as simple as it may look, nor a fix for this problem.
    Both of these items I would recommend speaking with a developer.
    Can you send a copy of one of the recent cache files?
    Thanks.

    Yes, here is the full contents of a cache file from today:

    File name/location:
    www/store/cache/ssu/products/9937_en*

    File contents:
    2-48-carat-pear-shaped-unheated-blood-red-ruby-from-mozambique-p-9937

    Does this mean anything interesting or useful?

    As far as gettign a developer on board, that would be a decision for the site owner, my client. I'll draw his attention to this thread.

    Thanks,
    Kevin

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: Server resources - hosting problems - MySQL

    While there may be issues with the single installation of zencart you refer to, we have 53 installations of zencart on one server - and have no problems.

    Is your server up to the task of eCommerce? If not, maybe you should advise your client to host where servers have the capacity to handle these platforms.
    20 years a Zencart User

  5. #5
    Join Date
    Dec 2012
    Location
    Australia
    Posts
    8
    Plugin Contributions
    0

    Default Re: Server resources - hosting problems - MySQL

    To schoolboy,

    Thanks for your advice but I am not new to this (hosting) and am very confident the server is more than powerful enough. We host sites on various mainstream ecommerce platforms, across numerous servers, but this is the only zencart issue that has arisen, so I feel quite sure it is a site specific issue.

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Server resources - hosting problems - MySQL

    The /ssu is not part of Zen Cart but I believe there is an SEO/rewrite add on that uses it ...

    You might check with your client on if they are using something for that ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Dec 2011
    Location
    Wisconsin, USA
    Posts
    674
    Plugin Contributions
    21

    Default Re: Server resources - hosting problems - MySQL

    can you send the contents of one of the files in the www/store/cache/
    most recent would be most helpful.

  8. #8
    Join Date
    Dec 2012
    Location
    Australia
    Posts
    8
    Plugin Contributions
    0

    Default Re: Server resources - hosting problems - MySQL

    Thanks again, bislewl. There are no files directly in the cache folder. Only the subfolder ssu which appears to contain the large number of files/folders.

    -rw-r--r-- 1 starruby starruby 1104 Apr 29 2010 .htaccess
    -rw-r--r-- 1 starruby starruby 1511 May 6 2005 index.php
    drwxr-xr-x 6 nobody nobody 4096 Nov 17 19:35 ssu/

    Does this provide any clues?

    Thanks,
    Kevin
    Last edited by kevmartin; 3 Dec 2012 at 02:14 AM.

  9. #9
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Server resources - hosting problems - MySQL

    I will reiterate what's been given for feedback:
    1. The /cache/ssu/ folder is used by an addon, as described. Perhaps it is malfunctioning either by not doing any garbage collection or not re-using components it has cached. Either way, the first thing I'd suggest is disabling that addon. Of course that will cause the store's URLs to change, which may have SEO impact, so should be a temporary measure to simply aid in diagnosing ie: narrowing the pain symptoms to just that addon's effects.
    Periodically purging that ssu cache might be smart, but you might want to read up on what the implications of that may be. I'm not familiar with that addon's detailed inner workings.

    2. Query Cache will reduce the number of "repeat" queries, simply by adding an internal cache of results of repeat query calls. If the MySQL server isn't already caching intelligently then this application-layer caching will help improve speed somewhat.

    3. I will add that these FAQ articles, and the links therein, are valuable reads:
    http://www.zen-cart.com/content.php?...eed-up-my-site
    http://www.zen-cart.com/content.php?...er-tuning-tips
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #10
    Join Date
    Dec 2012
    Location
    Australia
    Posts
    8
    Plugin Contributions
    0

    Default Re: Server resources - hosting problems - MySQL

    Thanks for your suggestions everyone. My client is going to contact the developer of the SSU plugin with whom he has had previous contact, and see if there is an issue with it or if it can be optimised/updated. Failing this, the articles in the previous reply give some very worthwhile specific suggestions for configuration and selective feature disabling that could be useful. And the Query Cache sounds hopeful too.

    We will see where it all leads us.

    Thanks.

 

 

Similar Threads

  1. v139a MySQL problems - moving db files from crashed server to another
    By olgaki in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 24 Feb 2012, 07:39 PM
  2. Hosting company says my site uses too much resources
    By dabone in forum General Questions
    Replies: 12
    Last Post: 27 Sep 2009, 05:18 PM
  3. Replies: 26
    Last Post: 19 Jan 2008, 11:05 AM
  4. Problems during hosting server move
    By maggiesmom1 in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 25 Jun 2007, 01:27 PM
  5. Problems during hosting server move
    By maggiesmom1 in forum General Questions
    Replies: 0
    Last Post: 26 Mar 2007, 11:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg