APC usage and hit chart

Alternative PHP Cache (APC) on Debian 6

After spending some time reviewing way to increase WordPress performance in ways beyond simple file caching I decided to give APC (Alternative PHP Cache) and extended try. I use mod_fastcgid on my server, as opposed to mod_fastcgi. Web searches indicated that mod_fastcgi would be a better choice with APC since it could share the same cache between processes. With mod_fastcgid each process has its own cache, which would also mean more memory usage. I have a relatively small server, a 512 MB VPS. But in looking at free memory it [...] Read the rest »

Apache logo

Adjusting Logrotate and Lessons Learned Redux

A syntax error in a logrotate configuration file was breaking Apache for me. So I dug into the logrotate man page and made some other changes to my logrotate strategy, including date stamping files when they are rotated. This is the logrotate configuration for my Apache virtual hosts. Read the rest »

Tools Tile

Moving Day – A New Web Server

I moved to a new web server this past weekend. I'm still using Linode but I switched from Ubuntu to Debian as the OS and made some configuration changes to Apache. The move was a relatively smooth process. This is my move checklist along with some other comments. Read the rest »

The OS Quest Trail Log #40: April 2009 Edition

Ok, it’s actually the first of May so the title is wrong, but this post is all about the last month. I had 14 posts this month. I have to go back to July 2008 to find a month with an equal number of posts and March 2008 to find a month with more posts. My April obsession was optimizing WordPress on Apache and that obsession didn’t take hold until the last half of the month. Things started off simply enough, I just wanted to see if there was a [...] Read the rest »

Apache logo

Caching WordPress Pages with mod_expires

The final step in my WordPress/Apache optimization was to look at mod_expires. The Apache mode_expires module is used to tell a browser how long it can cache the page. With expiration enabled a browser will refresh a page from it’s local cache rather than the server, at least until the page expires. On my site the pages a relatively static, they may change when a comment is added but that’s about it. The pictures and graphics will almost never change. So I’ll give regular pages a fairly short cache time [...] Read the rest »