- The Perfect APC Configuration
Tuesday, March 26, 2013 by Martijn Broeders
I’m hosting about 10 ExpressionEngine sites using Apache 2, APC, and Memcached. Here is my configuration:
Operating system - Mac OS X Server Lion 10.7.5 (11G63)
Processor - 2 GHz Intel Core i7
RAM - 16 GB 1333 MHz DDR3
Disk - 13.5 TB total
Apache - 2.2.22
PHP - 5.3.15
APC - 3.1.13
My php.ini configuration
;51M per ExpressionEngine install
;Relative to the number of cached files (you may need to watch your stats for a day or two to find out a good number)
;Relative to the size of ExpressionEngine
;The number of seconds a cache entry is allowed to idle in a slot before APC dumps the cache
;Setting this to 0 will give you the best performance, as APC will
;not have to check the IO for changes. However, you must clear
;the APC cache to recompile already cached files. If you are still
;developing, set this to 1
;This MUST be 0, ExpressionEngine can have errors otherwise!
;Only set to 1 while debugging
;Allow 2 seconds after a file is created before it is cached to prevent users from seeing half-written/weird pages
;Leave at 2M or lower. ExpressionEngine does't have any file sizes close to 2M
While this configuration works great for me, it may not for you. Finding “The Perfect APC Configuration” is like asking how many stars are in the sky. The are endless variables, like, “How much RAM, how many websites, do your websites support lazy classes, etc…” The best way to create your config is to do a little research.
P.S. There seems to be a lot of debate about apc.stat = 0. The general thought is, set apc.stat=0 on production servers and it will prevent APC from actually going to the IO to check if the file has been changed.
My advice: If you are running ExpressionEngine set apc.stat = 0.
- It’s official, II
Monday, July 23, 2012 by Martijn Broeders
It’s official, today 4 years ago we changed our name and launched our current website.
To celebrate our birthday:
- Our project, Designscan.me, a breath taken new web service will be launched soon.
- MacMini Server 2011 Update II
Monday, July 02, 2012 by Martijn Broeders
Apple just released Lion Server 10.7.4 update
Download and install the combi update, this prevents any miss behavior.
After the update all the custom settings and installed scripts stayed intact and are working as it should be.
With other words, it's save to update.
Don't forget to download and install Server Admin Tools 10.7.4 as well.
- cssFx, makes your live a bit easier
Friday, April 06, 2012 by Martijn Broeders
cssFx is a standalone polyfill that inserts the vendor-specific CSS3 properties necessary for old and new browsers. This saves you tons of time, maintenance, and bandwidth!
Border radius, box shadow, flex box, RGBA, gradients, multiple columns, border image, transforms, transitions, opacity, inline-block, ellipsis, and more.
Get it (just updated): cssFx
- Major CMS upgrade
Thursday, February 09, 2012 by Martijn Broeders
Expressionengine 1.7.1 -> 2.4 Major upgrade
- We needed to upgrade for future grow, more on this soon.
- New version is faster and more secure.
- and a lot more....
Installed AutoMin (an EE module)
- Compressing HTML Markup (no more nice html code)
- Combining css files (into one)
- Combining js files (into one)
The website now uses MemCache and APC, a really great improvement in page loading speed.
Installed Http:BL antiSpam for forum and contact forms.
This is also why I joined the projecthoneypot.org