vb.org Archive

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

Chadi 01-06-2009 01:14 AM

Xcache is not compatible with Zend Optimizer (even confirmed by Cpanel level III analyst the other day).

Memcache is working now, but I'm wondering what does the graph mean by "misses"?

What's a good method of testing the results before and after?

I tried using eaccelerator, but I get the same error that its not active or installed, meanwhile it is compiled
and outputted in php -m

PS: thanks for the help

KevinL 01-06-2009 01:24 AM

Thats old...xcache works fine with zend now. I have it running just fine ;)

Also misses are fine..you want to keep an eye out for OOMs (out of memory) :)

No worries any time.

BeoRski 01-06-2009 04:50 PM

chadi, you need to compile eaccelerator with the "--with-eaccelerator-shared-memory" option.

Chadi 01-06-2009 05:08 PM

Yes, I had done that based on below steps suggested by cpanel tech:
Quote:

1) cd /var/cpanel/easy/apache/rawopts
2) touch all_suphp
3) nano -w all_suphp ( considering you are running SuPHP )
4) Within the file add per line the following:
--enable-eaccelerator=shared
--with-eaccelerator-shared-memory
--with-php-config=$PHP_PREFIX/bin/php-config

Likewise if you were only running DSO/CGI within PHP5 steps 2-4 would be repeated after touching and editing the file all_php5.

This would be all that would need to be in place so that Easy Apache would add the configured flags to your PHP build.

Recompiled and still does not work (although eaccelerator shows up in php otherwise, but the vb mod here is not picking it up)

msu2k 01-06-2009 08:35 PM

I'm having an issue where some users are reporting that the CSS isn't loading for them in various styles sporadically since I installed this mod. I'm using XCache and have tried clearing the cache several times. I'm unable to replicate this issue myself unfortunately and can't pin it down to a specific browser.

Any suggestions?

BeoRski 01-06-2009 08:53 PM

chadi, I guess Memcache will have to do for you right now...

msu2k, it doesn't cache CSS files. Have you tried moving your CSS to the filesystem (if you haven't done so yet)?

msu2k 01-07-2009 01:29 AM

Quote:

Originally Posted by BeoRski (Post 1703622)
msu2k, it doesn't cache CSS files. Have you tried moving your CSS to the filesystem (if you haven't done so yet)?

Yes, the CSS files have been moved to the filesystem. Pages seem to be loading for people without any CSS files, then appear normal later. I can't seem to figure it out.

briansol 01-07-2009 02:37 AM

i'm using eaccelerator only (xcache just doesn't like my server.... ) no memcache, or anything else.
php 5.2.6, mysql 5.0.65-com

before:

vBulletin 3.7.2 Debug Information

* Page Generation 0.02674 seconds
* Memory Usage 4,640KB
* Queries Executed 9 (?)



After:

(1st load (obviously there is no cache yet...))

vBulletin 3.7.2 Debug Information

* Page Generation 0.52209 seconds
* Memory Usage 4,865KB
* Queries Executed 9 (?)



(2nd load)

vBulletin 3.7.2 Debug Information

* Page Generation 0.02992 seconds
* Memory Usage 4,865KB
* Queries Executed 7 (?)




the 2 query drop is nice, but it doesn't seem to have any effect on total performance

:shrug:

briansol 01-07-2009 04:19 AM

1 Attachment(s)
WOL cache messes up display of bots with this mod:

bots should show last

Almotmaiz.Net 01-07-2009 08:02 AM

I cant Say .. Just Well Done !

Installed and voted in MOTM !

doraj 01-07-2009 12:41 PM

Hello Briansol,

same problem for me! It reduces my query but it doesn't seem to have any effect on total performance...is very strange.
I think perhaps it can depend from vbulletin's version (I use 3.7.3) or server's configuration?

Betwenn few time I must update vB to 3.8 and after I want see if there are other effect on performance..

Chadi 01-07-2009 01:10 PM

I show that the eaccelerator shared memory configure command executed the options during apache recompile.


Configure Command './configure' '--enable-bcmath' '--enable-calendar' *****'--enable-eaccelerator=shared' '--enable-exif' '--enable-fastcgi' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-mbstring' '--enable-pdo=shared' '--enable-sockets' '--enable-zip' '--prefix=/usr/local' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-curl=/opt/curlssl/' '--with-curlwrappers' *****'--with-eaccelerator-shared-memory' '--with-freetype-dir=/usr' '--with-gd' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/opt/openssl' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libexpat-dir=/usr' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mysqli=/usr/bin/mysql_config' '--with-pdo-mysql=shared' '--with-pdo-sqlite=shared' *****'--with-php-config=$PHP_PREFIX/bin/php-config' '--with-png-dir=/usr' '--with-sqlite=shared' '--with-ttf' '--with-xmlrpc' '--with-xpm-dir=/usr/X11R6' '--with-xsl=/opt/xslt/' '--with-zlib' '--with-zlib-dir=/usr'
--


Is anyone else having issues with eaccelerator?

MrApples 01-07-2009 02:36 PM

This mod tampers with the installation of styles and products, and also the "save display order" of styles.

briansol 01-07-2009 04:28 PM

Quote:

Originally Posted by chadi (Post 1704170)
Is anyone else having issues with eaccelerator?

chad, do you have the two get/put options enabled? they are off by default in eaccelerator

http://eaccelerator.net/ticket/37

msu2k 01-07-2009 04:34 PM

Is there any reason that this mod would have issues with VB installations that span multiple servers? We have three load balanced servers and a DB server and I'm wondering if that might be causing issues with the cache not flushing, etc.

msu2k 01-07-2009 07:34 PM

I just noticed this in a thread on vbulletin.com. The original poster in that thread was having problems with styles similar to the ones I was having. Looks like I'm going to have to do the same.

Quote:

Wayne Luke
vBulletin Team

Remove vBOptimize. It caches things that vBulletin hasn't been designed to cache and can cause problems like this.
Thread:
http://www.vbulletin.com/forum/showthread.php?t=295707

tekguru 01-07-2009 08:18 PM

A great pity, just installed it and it was working well!

KevinL 01-07-2009 08:52 PM

I think it has been mentioned in this thread many times. You have to clear the cache THEN install plugins or new styles and everything works fine. ;)

Magnumutz 01-07-2009 09:07 PM

Question: Will this mod work with YSLOW?

briansol 01-07-2009 11:24 PM

vb's answer to everything is to put your board back to 100% stock. i wouldn't go there for help if you have one mod or template change because they won't even bother helping you anyway.

But yes, as kevin mentioned, I found it easiest to disable the plugin, do whatever i gotta do, clear out my eaccelerator cache, re-enable the plugin.

MrApples 01-08-2009 12:35 AM

The mod simply needs to shut itself down during any administrative actions like installing a plugin or editing a theme.

NolF 01-08-2009 07:06 AM

@ MrApples
I had problems with those activities until I added xcache.admin.enable_auth = Off. After that all those activities went smoothly (don't forget to restart httpd)

Martell 01-09-2009 05:10 AM

Error:

Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /xxx/xxx/xxx/docs/includes/class_activecache.php on line 20

class_activecache.php on line 20 => static $class = __CLASS__; :confused:

msu2k 01-09-2009 01:22 PM

The issue I was having with this mod was with using XCache over multiple servers. I have a four server cluster and the cache was not be flushed properly by this mod over all four servers.

I was advised to use memcache instead:

Quote:

Originally Posted by eva2000
xcache datastore is for use where database is on same server as xcache. On multi-web server setup use memcached for datastore


msu2k 01-09-2009 07:08 PM

Ok, I now have memcache installed on our cluster.

vBulletin's config.php is using memcache
vBSEO is using memcache

Do I have to use memcache for vB Optimise? After enabling it for vB Optimise it seems a little slower than the File Cache. Any reason I can't just stick with the File Cache even though I am using memcache on the other two?

goyo 01-09-2009 07:29 PM

Quote:

Originally Posted by MrApples (Post 1704661)
The mod simply needs to shut itself down during any administrative actions like installing a plugin or editing a theme.

In my opinion it's not that simple.

I have experienced xcache "problems" (not obvious at first because xcache caching and no error logs) on several servers with fastcgi php and/or suphp (irregardless of vboptimise).

The xcache garbage collection somehow works differently on those servers...so I'm not sure at all that you have a vboptimise specific problem.

cafenetland 01-09-2009 10:56 PM

installed.

thx

shlomot 01-10-2009 04:27 AM

Hello,

My picture viewing via LightBox has gone bad. When clicking (or hovering) a picture - the screen region that should have been the LightBox's frame goes Grey but no frame opens up.

There are three changes to my community settings since it stop functioning properly that may have been relevant to the problem. I wonder if you can help me to pinpoint the actual cause:

1. Upgrades from vb3.8 RC1 to RC2 (now it's Gold and the problem persists).

2. Upgraded vB Optimized to 1.2 (now it's 1.3.2 and the problem persists).

3. Changed attachment storage from database to file storage following vB Optimize recommendation and the ever-growing number of attachments.

Thanks for any help, tip or trick.

tteal 01-10-2009 04:06 PM

Quote:

Originally Posted by Martell (Post 1705937)
Error:

Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /xxx/xxx/xxx/docs/includes/class_activecache.php on line 20

class_activecache.php on line 20 => static $class = __CLASS__; :confused:

I just installed this mod and have the same exact error. How did you fix it?

tteal 01-10-2009 04:38 PM

Currently my board is completely down due to this mod and I'm getting the following error:

Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/content/xxxx/forum/includes/class_activecache.php on line 20

Any help/support would be greatly appreciated.

Thank you.

rinkrat 01-10-2009 04:50 PM

Me too!! HELP!!

rinkrat 01-10-2009 05:00 PM

QUICK FIX

Add this to your config.php

define('DISABLE_HOOKS', 1);

This will turn off all of your mods.

Go into admin and uninstall this mod.

return your original config.php

tteal 01-10-2009 05:25 PM

I can't get to my admin section to delete / uninstall this mod. Can someone please help me?

thanks.

tteal 01-10-2009 05:29 PM

Quote:

Originally Posted by rinkrat (Post 1707501)
QUICK FIX

Add this to your config.php

define('DISABLE_HOOKS', 1);

This will turn off all of your mods.

Go into admin and uninstall this mod.

return your original config.php

Thank you so very much. I disabled/uninstalled this mod with your help!

Appreciate the quick help!

Adem GEN? 01-10-2009 08:44 PM

1 Attachment(s)
Thanks, Installed

Turkish Language files
Türkçe dil dosyası, mevcut Türkçe dosyanızın üstüne yazın
(Çeviri devam edecek)

anestetic 01-11-2009 11:11 AM

bende burdaki hatayı verdi ama sebebını anlayamadım

https://vborg.vbsupport.ru/showpost....&postcount=629

CORSO 01-11-2009 09:50 PM

I have installed VB Optimise using File Cache and since there all the threads with more than one page only show the last page, all the other ones show a white page

I am using vB 3.8.0 running on apache 5.2.8

some help?

logicuk 01-11-2009 10:37 PM

<font size="3">any updates coming soon Deceptor?</font>

Jaxel 01-12-2009 04:27 PM

How does this mod work with this one?:
https://vborg.vbsupport.ru/showthread.php?t=178286

Will there be issues? Is there any reason I would want both? Or is one good enough?

ssslippy 01-13-2009 01:53 AM

Yslow does nothing this does. I recomend using both.


All times are GMT. The time now is 02:43 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.02333 seconds
  • Memory Usage 1,826KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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