XCache settings (wont stop segfaulting)
|
justinj1
Joined: 2005-11-21
Posts: 39 |
Posted: Mon, 2008-02-11 13:41
|
|
What are the best settings for gallery2 (eg xcache.size etc) I'm using: http://www.lolzing.com/Support/XCache/XCache%201.2.2%20Administration.htm Here's what it caches: Also, XCache segfaults when the gallery gets busy, any ideas how to stop that, should it be caching 18,000 items like /home/cityv4/g2data/cache/entity/6/7/67367-fast.inc ty
|
|
| Login or register to post comments |

Posts: 31891
if xcache doesn't work fine for you, i suggest you try APC or eaccelerator. APC and eaccelerator needed a long time before they got somewhat stable too.
> should it be caching 18,000 items like /home/cityv4/g2data/cache/entity/6/7/67367-fast.inc
at that specific path just 1, since it's just 1 file.
but generally yes, there are as many cached files in g2data/cache/ as you have items. (or rather x times as many files as you have items).
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 39
eAccelerator had the same problem, if APC works I'll post here. I also tried adding auto_globals_jit = off into php.ini as per
http://www.slantview.com/blog/slantview/apache2-php-5-x-xcache-load-segfaults-not-any-more
but that didn't help. It would be great to get a cache working rather than adding RAM. I'll keep working on it, Thanks Valiant
Posts: 39
[error] PHP Warning: Invalid argument supplied for foreach() in /home/cityv4/public_html/gallery/modules/customfield/classes/CustomFieldHelper.class on line 233
[error] PHP Warning: Invalid argument supplied for foreach() in /home/cityv4/public_html/gallery/modules/customfield/classes/CustomFieldHelper.class on line 233
[error] PHP Warning: Invalid argument supplied for foreach() in /home/cityv4/public_html/gallery/modules/customfield/classes/CustomFieldHelper.class on line 233
[notice] child pid 22040 exit signal Segmentation fault (11), possible coredump in /tmp/phpcore
Sometimes I get those errors before the segfault. I tried clearing all caches.
http://plog.hlps.tcc.edu.tw/plog/post/1/2795 anybody understand that?
Also working on this here:
http://forum.lighttpd.net/topic/39259
:D
Posts: 39
Weeks of head banging and it was in front of me the whole time. I assumed the customfield module is essential since its enabled by default and I never tampered with it. Disabled the module, segfaults gone.
:D