Status
Not open for further replies.

ozi

Customer
hello!
so... i've been struggling for days now to get this neat plugin to work but still without success.
first things first:
- i own a VPS
- o do merely all configurations by myelf
- i'm a rookie with centos / whm and still need lots to learn

in the first days i figured it out that my vps already has the xcache option intalled. i took me a bit more to figure it out how to properly set to config files to actually enable it. so i was able to pust the system tests to a point of success on all levels but "fetch cache".

after further investigation i found out that my vps in fact won't work with xcache due the incompatibility with the "suphp" handler. so i read more about it and realized that i could change the php's handler but i'm missing the fcgi one, which would be option.... i could try installing it but it's just too much for me at this point.

so i made a few steps back and figured it out how to install "memcache". and today i managed to get it running. in my php info i get:
PHP:
memcache

memcache support	enabled
Active persistent connections	1
Version	2.2.7
Revision	$Revision: 327750 $

Directive	Local Value	Master Value
memcache.allow_failover	1	1
memcache.chunk_size	8192	8192
memcache.default_port	11211	11211
memcache.default_timeout_ms	1000	1000
memcache.hash_function	crc32	crc32
memcache.hash_strategy	standard	standard
memcache.max_failover_attempts	20	20

unfortunately, the "Fetch cache" test still generates the same error:
Your Opcache Operator extension is functioning, however it is unable to store data. Please check your extension configuration.

and here i am now, desperate. asking for some hints...
:)

thanks
 
I'd suggest trying APC instead of Memcache - memcache is designed for server farms.
 
oh okay. i read in a few posts where Deceptor recommended memcache so i just went for that.
here i enabled also the APC but still no luck. i think i might be doing something wrong or my actions aren't complete??

here's a php info on APC:
PHP:
Configuration

apc

APC Support	enabled
Version	3.1.13
APC Debugging	Disabled
MMAP Support	Enabled
MMAP File Mask	no value
Locking type	pthread read/write Locks
Serialization Support	php
Revision	$Revision: 327136 $
Build Date	Apr 1 2013 10:19:51

Directive	Local Value	Master Value
apc.cache_by_default	On	On
apc.canonicalize	On	On
apc.coredump_unmap	Off	Off
apc.enable_cli	Off	Off
apc.enabled	On	On
apc.file_md5	Off	Off
apc.file_update_protection	2	2
apc.filters	no value	no value
apc.gc_ttl	3600	3600
apc.include_once_override	Off	Off
apc.lazy_classes	Off	Off
apc.lazy_functions	Off	Off
apc.max_file_size	1M	1M
apc.mmap_file_mask	no value	no value
apc.num_files_hint	1000	1000
apc.preload_path	no value	no value
apc.report_autofilter	Off	Off
apc.rfc1867	Off	Off
apc.rfc1867_freq	0	0
apc.rfc1867_name	APC_UPLOAD_PROGRESS	APC_UPLOAD_PROGRESS
apc.rfc1867_prefix	upload_	upload_
apc.rfc1867_ttl	3600	3600
apc.serializer	default	default
apc.shm_segments	1	1
apc.shm_size	32M	32M
apc.slam_defense	On	On
apc.stat	On	On
apc.stat_ctime	Off	Off
apc.ttl	0	0
apc.use_request_time	On	On
apc.user_entries_hint	4096	4096
apc.user_ttl	0	0
apc.write_lock	On	On
 
Unfortunately I don't know enough about server setup to diagnose why APC isn't working.

I've attached some test scripts that will help your host set up either of the 3 most common single-server opcode cachers.

Run them in the order they're numbered, it will output Working! if they're working.
 

Attachments

  • xcachetest.zip
    363 bytes · Views: 3
  • eacceleratortest.zip
    373 bytes · Views: 2
  • apctest.zip
    346 bytes · Views: 14
yet a couple of days have passed again. i'm focused on APC now due your recommendation in hector's post. i also run VPS via WHM / CPANEL.

i'm stuck with blank output from your apc's test scripts. this probably means that connection is present but can't operate it (or something).
i properly uninstalled al previous ones (xcache, memcache) and i just can't get it. php info show APC enabled, the plugin obviously connects to it w/o issues and what.... ?

i asked for help tech department of the vps's hosting company but they say they don't do so deep support (script level). i'm on my own.
any more hints?
 
Did you show them the test scripts and asked them to assist in configuring APC?

They should not be telling you they can't support scripts when it's just 1 line of code per script and their only function is to check to see APC is working.
 
yup... they can't help me with it. i'll try and seek further help on cpanel's forums.
 
Hi Ozi, I find myself in the same situation as you, running my own server. While memcache and APC are properly installed, they wouldn't pass the Fetch Cache test in vBO. Have you ever solved this issue?
 
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,968
Customer rating
0.00 star(s) 0 ratings
Back
Top