vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Board Optimization - [DBTech] vB Optimise 2.0.1 (Lite) (https://vborg.vbsupport.ru/showthread.php?t=237325)

kmohamed 05-15-2010 06:39 AM

Quote:

Originally Posted by DragonByte Tech (Post 2036920)
I assume you're running xcache?

This isn't uncommon on XCache setups, you will need to set up the authentication properly (xcache has a really strange default setting)

To do that, see deceptors posts here:
https://vborg.vbsupport.ru/showpost....&postcount=137
https://vborg.vbsupport.ru/showpost....&postcount=141

Hope that helps!

To everyone else - Deceptor will help you with your issues when he gets online, I'm just doing what i can - Not my product.

Iain

again thanx for replacing Deceptor you been great so far
i am not using XCache, i am only using memecache? any ideas? :)

Deceptor 05-15-2010 05:28 PM

Quote:

Originally Posted by kmohamed (Post 2037250)
again thanx for replacing Deceptor you been great so far
i am not using XCache, i am only using memecache? any ideas? :)

If Memcache is failing to store data, the instance may have too little space or ran out. Restart your memcache daemon process with more allocated space (or ask your host to do this), without doing so vB Optimise will have no impact as cache will never be stored.

kmohamed 05-17-2010 01:32 AM

Quote:

Originally Posted by Deceptor (Post 2037473)
If Memcache is failing to store data, the instance may have too little space or ran out. Restart your memcache daemon process with more allocated space (or ask your host to do this), without doing so vB Optimise will have no impact as cache will never be stored.

thank you again

Deceptor 05-17-2010 02:25 PM

No problem :)

stardotstar 05-18-2010 07:07 AM

Hi there Guys, I seem to be in the same boat as the above poster.
I have a linux server (my own) and am running memcache but I get the following two errors with the system test:

Code:

Running Test: Store Cache
Your Opcache Operator extension is functioning, however it is unable to store data. Please check your extension configuration.
Running Test: Fetch Cache
Your Opcache Operator extension is functioning, however it is unable to store data. Please check your extension configuration.

I have restarted the memcached but not changed anything yet - could someone please comment on the current config:

from php.ini
Code:

additional .ini files parsed        /etc/php/apache2-php5/ext-active/memcache.ini
..
memcache
memcache support        enabled
Version        3.0.4
Revision        $Revision: 1.83.2.36 $

Directive        Local Value        Master Value
memcache.allow_failover        1        1
memcache.chunk_size        32768        32768
memcache.compress_threshold        20000        20000
memcache.default_port        11211        11211
memcache.hash_function        crc32        crc32
memcache.hash_strategy        consistent        consistent
memcache.lock_timeout        15        15
memcache.max_failover_attempts        20        20
memcache.protocol        ascii        ascii
memcache.redundancy        1        1
memcache.session_redundancy        2        2

Code:

helios init.d # vi /etc/php/apache2-php5/ext-active/memcache.ini

extension=memcache.so
memcache.allow_failover=true
memcache.max_failover_attempts=20
memcache.chunk_size=32768
memcache.default_port=11211
memcache.hash_strategy=consistent
memcache.hash_function=crc32
memcache.redundancy=1
memcache.session_redundancy=2
memcache.protocol=ascii

What should I check and/or change please?
TIA
Will


edit - sorry I see I have found this error here in the vb4 mod thread - I have this implemented in vb3.8.x

Deceptor 05-18-2010 06:38 PM

stardotstar - No worries about the version confusion :) As for the cache issue, what is the command for starting the memcached service you're using?

stardotstar 05-18-2010 08:06 PM

Hi Deceptor, that is a good question - its installed on my Gentoo Linux host and as far as I know it has been called by the init.d daemon which is a "start|restart|stop" kind of thing - I'll try and work that out...
Thanks for the fast reply.
I have looked at the /etc/conf.d/memcached file which probably defines the parameters fed to the command line when invoking the memcached daemon:

Code:

helios conf.d # cat memcached
# Copyright 2003 Gentoo Technologies, Inc
# $Header: /var/cvsroot/gentoo-x86/net-misc/memcached/files/1.2.6/conf,v 1.1 2008/08/01 15:56:55 caleb Exp $
# memcached config file

MEMCACHED_BINARY="/usr/bin/memcached"

#Specify memory usage in megabytes (do not use letters)
#64MB is default
MEMUSAGE="512"

#User to run as
MEMCACHED_RUNAS="memcached"

#Specify maximum number of concurrent connections
#1024 is default
MAXCONN="1024"

#Listen for connections on what address?
# If this is empty, memcached will listen on 0.0.0.0
# be sure you have a firewall in place!
LISTENON="127.0.0.1"

#Listen for connections on what port?
PORT="11211"

#PID file location
# '-${PORT}.${CONF}.pid' will be appended to this!
# You do not normally need to change this.
PIDBASE="/var/run/memcached/memcached"

#Other Options
MISC_OPTS=""

So it looks like 512MB has been assigned to memcached?
Is there any way that I can check that?
In the mean time I have switched the system over to file cache and it passes all the tests - would that be less efficient than memcache?

I have put this in place with yslow and members are noticing an improvement - if I can get this to be as efficient as possible I will certainly seriously consider the commercial version - thank you for making this available in the Lite format!


[edit] ahhh, this is probably what you want to see:
Code:

106      18722  0.5  0.5  45208 18580 ?        Ssl  May18  4:23 /usr/bin/memcached -d -p 11211 -l 127.0.0.1 -m 512 -c 1024 -u memcached -P /var/run/memcached/memcached-11211.pid
[/edit]

Deceptor 05-19-2010 12:18 PM

Hi stardotstar,

Your configuration seems fine and the process is indeed running on localhost port 11211 which is a typical setup, and 512mb of ram is more than enough, so really it should be working.

Might seem silly asking, but I presume you've setup Memcache configuration within vbulletins /includes/config.php?

stardotstar 05-19-2010 10:51 PM

Doh Doh Doh, double Doh;
I never ever realised that it needed configuring in my vB configs.
I am googling how to do that properly now - the current config has the entire section rem'd out.
I guess this in itself will improve the performance of my site?
Thank you!!

stardotstar 05-19-2010 11:09 PM

OK I have it all configured (I have two boards so I set the prefix for this one to something unique) and saved the config.php
Now I have gone back to the admin cp and changed the vB optimise setting to memcache and run the tests and all passes.
I can see memcache running when I top the server.
I guess I'll wait and see what my users say.
Great support! Thank you!


[UPDATE]
I have come across a strange problem on the boards when the new config.php is in place...
When the memcache config is in place and people (including myself) try to edit posts they get an error when attempting to save the edit:

vBulletin Message
1. maxloggedin
cancel changes

I have googled this and its very rare and in the past has only been responded to by asking people to turn products off to search for an offending product.
I turned the recent products off (including this one) to no avail
Then I copied my old (non-memcache) config back into place and the problem went away.
I changed my config to remove the section for a prefix for caching in case this was causing trouble but made no difference.
I have therefore returned to the old config in which memcache was disabled.
Can I get some thoughts on this as it is clearly associated with my optimisation setup as per the recommendations for this product to work - but - and I stress this - clearly not the product itself.
I have posted this in a thread on vb.com that I necromanced for this discussion:
http://www.vbulletin.com/forum/showt...03#post1982603

for the record here is the original config.php:
Code:

        // ****** DATASTORE CACHE CONFIGURATION *****
        // Here you can configure different methods for caching datastore items.
        // vB_Datastore_Filecache  - to use includes/datastore/datastore_cache.php
        // vB_Datastore_APC - to use APC
        // vB_Datastore_XCache - to use XCache
        // vB_Datastore_Memcached - to use a Memcache server, more configuration below
// $config['Datastore']['class'] = 'vB_Datastore_Filecache';

        // ******** 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'] = '';

        // It is also necessary to specify the hostname or IP address and the port the server is listening on
/*
$config['Datastore']['class'] = 'vB_Datastore_Memcached';
$i = 0;
// First Server
$i++;
$config['Misc']['memcacheserver'][$i]                = '127.0.0.1';
$config['Misc']['memcacheport'][$i]                        = 11211;
$config['Misc']['memcachepersistent'][$i]        = true;
$config['Misc']['memcacheweight'][$i]                = 1;
$config['Misc']['memcachetimeout'][$i]                = 1;
$config['Misc']['memcacheretry_interval'][$i] = 15;
*/

and the one I implemented to make memcache work with vB (and get the most out of vb optimise lite naturally enough;
Code:

        // ****** DATASTORE CACHE CONFIGURATION *****
        // Here you can configure different methods for caching datastore items.
        // vB_Datastore_Filecache  - to use includes/datastore/datastore_cache.php
        // vB_Datastore_APC - to use APC
        // vB_Datastore_XCache - to use XCache
        // vB_Datastore_Memcached - to use a Memcache server, more configuration below
        // $config['Datastore']['class'] = 'vB_Datastore_Filecache';

        // ******** 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'] = 'heli';

        // It is also necessary to specify the hostname or IP address and the port the server is listening on

$config['Datastore']['class'] = 'vB_Datastore_Memcached';
$i = 0;
// First Server
$i++;
$config['Misc']['memcacheserver'][$i]                = '127.0.0.1';
$config['Misc']['memcacheport'][$i]                        = 11211;
$config['Misc']['memcachepersistent'][$i]        = true;
$config['Misc']['memcacheweight'][$i]                = 1;
$config['Misc']['memcachetimeout'][$i]                = 1;
$config['Misc']['memcacheretry_interval'][$i] = 15;

Further research finds this thread:
http://www.vbulletin.com/forum/showt...th-maxloggedin

kmohamed 05-20-2010 11:28 PM

Quote:

Originally Posted by Deceptor (Post 2037473)
If Memcache is failing to store data, the instance may have too little space or ran out. Restart your memcache daemon process with more allocated space (or ask your host to do this), without doing so vB Optimise will have no impact as cache will never be stored.

its working and it really change the speed of my site
great mod
installed
MOTM

Deceptor 05-22-2010 08:20 PM

star - I've never encountered that error when using Memcached on vBulletin, do both your websites have unique prefix's assigned in both the config.php and vB Optimise settings (assuming you're using it on both websites)?.

I'd try running one site with Memcache configured and seeing if the problem occurs, if not trying both sites and then seeing - but with unique prefix's there should not be any collision.

stardotstar 05-23-2010 12:14 AM

Deceptor, thanks for the reply. I have not set up the second forum to use memcache as per my original mistake - I had setup memcache on the server but completely failed to activate it in the vB configs. All I have done is actiavte it (with and without a prefix) on one of the forums.

I am going to try it on the other forum to see if the same error occurs when editing posts.

In the mean time I believe I can report substantial performance improvement on the site with filecache running with your product in combination with the yslow mod.

I do hope that I can get memcache working as it is bound to be even faster and may allow me to investigate the even further potential of using your commercial version.
(sorry I had failed to mark as installed - done that now - I had had it tagged but was not holding off marking as installed - this is an excellent mod and beautifully executed)

Deceptor 05-23-2010 01:49 PM

star - Thanks for the information, given this is surrounding the datastore you can opt of using it within vBulletin (in the config.php line, comment out: $config['Datastore']['class'] = 'vB_Datastore_Memcached';). If the bug doesn't appear then, it's the vBulletin Datastore.

Alternatively, you can disable Datastore Cacher on vB Optimise - however this only forces custom datastore items to use the correct datastore method (as vb doesn't handle them correctly).

Let me know if I can be of any further help, Memcache will surpass Filecache immensly (Memcache uses RAM, Filecache uses your HDD) so it'd be great if you got it working without problems :)

stardotstar 05-24-2010 04:37 AM

Thanks Deceptor !

So, please help me ensure that I have this correct...

If I comment out the line

Code:

$config['Datastore']['class'] = 'vB_Datastore_Memcached';
from the vB config.php
BUT leave the other memcached lines in the file as is then memcache will not be used by vB's natively coded datastore - which you state is sub-optimal -
BUT AT THE SAME TIME switch vBOptimise's cache setting to memcache then we will still get memcache performance enhancements for all "customised datastore" and therefore won't be as good as having the vB native datastore using memcache PLUS the customised datastore through vbOptimised...

Not sure I got that down properly, will do some testing and see if I can get my head around it. I think that what you are suggesting will just bring up the original issue that prompted you to ask if I had the memcache setup properly in vB config.php to begin with...

Will

I appreciate the support very much!



[UPDATE]
Yes, as I currently have the memcache off in vB's config.php to prevent the wierd error; I have reenabled memcache as the optimisation method in your product and get the same/following results when I run the system test:
Quote:

Running Test: Connection to memcache
Test completed successfully
Running Test: Store Cache
Your Opcache Operator extension is functioning, however it is unable to store data. Please check your extension configuration.
Running Test: Fetch Cache
Your Opcache Operator extension is functioning, however it is unable to store data. Please check your extension configuration.
Running Test: Flush Cache
Test completed successfully
In this state I can confirm that I can edit and save posts without the "maxloggedin" error showing.

I take it that this means that the product is going to have NO effect and that I need to get the vB side sorted before I can proceed.

In which case falling back to filecache is my next best option>?

stardotstar 05-24-2010 07:05 AM

OK here's the thing.
I have configured my other less-modified board to use memcached by uninhibiting the memcached datastore section of the config.php. Interestingly the board crashed out complaining that it couldn't find the vboptimise scripts - which was unexpected as it is not a mod I have added to that board but I figured that it must have something to do with data in the cache so I set the prefix option and the board operates as normal - furthermore it does not have the 'maxloggedin' error. What this tells me is that one of my hacks is causing that on my bigger board and I would seriously like to find out which ... Any tips on where to start with this - unsure that I can easily start switching things off systematically without bothering my users but will do that if necessary - is there anything I can do that will help me troubleshoot the error if I can get it to start happening again.

Thanks for the help so far and I understand that you don't support the base code itself and nor will vb.com so I am just asking for any tips - completely understand if you want me to take it to another thread.

Will

[UPDATE] This mod works PERFECTLY on my other board - all I had to do was ensure I used the prefix for the datastore in config.ini and went through the other optimisation settings recommended by Deceptor's product - awesome - thank you this is a fantastic product!

When I get my other board sorted I will be purchasing this for both sites.
Will

stardotstar 05-24-2010 07:43 AM

OK (sorry to be avalanching in this product thread Deceptor and others :oops: ) but I need to clarify something further:

I have the vBOptimise product on and passing all tests on my smaller board - it does not throw the wierd 'maxloggedin' error on editing and saving posts. This is therefore a "full" implementation of this product and the vB core memcached datastore engine...

Further I have commented out the "$config['Datastore']['class'] = 'vB_Datastore_Memcached';" line - and only that line in the bigger board config.php and can say that the vBOptimise system tests are all passing - so this is encouraging - especially as I can still edit and save posts there ...

BUT and this is a big BUT... Despite having separate "prefixes" for the two sites they seem to be merging a lot of the common (but different) cached data - ie my forum logo, all the ads served up by openx - various image elements from the css's.

I have had to switch to filecache on the smaller board to stop it inherriting all the stuff from the bigger one.

I doubt that I have the expertise to sort this out right now and it is very hard to full explain - I also don't want to spam the thread of your excellent product.

So I will await any suggestions otherwise I'll sit tight and see what my users say - if its somewhat better I'll leave it at that for now!


Thanks again and sorry for the verbose troubleshooting posts!

Will

Deceptor 05-24-2010 02:35 PM

Hi star,

Don't worry about the mass of posts, just glad you can provide me all this information to help you diagnose the issue :)

Firstly, regarding the "cache collisions", I understand you've set alternative prefix's within vbulletins config.php - however that prefix is only used by vBulletin. vB Optimise has its own prefix within the main settings (default is "vbo_"), make sure those 2 are seperate on your forums and the cache collision should go away.

Secondly, regarding the mod invoking the "maxloggedin" issue. I'm afraid it could be any, mainly those that interface with the datastore itself (most probably). You could try backtrace the error the root of the cause but that'd be tricky - the simplest method would be as you said, trial and error until the error goes away.

If there's anything I missed out let me know, those 2 seem to be your main current issues :)

stardotstar 05-24-2010 10:37 PM

Deceptor:
"Optimise has its own prefix"
:Doh: yet again I am so far ahead of myself I have missed the obvious - of course it does! This will make a real difference. Thank you for the attention to detail. Your product is really well thought out and implemented.
I will dig into the 'maxloggedin' issue and right now I will make sure that the vbo cache prefix is properly set.

Thanks for all the help
Will

Deceptor 05-24-2010 11:19 PM

No problem star :) Let me know if you have any further questions or issues, enjoy!

rajubd 06-03-2010 02:39 PM

Quote:

Running Test: Connection to xcache
Test completed successfully
Running Test: Store Cache
Test completed successfully
Running Test: Fetch Cache
Your Opcache Operator extension is functioning, however it is unable to store data. Please check your extension configuration.
Running Test: Flush Cache
Test completed successfully


why this message showing ?

Code:

Running Test: Fetch Cache
 Your Opcache Operator extension is functioning, however it is unable to store data. Please

already disable/off administration authontication.

Deceptor 06-04-2010 08:14 PM

rajubd - This is common on Xcache setups, check that your XCache has a var size correctly assigned, if you're still having issues I'd recommend contacting your host (or whoever installed XCache for you). Not much vB Optimise can do since it's a setup error with XCache.

Alecsmith 06-05-2010 03:28 PM

I have install APC cache on VPS but after i installed every thing i am getting this error

Quote:

Running Test: Fetch Cache
Your Opcache Operator extension is functioning, however it is unable to store data. Please check your extension configuration.

i am not getting which folder and files should i change CHMOD. :D

Deceptor 06-05-2010 04:22 PM

Alexsmith - You do not need to CHMOd any files/folders with APC setup. Is your APC configuration set to have a var size beyond 0MB? If not then cache cannot be stored, check your php.ini (or apc.ini) configuration to verify the var cache size.

rajubd 06-06-2010 09:29 AM

Quote:

Originally Posted by Deceptor (Post 2048418)
rajubd - This is common on Xcache setups, check that your XCache has a var size correctly assigned, if you're still having issues I'd recommend contacting your host (or whoever installed XCache for you). Not much vB Optimise can do since it's a setup error with XCache.

i have install xcache 1.2.1 couple of time still same problem
set ver size 1-8 mb but nothing same problem.

then install memcache

Code:

root@node1 [/home/raju/public_html]# netstat -plane | grep 11211
tcp        0      0 127.0.0.1:11211            0.0.0.0:*                  LISTEN      99        20207428  14882/memcached   
tcp        0      0 :::11211                    :::*                        LISTEN      32007      18058006  14018/memcached   
udp        0      0 127.0.0.1:11211            0.0.0.0:*                              99        20207429  14882/memcached   
udp        0      0 0.0.0.0:11211              0.0.0.0:*                              32007      18058012  14018/memcached   
udp        0      0 :::11211                    :::*                                    32007      18058011  14018/memcached

now problem with both Store Cache and Fetch Cache

now i have install xcache 1.3 same Fetch Cache problem still exist

Code:

root@node1 [/]# php -v
PHP 5.2.13 (cli) (built: May 31 2010 05:11:33)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies
    with XCache v1.3.0, Copyright (c) 2005-2009, by mOo
    with Suhosin v0.9.29, Copyright (c) 2007, by SektionEins GmbH
---------------------------------------------

i don't know what to do now
can someone help me?

Deceptor 06-06-2010 11:40 AM

What command did you use to start the memcached service?

rajubd 06-06-2010 03:30 PM

Quote:

Originally Posted by Deceptor (Post 2049238)
What command did you use to start the memcached service?

root@node1 [~]# /etc/init.d/memcached restart
Shutting down memcached: [ OK ]
Starting memcached: [ OK ]

Deceptor 06-06-2010 03:36 PM

Gotcha, I presume the init script you have allocates memory. Did you specify the memcache connection details in vbulletins config.php?

rajubd 06-06-2010 04:16 PM

yes i done that
but now return back to xcache
try to solve that problem

i want to know
how much important is Fetch Cache?
please see my php info
http://www.symbiantalk.net/info.php

Deceptor 06-06-2010 04:18 PM

If any test fails, vB Optimise will have no impact (exception to Flush Cache, however still as important). XCache is common for receiving fetch/store errors, again check the var_size within php.ini configuration, failing that you might wanna contact XCache support themselves to see why it isn't playing nice with your server.

I presume Memcache is working now?

rajubd 06-06-2010 04:30 PM

xcache much faster for me i don't want to use memcache
can you please say me waht is the best xcache configuration for Intel(R) Xeon(TM) MP CPU 2.80GHz

Deceptor 06-06-2010 04:33 PM

XCache isn't much faster actually, my benchmarks have shown at best it uses a little less runtime memory because it doesn't require a socket connection.

As for best configuration, I'm afraid I can't help you there, as far as I know there's no "good" configuration for XCache, if it's working it's fine :)

Super Jinni 06-17-2010 04:48 PM

Hi Deceptor,

I just installed your mode after installing XCache. But I'm having the same problem as rajubd.
When running the test I get this results:

Running Test: Connection to xcache
Test completed successfully
Running Test: Store Cache
Test completed successfully
Running Test: Fetch Cache
Your Opcache Operator extension is functioning, however it is unable to store data. Please check your extension configuration.
Running Test: Flush Cache
Test completed successfully

I've checked all the configuration of the xcache.ini file and here you are the contents:
Code:

; configuration for php Xcache module

[xcache-common]
;; install as zend extension (recommended), normally "$extension_dir/xcache.so"
zend_extension = /usr/lib/php5/20090626+lfs/xcache.so

[xcache.admin]
xcache.admin.enable_auth = Off
; Configure this to use admin pages
; xcache.admin.user = "mOo"
; xcache.admin.pass = md5($your_password)
; xcache.admin.pass = ""

[xcache]
; ini only settings, all the values here is default unless explained

; select low level shm/allocator scheme implemenation
xcache.shm_scheme =        "mmap"
; to disable: xcache.size=0
; to enable : xcache.size=64M etc (any size > 0) and your system mmap allows
xcache.size  =                16M
; set to cpu count (cat /proc/cpuinfo |grep -c processor)
xcache.count =                1
; just a hash hints, you can always store count(items) > slots
xcache.slots =                8K
; ttl of the cache item, 0=forever
xcache.ttl  =                0
; interval of gc scanning expired items, 0=no scan, other values is in seconds
xcache.gc_interval =          120

; same as aboves but for variable cache
xcache.var_size  =            16M
xcache.var_count =            1
xcache.var_slots =            8K
; default ttl
xcache.var_ttl  =            0
xcache.var_maxttl  =          0
xcache.var_gc_interval =    300

xcache.test =                On
; N/A for /dev/zero
xcache.readonly_protection = On
; for *nix, xcache.mmap_path is a file path, not directory.
; Use something like "/tmp/xcache" if you want to turn on ReadonlyProtection
; 2 group of php won't share the same /tmp/xcache
; for win32, xcache.mmap_path=anonymous map name, not file path
xcache.mmap_path =    "/dev/zero"


; leave it blank(disabled) or "/tmp/phpcore/"
; make sure it's writable by php (without checking open_basedir)
xcache.coredump_directory =  "/tmp/phpcore/"

; per request settings
xcache.cacher =              On
xcache.stat  =              On
xcache.optimizer =          On

[xcache.coverager]
; per request settings
; enable coverage data collecting for xcache.coveragedump_directory and xcache_coverager_start/stop/get/clean() functions (will hurt executing performance)
xcache.coverager =          On

; ini only settings
; make sure it's readable (care open_basedir) by coverage viewer script
; requires xcache.coverager=On
xcache.coveragedump_directory = "/tmp/pcov/"

It will be appreciated if you can help with this. :)

Edit: BTW, I'm on 3.8.5

Regards!

Deceptor 06-17-2010 08:03 PM

Configuration seems fine, as I told rajubd you might need to contact XCache on their support forums to see why it isn't working, it's a fairly common problem. If they point out what was wrong I'd love to hear what it is :)

Super Jinni 06-18-2010 01:49 AM

OK, I'll try to get in touch with them, in the meanwhile, what would you suggest to use as an alternative to XCache? I mean what do you think is the best to use along with vb forums? I'm sure you have a lot of experience in this field so I'd like to hear some suggestions from you.:)

Another question, can I let XCache running/working and use another opcache operator beside it like memcached or APC?

Thanks :)

sadiq6210 06-18-2010 05:20 AM

when I click on (System test) in admincp, I got this message
vB Optimise is currently offline. Please enable and configure vB Optimise to run a system test.

Although I enabled it from (admincp >> vB Optimise Settings)

Super Jinni 06-18-2010 06:47 AM

I uninstalled XCache and installed APC instead, but still getting the same result when running the test:

Running Test: Connection to xcache
Test completed successfully
Running Test: Store Cache
Test completed successfully
Running Test: Fetch Cache
Your Opcache Operator extension is functioning, however it is unable to store data. Please check your extension configuration.
Running Test: Flush Cache
Test completed successfully

I'm running CGI/FastCGI by the way (if that might have something to do with the issue).

Or is it possible to be a folder/file permission related problem?

Thanks for your help ^^

TeknoSounds 06-18-2010 06:56 AM

Quote:

Originally Posted by sadiq6210 (Post 2055283)
when I click on (System test) in admincp, I got this message
vB Optimise is currently offline. Please enable and configure vB Optimise to run a system test.

Although I enabled it from (admincp >> vB Optimise Settings)

do you have an OpCode cacher installed? One of the ones mentioned like xcache, memcache, APC, etc....

Quote:

Originally Posted by Super Jinni (Post 2055308)
I uninstalled XCache and installed APC instead, but still getting the same result when running the test:

I'm running CGI/FastCGI by the way (if that might have something to do with the issue).

Or is it possible to be a folder/file permission related problem?

Thanks for your help ^^

what operating system are you using?

Also saw you were running 3.8.5 for VB, why aren't you using the 3.8 mod?

Super Jinni 06-18-2010 09:16 AM

Quote:

Originally Posted by TeknoSounds (Post 2055312)
what operating system are you using?

Also saw you were running 3.8.5 for VB, why aren't you using the 3.8 mod?

I'm using Ubuntu 10.04 LTS.
I'm also using the 3.8's mod.
When I was searching about my issue I got to this thread and found the same issue was already reported. So I thought I'd post it here.

I also thought this issue is related to XCache only, but now it's exist with APC.

Deceptor 06-18-2010 11:24 AM

Super Jinni - Best alternative to XCache in my mind is Memcache. In regards to your issue it may be a CGI/FastCGI issue, do you know if you're using DSO or SuPHP for the handler? Typically cPanel let's you choose when building apache/php from within WHM.

Memcache would resolve the issues because it's different from your typical opcode cachers, it runs as a dedicated service :)

sadiq - Make sure vB Optimise is online and you have selected a cache system to use, with no cache system selected there's nothing to test :)


All times are GMT. The time now is 09:13 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01737 seconds
  • Memory Usage 1,917KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (12)bbcode_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete