www-community mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tiago Marques <tiago...@gmail.com>
Subject Warning about out of memory/processes
Date Thu, 11 Nov 2010 16:49:59 GMT
Hi all,

I'm not exactly new to Apache but there are some things that I'd like to ask
about, which I haven't been able to google with decent results.

So, I just noticed Apache doesn't handle multiple connections very well(like
1000) and it uses a lot of memory with our PHP and Rails apps. I've limited
the system to be able to handle about 2000 connections but since I haven't
tested it exhaustively, I may have to cut on that a bit to ensure there's
always available mem to use. The question is, how can I know that Apache is
not serving enough connections, for instance, if it hits the limit I would
like to be able to e-mail myself to know that it needs tuning or a server
upgrade. Does this show up on logs or can I program some kind of action to
do it? I can implement scripting to do this but need to find a way that
Apache warns about this, if at all. Or am I limited to periodically scanning
the number of processes running and e-mail when it hits a certain level?

Some insight on this is greatly appreciated. Thanks.

Best regards,
Tiago Marques

Mime
View raw message