vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
vBSEO Total Support Team Launches DeskPro New vBSEO Discount Level for Network Builders vBSEO 3.2.0 GOLD Has Landed Success with vBSEO = 600ore Web Visitors + $1400 in a Day! Crawlability Inc. Files for SEO Technology Patent
se sw

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. ...

Go Back   vBulletin SEO Forums > Focus on Members > Off-Topic & Chit Chat

Enhancing 80 million pages.

Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read
  #1  
Old 07-16-2008, 09:00 AM
Senior Member
 
Real Name: Bernard
Join Date: Aug 2007
Location: Friendswood, TX
Posts: 147
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 epilepsy forum.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #2  
Old 07-16-2008, 11:11 AM
Mert Gökçeimam's Avatar
vBSEO.com Webmaster
vBSEO Total Customer SupportvBulletin HackerBig Board Administrator
 
Real Name: Lizard King
Join Date: Oct 2005
Location: Istanbul
Posts: 7,805
Blog Entries: 1
Send a message via MSN to Mert Gökçeimam
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'] = ''; 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #3  
Old 07-16-2008, 11:22 AM
Senior Member
 
Real Name: Bernard
Join Date: Aug 2007
Location: Friendswood, TX
Posts: 147
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #4  
Old 07-16-2008, 11:25 AM
Senior Member
 
Real Name: Bernard
Join Date: Aug 2007
Location: Friendswood, TX
Posts: 147
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...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #5  
Old 07-16-2008, 11:36 AM
Mert Gökçeimam's Avatar
vBSEO.com Webmaster
vBSEO Total Customer SupportvBulletin HackerBig Board Administrator
 
Real Name: Lizard King
Join Date: Oct 2005
Location: Istanbul
Posts: 7,805
Blog Entries: 1
Send a message via MSN to Mert Gökçeimam
As far as i remember it was added long time ago. Make sure your config.php is updated.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #6  
Old 07-16-2008, 02:12 PM
Senior Member
 
Real Name: Bernard
Join Date: Aug 2007
Location: Friendswood, TX
Posts: 147
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)?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #7  
Old 07-16-2008, 03:46 PM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,591
There is an option in config_vbseo.php to specify XCache variable name for vBSEO:
PHP Code:
    define('VBSEO_CACHE_VAR',              'vbseo_storage'); 
Quote:
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.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #8  
Old 07-16-2008, 04:07 PM
Senior Member
 
Real Name: Bernard
Join Date: Aug 2007
Location: Friendswood, TX
Posts: 147
Great. Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #9  
Old 07-16-2008, 10:13 PM
Senior Member
 
Real Name: Bernard
Join Date: Aug 2007
Location: Friendswood, TX
Posts: 147
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #10  
Old 07-16-2008, 10:55 PM
Senior Member
 
Real Name: Bernard
Join Date: Aug 2007
Location: Friendswood, TX
Posts: 147
Nevermind, restarting apache did the trick.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #11  
Old 07-17-2008, 12:09 AM
Senior Member
 
Real Name: Bernard
Join Date: Aug 2007
Location: Friendswood, TX
Posts: 147
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #12  
Old 07-17-2008, 04:34 PM
briansol's Avatar
Senior Member
vBSEO Pre-Release TeamDesign for SEOBig Board Administrator
 
Real Name: Brian
Join Date: Apr 2006
Location: Central CT, USA
Posts: 5,536
oom = out of memory. if you have more than a couple, you should up the available size.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #13  
Old 07-17-2008, 04:41 PM
Senior Member
 
Real Name: Bernard
Join Date: Aug 2007
Location: Friendswood, TX
Posts: 147
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
xcache kurulum? Enver TR Türkçe 1 11-22-2007 08:22 AM
Problem With xCache Zi5 Troubleshooting 8 11-17-2007 01:26 PM
xcache & vbseo vissa Pre-Sales Questions 1 01-07-2007 12:23 PM


All times are GMT -4. The time now is 04:37 PM.


Powered by vBulletin Version 3.8.0 Beta 4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.5 ©2008, Crawlability, Inc.