Dougal Campbell's geek ramblings

WordPress, web development, and world domination.

Monthly Archives: April 2013

Brython

A Python 3 interpreter in the browser (written in JavaScript), adapted for the web, with access to the DOM and events.

Brython

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

Jobs

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