Results 1 to 13 of 13

question about xcache

This is a discussion on question about xcache within the Off-Topic & Chit Chat forums, part of the Focus on Members category; I spent the last few days working with my web host tech support to get xcache installed on my VPS. ...

  1. #1
    Senior Member
    Real Name
    Bernard
    Join Date
    Aug 2007
    Location
    Friendswood, TX
    Posts
    184
    Liked
    2 times

    Question question about xcache

    I spent the last few days working with my web host tech support to get xcache installed on my VPS. I've got four different vbulletin sites running on this server.

    Q1) Is just having xcache installed (cache size = 32MB) going to improve performance for all 4 sites, or does the improvement only come with moving the data store to xcache?

    Q2) I set the data store for the least busy forum to xcache to test it. It worked. I then set the data store for another to xcache and saw that the site was all confused (drawing from the cached data of the first site). I reset both forums to not use the xcache data store. I would like to set a different forum to use the xcache data store, but I need to reset/clear the cache first. How can I do that?

    Q3) Would it be better to not set any of the forums to use xcache for the data store (leaving more cache room for PHP caching in general)?
    I'm using vbSEO for my precious metals forum.

  2. #2
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    22,367
    Liked
    542 times
    Blog Entries
    4
    If you are going to use multiple sites you may want to increase the setting to 128mb

    Also you need to define a datastore class for each of your forum within config.php
    PHP Code:
        // ******** DATASTORE PREFIX ******
        // If you are using a PHP Caching system (APC, XCache, eAccelerator) with more
        // than one set of forums installed on your host, you *may* need to use a prefix
        // so that they do not try to use the same variable within the cache.
        // This works in a similar manner to the database table prefix.
    // $config['Datastore']['prefix'] = ''; 
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  3. #3
    Senior Member
    Real Name
    Bernard
    Join Date
    Aug 2007
    Location
    Friendswood, TX
    Posts
    184
    Liked
    2 times
    I don't have enough memory on my VPS account to increase the cache that much. I currently only see ~60MB free memory available.

    I tried setting the datastore for two forums via config.php as you suggested and the second one started showing the forum list from the first one - they got all comingled/confused. The second forum was reading the cache data from the first forum. Not good at all...

    Any chance you can answer my questions?
    I'm using vbSEO for my precious metals forum.

  4. #4
    Senior Member
    Real Name
    Bernard
    Join Date
    Aug 2007
    Location
    Friendswood, TX
    Posts
    184
    Liked
    2 times
    Oh snap! I just realized you quoted code referencing a prefix. I don't see that code block in my 3.7.0 config.php file. Perhaps it's something they added to 3.7.2...
    I'm using vbSEO for my precious metals forum.

  5. #5
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    22,367
    Liked
    542 times
    Blog Entries
    4
    As far as i remember it was added long time ago. Make sure your config.php is updated.
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  6. #6
    Senior Member
    Real Name
    Bernard
    Join Date
    Aug 2007
    Location
    Friendswood, TX
    Posts
    184
    Liked
    2 times
    What about the xcache option in vbSEO? Does it use the vB prefix, or is there another method in place to allow for more than one vBSEO'd forum?

    How much cache space do I really need per forum (for vB and vBSEO)?
    I'm using vbSEO for my precious metals forum.

  7. #7
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    There is an option in config_vbseo.php to specify XCache variable name for vBSEO:
    PHP Code:
        define('VBSEO_CACHE_VAR',              'vbseo_storage'); 
    How much cache space do I really need per forum (for vB and vBSEO)?
    You can enable caching for a while and then check in xcache admin how much memory does it actually use.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  8. #8
    Senior Member
    Real Name
    Bernard
    Join Date
    Aug 2007
    Location
    Friendswood, TX
    Posts
    184
    Liked
    2 times
    Great. Thanks!
    I'm using vbSEO for my precious metals forum.

  9. #9
    Senior Member
    Real Name
    Bernard
    Join Date
    Aug 2007
    Location
    Friendswood, TX
    Posts
    184
    Liked
    2 times
    Another n00b question...

    I'm seeing OOMs in the xcache admin. What do I need to do after editing php.ini to make any changes/adjustments take hold? Do I need to restart apache?
    I'm using vbSEO for my precious metals forum.

  10. #10
    Senior Member
    Real Name
    Bernard
    Join Date
    Aug 2007
    Location
    Friendswood, TX
    Posts
    184
    Liked
    2 times
    Nevermind, restarting apache did the trick.
    I'm using vbSEO for my precious metals forum.

  11. #11
    Senior Member
    Real Name
    Bernard
    Join Date
    Aug 2007
    Location
    Friendswood, TX
    Posts
    184
    Liked
    2 times
    Another question...

    My VPS does not have a lot of memory available. I've currently got xcache.size=88M and xcache.var_size=0M. xcache admin indicates the cache has about 12M free after running for 30 minutes or so. It seems to be holding steady around that number right now. WHM indicates that I have anywhere from 24-40M free memory for the server.

    What I'd like to know is, if I add 16M or so to the xcache.var_size and then set a vB datastore to use xcache (and/or set vBSEO to use xcache), is that necessarily going to reduce the load/usage of the xcache opcode memory? Or should I just consider that 16MB as memory that is going to be used on top of the opcode cache?
    I'm using vbSEO for my precious metals forum.

  12. #12
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    oom = out of memory. if you have more than a couple, you should up the available size.

  13. #13
    Senior Member
    Real Name
    Bernard
    Join Date
    Aug 2007
    Location
    Friendswood, TX
    Posts
    184
    Liked
    2 times
    Thanks Brian, I've been tinkering with it. I had to upgrade my hosting with more memory to get everything working properly, but it's really flying now.
    I'm using vbSEO for my precious metals forum.

Similar Threads

  1. xcache kurulum?
    By Enver TR in forum Türkçe
    Replies: 1
    Last Post: 11-22-2007, 08:22 AM
  2. Problem With xCache
    By Zi5 in forum Troubleshooting
    Replies: 8
    Last Post: 11-17-2007, 01:26 PM
  3. xcache & vbseo
    By vissa in forum Pre-Sales Questions
    Replies: 1
    Last Post: 01-07-2007, 12:23 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
  •