Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted January 10, 201213 yr # cat /etc/php5/conf.d/apc.ini extension=apc.so apc.shm_size=256 apc.num_files_hint=10000 apc.user_entries_hint=10000 apc.max_file_size=5M apc.ttl=7200 apc.user_ttl=7200 apc.shm_segments=3 apc.shm_size=256 Good/bad?
January 14, 201213 yr Though, imo minimum of 24hr data is required to be called sufficient... but 99.8% hit is pretty good.
January 14, 201213 yr How do you get the APC stats? My host installed APC a couple of days ago. I have no idea where to view the stats. Thanks 3DKiwi
January 14, 201213 yr Author http://fplanque.com/dev/linux/install-apc-php-cache-debian-lenny APC comes with a control panel script, that allows you to check cache usage. Here’s how to make it available on your web root (for example): Code: gunzip /usr/share/doc/php-apc/apc.php.gz ln -s /usr/share/doc/php-apc/apc.php /var/www/apc.php
January 17, 201213 yr Looks like you haven't configured IP.Board to use APC as a cache. If you had, user variables would not be empty. conf_global.php includes: $INFO['use_apc'] = '0'; APC:
January 17, 201213 yr Looks like you haven't configured IP.Board to use APC as a cache. If you had, user variables would not be empty. conf_global.php includes: $INFO['use_apc'] = '0'; APC: I'm guessing he setup apc + memcache or similar combo. Quite a few ppl seem to be doing that.
January 17, 201213 yr Author Looks like you haven't configured IP.Board to use APC as a cache. It doesnt make board any faster for me. If you had, user variables would not be empty. It doesnt get that high as yours, wonder why? conf_global.php includes: [code]$INFO['use_apc'] = '0'; Should it be No, APC is only one $INFO['use_apc'] = '1'; ? I'm guessing he setup apc + memcache or similar combo. Quite a few ppl seem to be doing that.
January 17, 201213 yr > It doesnt get that high as yours, wonder why? Because his forum is more popular than yours. Mine gets around 4~5k/second during peak. > It doesnt make board any faster for me. It should... > Should it be Yes, it should be 1. > No, APC is only one Then you should try letting IPB talk to apc directly. It will be faster as it'll cache lot of stuff so that it doesn't need to make the same requests over and over. But caches are more useful to some than others. It depends on your traffic profile. For something like mine, if I take off memcache (ie user cache), my server wouldn't be able to support that many people. $INFO['use_apc'] = '1'; ?
January 17, 201213 yr > Should it be $INFO['use_apc'] = '1';[/code] ? Yes, it should be 1. Sorry, Invision Support made that change while hunting down a problem with Nexus and I didn't catch it before posting.
January 17, 201213 yr dumb question. what are we talking about? :) :) is ACP a sort of cache program ?
January 17, 201213 yr Author Looks like you haven't configured IP.Board to use APC as a cache. If you had, user variables would not be empty.
January 17, 201213 yr You should keep an eye on apc since you're now using user cache. Make sure your ram does not get 100% full. It has a history of going complete crash once the ram gets full... It also has a history of problems with encrypted code like nexus. My sys admin suggests that xcache is lot more stable than apc. Though performance wise, apc, ea, and xcache are pretty much all dead same relative to no-cache.
Archived
This topic is now archived and is closed to further replies.