Due to RAM restrictions on various servers I’ve had to use, I learned to axe Apache a long time ago. I’ve replaced it with lighttpd, although I’ll probably be transitioning over to nginx sooner or later (it’s what we use at work, and seems to be even lighter in the memory consumption department). Therefor, all… Read more »
Posts Tagged: lighttpd
A few months ago, around the time of all that GoDaddy SOPA stuff, I finished transferring all of my domain names to my new registrar, Gandi. I had been sick of GoDaddy for a long time. When buying a domain with GoDaddy, you’re forced to go through a half dozen screens where they try to up-sell… Read more »
A lot of this article will apply to any network based application, but since I’m a web developer, I’m going to put a web spin on things. Also, I couldn’t help but get into compression a little while discussing browser caching. Caching is a vital part of any high traffic web app, especially ones which… Read more »
Contains instructions for configuring your lighttpd server to either force or prevent the www subdomain from working.
Follow this tutorial to setup your Linux lighttpd server with a self signed SSL certificate. The server we use in this example is Debian based, but it should work with most distro’s.
For our NeoInvoice project, all requests to the server’s sub-domains are sent right to the main server. This means someone can go to www.neoinvoice.com, ex1.neoinvoice.com, etc. Search engines don’t like to see duplicate content on web servers, cookies being saved on one sub-domain aren’t accessible to another, there are all sorts of problems with this…. Read more »
Here’s an output of top on my VPS running Ubuntu 10.04. The first output is while a server was running Apache2 (and lighttpd on a secondary port). The Apache2 instances were under heavy stress testing at the time, and their total CPU was 30.2%. In the second output, lighttpd had taken over as the main… Read more »
On a VPS with 512 MB of RAM, installing a LAMP stack (Linux, Apache, MySQL, PHP) and the trimmings (eaccelerator @ 40MB, memcached @ 40MB) eats up a LOT of RAM (in my particular case, about 480 MB). In an attempt to bring the amount of RAM usage down, I was looking through the results… Read more »