Jump to content

Any APC experts?


Recommended Posts

Posted


# 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?

Posted

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


Posted

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:

post-97893-0-98691600-1326769131_thumb.p

Posted

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:

post-97893-0-98691600-1326769131_thumb.p


I'm guessing he setup apc + memcache or similar combo. Quite a few ppl seem to be doing that.
Posted

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.




Posted

> 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'; ?



Posted

> 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.
Posted

Looks like you haven't configured IP.Board to use APC as a cache. If you had, user variables would not be empty.


post-154454-0-58717200-1326833541_thumb.
Posted

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...