Results 1 to 5 of 5

Thread: MySql CPU Overload

  1. #1
    tugacari is offline Junior Member
    Join Date
    May 2008
    Posts
    4

    Default MySql CPU Overload

    Dears,

    I bought vshare a couple of months ago and I'm very happy with it, I already have 500 videos and 800 users

    Although, since a couple of days ago, I'm having an issue with mysql consuming most part of cpu resources. Is this a known bug ?

    I deactivated all other scripts that use mysql, but the issue continues and site is running slow.
    I'm ussing vshare on a dedicated server with 2gb or ram, intel 2.4 and 100 Mb upload, so I guess that I'm not running low on resources.

    I would like to get some advice on the best mysql configuration, and, if possible, to have a vshare employee looking at in on the server, of course that I'm willing to pay for it.

    Please let me know if someone from vshare can do it.

    Regards

    Tugacari

  2. #2
    hostonnet is offline Super Moderator
    Join Date
    Sep 2007
    Posts
    891

    Default Re: MySql CPU Overload

    When site get more traffic, MySQL usage increase it is normal for dynamic web sites.

    You can login and check MySQL query with

    show processlist

    command on MySQL prompt to see sql commands mysql server runs.

    Once mysql is loaded, if you disable other scripts, it take some time to become normal, better stop mysql, wait for load become normal, then start it. Now run only vshare site, so you will be able to track MySQL usage.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    install@hostonnet.com

  3. #3
    RAMMSTEIN is offline Senior Member
    Join Date
    Feb 2008
    Location
    Greece
    Posts
    242

    Default Re: MySql CPU Overload

    you have t delete all data that you have at guest_info table.
    To achieve that you have to enter from your server. then you have to make an optimization to you database,

    I have also a site that has the same problems. I think next version will deactivate those issues,

  4. #4
    RAMMSTEIN is offline Senior Member
    Join Date
    Feb 2008
    Location
    Greece
    Posts
    242

    Default Re: MySql CPU Overload

    edit "\include\smarty\libs\Smarty.class.php"

  5. #5
    touchsaver is offline Junior Member
    Join Date
    Dec 2007
    Posts
    25

    Default Re: MySql CPU Overload

    what line need to be modified?


    edit "\include\smarty\libs\Smarty.class.php" :

Similar Threads

  1. MySQL server has gone away
    By dotcom in forum Installation Support
    Replies: 4
    Last Post: 06-05-2008, 10:40 AM
  2. Question about MySQL query
    By tnuriel in forum General Discussions
    Replies: 1
    Last Post: 04-19-2008, 05:37 AM
  3. MySQL server has gone away
    By vatsan in forum Installation Support
    Replies: 1
    Last Post: 04-17-2008, 05:38 AM
  4. Anyone Know How to Add Indexes to MySQL Queries?
    By tnuriel in forum General Discussions
    Replies: 3
    Last Post: 03-13-2008, 12:40 AM
  5. MySQL server has gone away
    By cruise in forum Fixed Bugs
    Replies: 11
    Last Post: 09-27-2007, 08:28 PM

Bookmarks

Posting Permissions

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