On Tue, Jan 16, 2001 at 05:04:42PM +0000, G.W. Haywood wrote:
>
> Maybe there might be something relevant in the recent thread about
> nasty robots? Dunno what it was called.
Read it all, but I'm affraid it doesn't apply to my situation. All the
requests that we get bombed with are legitimate (intranet, auth,
etc.). So I'd really like to serve them as well as I can.
> > MaxClients 30
>
> What happens of you increase this 40? You don't make it clear whether
I'll play with the configuration tomorrow when the load comes again.
> you're using a light front end, how much the machine can take etc.
No light front end, but most of the clients are on 10 Mb (behind
a couple of routers but still on a decent network). The machines
are alright memorywise, they seem to be a bit slow on CPU, however
what bothers me is the deadlock situation to which they get. No more
slow crunching, they just stop accepting connections.
> I wouldn't worry about that - it's probably nonsense. Worry about the
> load spikes and why your server can't handle them.
OK, thanks.
Is there a way to allow a lot of children to be spawned but limit
the number of children that serve requests? With the PerlRunOnce
situation in which I am stuck, I know that I will need to start the
children, but as soon as they get started, a request is thrown on
them. I'd like them to start and wait and be ready, but only accept
request when other request has just finished. Something like
MaxClients 15 # processing requests
MaxChildren 30 # have a reserve of 15 to use when previous
# request finishes (and the previous child dies)
? I could hack the Apache source to do that, but does it sound like it
would help to decrease the load?
--
------------------------------------------------------------------------
Honza Pazdziora | [EMAIL PROTECTED] | http://www.fi.muni.cz/~adelton/
.project: Perl, mod_perl, DBI, Oracle, auth. WWW servers, XML/XSL, ...
Petition for a Software Patent Free Europe http://petition.eurolinux.org
------------------------------------------------------------------------