Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Owdy Posted January 10, 2012 Posted January 10, 2012 # 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?
Grumpy Posted January 11, 2012 Posted January 11, 2012 You want a judgment based on 6 minutes of sample data?
Grumpy Posted January 14, 2012 Posted January 14, 2012 Though, imo minimum of 24hr data is required to be called sufficient... but 99.8% hit is pretty good.
3DKiwi Posted January 14, 2012 Posted January 14, 2012 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
Owdy Posted January 14, 2012 Author Posted January 14, 2012 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
Ambar Posted January 17, 2012 Posted January 17, 2012 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:
Grumpy Posted January 17, 2012 Posted January 17, 2012 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.
Owdy Posted January 17, 2012 Author Posted January 17, 2012 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.
Grumpy Posted January 17, 2012 Posted January 17, 2012 > 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'; ?
Ambar Posted January 17, 2012 Posted January 17, 2012 > 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.
Dmacleo Posted January 17, 2012 Posted January 17, 2012 dumb question. what are we talking about? :) :) is ACP a sort of cache program ?
Owdy Posted January 17, 2012 Author Posted January 17, 2012 Looks like you haven't configured IP.Board to use APC as a cache. If you had, user variables would not be empty.
Grumpy Posted January 17, 2012 Posted January 17, 2012 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.