public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Paul de Vrieze" <gentoo-user@devrieze.net>
To: <gentoo-dev@gentoo.org>
Subject: Re: [gentoo-dev] Performance once again..
Date: Mon, 14 Apr 2003 11:33:25 +0200 (CEST)	[thread overview]
Message-ID: <33791.134.188.150.80.1050312805.squirrel@callisto.cs.kun.nl> (raw)
In-Reply-To: <1050311014.1280.70.camel@blafasel>

>
> 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@cs.kun.nl
Homepage: http://www.devrieze.net




--
gentoo-dev@gentoo.org mailing list


  reply	other threads:[~2003-04-14  9:33 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-12 19:09 [gentoo-dev] Performance once again Benjamin Podszun
2003-04-12 19:13 ` Jon Portnoy
2003-04-12 19:44   ` Benjamin Podszun
2003-04-12 19:54     ` Jon Portnoy
2003-04-12 20:24 ` Brian Jackson
2003-04-12 20:32   ` Benjamin Podszun
2003-04-12 20:38     ` Hasse Hagen Johansen
2003-04-12 20:44       ` Benjamin Podszun
2003-04-12 22:25         ` Martin Schlemmer
2003-04-12 22:55           ` Benjamin Podszun
2003-04-12 23:30             ` Martin Schlemmer
2003-04-13 15:46               ` Benjamin Podszun
2003-04-13 18:11                 ` Martin Schlemmer
2003-04-13 21:20                   ` Benjamin Podszun
2003-04-12 20:45     ` Robin H.Johnson
2003-04-12 21:46       ` Benjamin Podszun
2003-04-12 22:05         ` leahcim
2003-04-12 22:09         ` Robin H.Johnson
2003-04-12 22:17         ` Brad Laue
2003-04-12 22:35           ` Benjamin Podszun
     [not found]             ` <1050187146.3931.12.camel@nexus6.musikcheck.dk>
2003-04-12 22:51               ` Benjamin Podszun
2003-04-13  0:22             ` Brad Laue
2003-04-12 22:32         ` Terje Kvernes
2003-04-14  8:51 ` Václav Hůla
2003-04-14  9:03   ` Benjamin Podszun
2003-04-14  9:33     ` Paul de Vrieze [this message]
2003-04-14 12:30       ` Dar-Klajid

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=33791.134.188.150.80.1050312805.squirrel@callisto.cs.kun.nl \
    --to=gentoo-user@devrieze.net \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox