Custom Query (311 matches)
Results (31 - 33 of 311)
|#243||invalid||XCache dosn't cache variables when xcache.var_size >= 2048M||moo||mr_bond|
I have a problem when I set xcache.var_size to 2048M or more. What happens is php loads fine, but xcache dosn't store keys in the cache. No error is thrown when trying to receive the key from cache either. When loading the xcache-admin page, the php-process dies (FCGI).
When setting xcache.var_size to 2047M or less, everything works as expected. I tried to explore various OS limitations, but I can't find any. A process is allowed to allocate a maximum of 32GB memory, cannot find any other related hard/soft-limits, or any mmap sysctls. I noticed xcache is not failing on mmap() with ENOMEM in backtrace, but backtrace is only generated when viewing admin page. Any help/advice is much appreciated.
Xcache settings: xcache.admin.user = "admin" xcache.admin.pass = "ffffffffffffffffffffffffffffffff" xcache.size = 256M xcache.count = 4 ;xcache.coredump_directory = "/tmp/core" ;xcache.var_size = 2048M xcache.var_size = 2047M xcache.var_count = 4 xcache.mmap_path = "/dev/zero"
The system is running:
FreeBSD 7.0-RELEASE/amd64 PHP 5.2.12 with Suhosin-Patch 0.9.7 Xcache 1.3.0 Mem: 3051M Active, 20G Inact, 401M Wired, 446M Cache, 214M Buf, 5262M Free
Backtrace from admin page (does not dump core when using var_size >= 2048M): (gdb) bt #0 0x00000008046b76e2 in xcache_admin_operate () from /usr/local/lib/php/20060613/xcache.so #1 0x000000000052d8e7 in zend_do_fcall_common_helper_SPEC () #2 0x0000000000520463 in execute () #3 0x000000000052449a in ZEND_INCLUDE_OR_EVAL_SPEC_CONST_HANDLER () #4 0x0000000000520463 in execute () #5 0x0000000000501a74 in zend_execute_scripts () #6 0x00000000004c02f1 in php_execute_script () #7 0x00000000005845a9 in main () (gdb) dump_bt Missing argument 0 in user function. (gdb) dump_bt $eg.current_execute_data Attempt to extract a component of a value that is not a structure.
|#188||invalid||XCache don't working?||moo||Ranma|
my name is Alex, I am italian, sorry for my bad english. I have a vBulletin forum, 3.6.8 PL2, and I installaed your Xcache modifications for vBulletin. I have a dedicated server, I ask to my hosting and they have installed Xcache 1.2.1 on my server! When I enter to XCache 1.2.1 Administration, I don't see in "List Var Data" any details and list of compressed pages, templates!
How is possible? Where is the problem..?
You can see these images:
|#166||invalid||xcache doesn't work -||moo||kg@…|
I get a lot of these errors all the time. Also, server load is very high (~90% cpu), I think it occasionally fails to load the library.
[03-Mar-2008 13:35:01] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613/xcache.so' - /usr/lib/php5/20060613/xcache.so: undefined symbol: xcache_globals in Unknown on line 0
URGENT: I compiled 1.2.1 and it works perfectly with same config, reducing system load to ~30%.
# php5 -v PHP 5.2.0-8+etch10 (cli) (built: Jan 18 2008 18:32:56) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies