Dougal Campbell's geek ramblings

WordPress, web development, and world domination.

Author Archives

About Dougal Campbell

Dougal is a web developer, and a "Developer Emeritus" for the WordPress platform. When he's not coding PHP, Perl, CSS, JavaScript, or whatnot, he spends time with his wife, three children, a dog, and a cat in their Atlanta area home.

Improve Apache thread memory usage

Thing I learned today at CoderFaire Atlanta: If you are using Apache with the worker MPM model (or the experimental event worker) under Linux, you can probably improve your memory usage. By default, there is an 8MB stack size per thread, which turns out to be overkill. If you change the size to 1MB, you can save a ton of memory: <IfModule mpm_worker_module> StartServers 8 MaxClients 512 MinSpareThreads 64 MaxSpareThreads 128 ThreadsPerChild 32 ThreadLimit 512 … Continue reading

Sublime Tunnel of Love: How to Edit Remote Files With Sublime Text via an SSH Tunnel | Limina.Log

Edit files on a remote server in Sublime Text 2. I actually use the SFTP extension for this, and it integrates filesystem navigation directly into ST2, but it’s good to have options.

Sublime Tunnel of Love: How to Edit Remote Files With Sublime Text via an SSH Tunnel | Limina.Log

Sublime Tunnel of Love: How to Edit Remote Files With Sublime Text via an SSH Tunnel | Limina.Log

Jobs

Had a job interview today. I think it went pretty well.

CodePoet Interview

I was recently honored to do an interview for CodePoet.com. We discuss how I got involved with web development and WordPress, community, and the difference between web development as a job versus as a hobby. Continue reading