This is not related with litespeed, but i hope i can find the answer here.
I am installing APC in new server using steps described here
It is successfully installed, but i notice there is difference between APC in my old server & new server.
Both use APC 3.1.13.
In old server :
In new server :
My questions :
And in my old server i use PHP 5.3.28, and in new server i use PHP 5.4.36, i don't know if this php version matters to the differences above?
Thank you.
I am installing APC in new server using steps described here
Code:
http://www.inmotionhosting.com/support/website/php-configuration/install-apc-for-php
Both use APC 3.1.13.
In old server :
- In "Shared Memory", it is said "1 Segment(s) with 9.0 GBytes (mmap memory, pthread read/write Locks locking)".
- There is no "apc.shm_strings_buffer".
In new server :
- In "Shared Memory", it is said "1 Segment(s) with 9.0 GBytes (mmap memory, pthread mutex Locks locking)".
- There is "apc.shm_strings_buffer = 4M", even though i do not define it in php.ini, so it should be automatically added?
My questions :
- About the locking which one is better? And if "mutex" is worse, how can i change "mutex" to "read/write" ?
- Should i set "apc.shm_strings_buffer" to something larger? My shm_size is 9G.
And in my old server i use PHP 5.3.28, and in new server i use PHP 5.4.36, i don't know if this php version matters to the differences above?
Thank you.