Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: <gentoo-dev@g.o>
From: "Paul de Vrieze" <gentoo-user@...>
Subject: Re: Performance once again..
Date: Mon, 14 Apr 2003 11:33:25 +0200 (CEST)
>
> No, not yet.
> I could try to run strace on apache, but the biggest problem is not the
> CPU it uses.. The problem is that it just stops to work. Yesterday I got
> a "MaxClients reached" error and MaxClients is 200.. After that it
> didn't "recover" so I had to restart it before any new connections were
> possible. Since that happened 8h after I started the server again, I
> doubt that I can strace this particular problem? Or do I miss something?

Do you by any chance use persistent database connections from php. In that
case you might want to look at setting a limit on those connections, or
maybe disallow (or remove the use) them. Also fiddling with the apache
client settings might work. 200 clients is a lot, so probably some are out
on their backs (dead). In the config you can control restarting of those
clients (how long they are allowed to be alive). If you have a really busy
site, they might actually all be in use in which case increasing this
limit is the solution.

Good luck,
Paul

-- 
Paul de Vrieze
Researcher
Mail: pauldv@...
Homepage: http://www.devrieze.net




--
gentoo-dev@g.o mailing list

Replies:
Re: Performance once again..
-- Dar-Klajid
References:
Performance once again..
-- Benjamin Podszun
Re: Performance once again..
-- Václav Hůla
Re: Performance once again..
-- Benjamin Podszun
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Performance once again..
Next by thread:
Re: Performance once again..
Previous by date:
Re: Is there a process for marking ebuilds stable?
Next by date:
opt-in distributed portage network


Updated Jun 17, 2009

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.