Status
Not open for further replies.

eva2000

Customer
Hi guys been a while since I popped in here. This is actually a question on behalf of a client of mine who I referred to you guys for purchasing pro license + branding free :)

He's having some load issues which I am diagnosing and while stracing his PHP proceses, I noticed a call to a none exist file in vB Optimise Pro

vB Optimise Pro 2.5.3

Code:
4090  1377608404.388870 lstat("/home/username/public_html/forum/dbtech/vboptimise_pro/includes", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 <0.000081>
4090  1377608404.389065 lstat("/home/username/public_html/forum/dbtech/vboptimise_pro", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 <0.000072>
4090  1377608404.389254 lstat("/home/username/public_html/forum/dbtech", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 <0.000076>
4090  1377608404.389441 lstat("/home/username/public_html/forum", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 <0.000067>
4090  1377608404.389629 lstat("/home/username/public_html", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 <0.000201>
4090  1377608404.390023 lstat("/home/username", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0 <0.000101>
4090  1377608404.390249 lstat("/home", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0 <0.000110>
4090  1377608404.390458 lstat("/home/username/public_html/forum/dbtech/vboptimise_pro/includes/cachers/cacher_datastore.php", 0x7fffa351bd40) = -1 ENOENT (No such file or directory) <0.000108>
4090  1377608404.390666 readlink("/home/username/public_html/forum/dbtech/vboptimise_pro/includes/cachers/cacher_datastore.php", 0x7fffa351dee0, 4095) = -1 ENOENT (No such file or directory) <0.000144>
4090  1377608404.390894 lstat("/home/username/public_html/forum/dbtech/vboptimise_pro/includes/cachers", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 <0.000086>

non existent file in /dbtech/vboptimise_pro
Code:
ls -lah /home/username/public_html/forum/dbtech/vboptimise_pro/includes/cachers/cacher_datastore.php

/bin/ls: /home/username/public_html/forum/dbtech/vboptimise_pro/includes/cachers/cacher_datastore.php: No such file or directory

but it exists in /dbtech/vboptimise non-pro directory

Code:
ls -lah /home/username/public_html/forum/dbtech/vboptimise/includes/cachers/cacher_datastore.php    

-rw-r--r-- 1 username username 909 Jun 18 01:43 /home/username/public_html/forum/dbtech/vboptimise/includes/cachers/cacher_datastore.php

Checked vB Optimise Pro 2.6.0b2 and same no file in vboptimise_pro directory, so before I get the client to update his vB Optimise Pro version, is there anything that would result in looking for that non-existent file ?

Looks like there's a few more too

Code:
4090  1377608401.741653 lstat("/home/username/public_html/forum/dbtech/vboptimise_pro/includes/operators/memcache.php", 0x7fffa351bd30) = -1 ENOENT (No such file or directory) <0.000236>
4090  1377608401.742334 lstat("/home/username/public_html/forum/dbtech/vboptimise_pro/includes/operators", 0x7fffa351bb60) = -1 ENOENT (No such file or directory) <0.000145>
4090  1377608401.746151 lstat("/home/username/public_html/forum/dbtech/vboptimise_pro/includes/operators/memcache.php", 0x7fffa351bd40) = -1 ENOENT (No such file or directory) <0.000224>

which also don't exist at /home/username/public_html/forum/dbtech/vboptimise_pro but do exist off /home/username/public_html/forum/dbtech/vboptimise ?
 
Assuming lstat is at the source of file_exists() in PHP then the reason is the following block of code:
PHP:
		if (!file_exists(DIR . '/dbtech/vboptimise_pro/includes/cachers/cacher_' . $what . '.php'))
		{
			if (file_exists(DIR . '/dbtech/vboptimise/includes/cachers/cacher_' . $what . '.php'))
			{
				require_once(DIR . '/dbtech/vboptimise/includes/cachers/cacher_' . $what . '.php');
			}
			else
			{
				self::report('Unable to assign cacher (' . $what . '). vB Optimise disabled.');
				$vbulletin->options['vbo_online'] = false;
				return false;
			}
		}
		else
		{
			require_once(DIR . '/dbtech/vboptimise_pro/includes/cachers/cacher_' . $what . '.php');
		}

In other words it's completely normal :)
 
Status
Not open for further replies.

Legacy vB Optimise

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
1,980
Customer rating
0.00 star(s) 0 ratings
Back
Top