Re: hacking linux for web servers

Alan Cox (
Thu, 18 Dec 1997 23:36:38 +0000 (GMT)

> a) some people run very many cgi scripts (one per html page or so).
> most don't take much resources, but the number slows down everything.

So use a different system

> b) small scripts, that reads very much data and does nothing with it.
> this creates huge load averages with 93% idle : no matter how good your
> scsi hardware is, people always need more io than you can provide.

Supporting mod_perl and fast_cgi can help here because the cgi's can remain
running with their data in memory rather than continually creating processes.

> i solved a) with a writing a sheduler on my own (time is not given to
> processes, but to users. if you have many tasks, they all slow down. only
> tasks are affected, that have use my new scheduler (will not affect root,
> apache ...). patch available on demand).

That would be interesting to see.