4 ms·
600 MaxClients on a Linode box with 512MB RAM? At this point, it became quite clear that this article isn't going to be hugely useful.
by ceejayoz 16y ago
600 MaxClients on a Linode box with 512MB RAM? At this point, it became quite clear that this article isn't going to be hugely useful.
- getsat 16y agoThese articles about "tuning" Apache are a pretty decent source of amusement, though.
- hybrid11 16y agowhat would you recommend instead?
- ceejayoz 16y agoApache's memory usage should not exceed the available RAM on the machine. If you do that, it starts having to use swap, which drastically slows things down - if you're already getting lots of hits, it'll start a death spiral. Apache's memory usage varies based on what modules are enabled and the code they're serving and a number of other factors. The rule of thumb is to take the average free RAM when Apache isn't running, divide it by the average RAM usage of a single Apache process on your system, and set MaxClients to a couple under that value. For example, on a 512MB Linode box, if you've got 450MB free when Apache isn't running, and Apache takes up 12MB per process, you'd allow about 35 at the most.
- hybrid11 16y agoMakes sense, thanks for clarifying!
- powertower 16y agoHere is a good one: http://www.devside.net/articles/apache-performance-tuning http://www.devside.net/articles/apache-performance-tuning Was written a few years back for a Linode 128MB.