hoopycat wrote:
Erasmus Darwin wrote:
The Monte Carlo hit counter is a nice touch. I wound up reloading the page a bunch of times to watch it change.
It looks really familiar.
It should, it's yours (I'm file_get_contents()ing the URL).
Guspaz wrote:
Sure, you could spend hours figuring out and tweaking Apache, or you could spend five minutes installing lighttpd or nginx and be done with it.
The configuration here took about 60 seconds, of just turning all the prefork values down to near-minimum.
rsk wrote:
PS. Jed, is a Li512 enough for minecraft server, or does it still try to alloc over a gigabyte at start?
The node was 1 GB before, and it makes me nervous to run Minecraft on it. SMP Alpha is buggy enough anyway that it isn't worth it to me.
akerl wrote:
If you wouldn't mind, could you give some advice as to how you configured that system to minimize memory usage?
Surprisingly, I just turned the prefork values down to almost the bare minimum, and disabled all but four modules (authz_host, dir, mime, and php5).
Clearly it's not going to be very performant, but it does work. I even stopped atd, cron, and some other services (as you can see in the ps output).
hoopycat wrote:
It's worth pointing out a few things this demo doesn't have, unlike many of the bulkier PHP deployments: no CMS/framework, no images/CSS/JavaScript objects, and no time-consuming SQL queries. A framework adds bulk, objects multiply concurrent requests, and SQL queries lengthen the time per request.
This.