Results 1 to 7 of 7

Thread: help!

  1. #1
    Join Date
    Sep 2008
    Posts
    26

    Default help!

    Hi i'm having a strange problem. My site is so slow, if i watch it as anonymous, but if i log in as a user, everything is fast, and ok, why this can be? The videoplay stream speed is okay, just the only thing is slow is when i click on a video, and the page drives me to the video_watch page. With a user account it's fine , with anonymous it's slow...

  2. #2
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: help!

    This is probably due to the fact that vShare "unwisely" records each and every guest to your mySQL database. Because there is no cleanup process built into vShare, this list gets incredibly large and slows down performance for people who are not logged in. To fix this, you will have to login to your mySQL database (using a program such as phpMyAdmin) and executing the following SQL command:

    Code:
    truncate table `guest_info`
    You can also visit the following forum topic for how you can do this via PHP and cron:

    viewtopic.php?f=6&t=3955&start=0&st=0&sk=t&sd=a&hi lit=guest_info
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  3. #3
    Join Date
    Sep 2008
    Posts
    26

    Default Re: help!

    you're a god :))) Thanks very much! This was annoying :)

  4. #4
    Join Date
    May 2007
    Posts
    394

    Default Re: help!

    Quote Originally Posted by bplex
    vShare records each and every guest to your mySQL database.
    I never realized this. Just took a look at the guest_info table in one of my vshare installations and seeing thousands of records, dating from 2001 through 2032 (wonder what's up with THAT??!?)... haven't noticed anything slowing down, but thanks for this maintenance tip. No need to store so many useless records.

  5. #5
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: help!

    No problem. It kind of really depends on your server and traffic volume as to whether not you experience a slowdown. For most installations, however, you'll probably start to notice the problem around 50,000 - 100,000 records or so.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  6. #6
    Join Date
    May 2007
    Posts
    394

    Default Re: help!

    Any idea what the deal is with the dates ranging from 2001 to 2031? the site's only had vshare on it for a year... guess it's not all that important, just wonder where it's getting these wacky dates.

  7. #7
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: help!

    Well, it's using the PHP date command to create the date so the only thing that I can see that would cause it is if the date on your server was wrong at the time of a guest visiting the page. The only way that this could be important is if you are using the guest_limit features of vShare (as I believe this is the reason why guests are recorded in the first place). If you are not using the limit features, I wouldn't worry about it.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

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
  •