Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 963 invoked from network); 27 Dec 2007 20:17:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Dec 2007 20:17:36 -0000 Received: (qmail 27547 invoked by uid 500); 27 Dec 2007 20:17:15 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 27534 invoked by uid 500); 27 Dec 2007 20:17:15 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 27523 invoked by uid 99); 27 Dec 2007 20:17:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Dec 2007 12:17:15 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jslive@gmail.com designates 72.14.204.233 as permitted sender) Received: from [72.14.204.233] (HELO qb-out-0506.google.com) (72.14.204.233) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Dec 2007 20:16:53 +0000 Received: by qb-out-0506.google.com with SMTP id c8so2032qbc.4 for ; Thu, 27 Dec 2007 12:16:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=5Wi7eAzA/98/ojYb2Py+lRandlx8FW9ezfYDemnBMSg=; b=dSf2bED516KoRhaEjtN7dpBN5MNDjQw3qyM8YtDuAbUhBJKsJlPcpJr1N276eEWqMN2QSoZKFVjBLlVNXJxh/AUexdLl+u/h9yUUug3ZIISanaGZjFIpX/8M6KDlvNgWc3TWiXlamVGiATkCnwQTkzUCj5bLDGXkX3kfHH2e02o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=WrW7iQ4l0alcbq2kWBcZ6s6HLf6IZ1awEkdOv17abUomKZw13rTnZ10aF+eleRYrwMkVsCbad3ydC9CGrd8rHBZlZ5jKApwcFcfC8z+3giUK4eLy55YHxCwp7jZtMiCURaQRcaZXjpXjzO9TCtfgm707qR9vThTMafBZTuVVS8I= Received: by 10.65.81.10 with SMTP id i10mr16082661qbl.75.1198786616808; Thu, 27 Dec 2007 12:16:56 -0800 (PST) Received: by 10.65.73.19 with HTTP; Thu, 27 Dec 2007 12:16:56 -0800 (PST) Message-ID: Date: Thu, 27 Dec 2007 14:16:56 -0600 From: "Joshua Slive" Sender: jslive@gmail.com To: users@httpd.apache.org In-Reply-To: <5f0f8dba0712261112n77ccdfbbxbdf4f782273e303b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5f0f8dba0712171124k1a7b9debh3c3f6fcf31f258a1@mail.gmail.com> <5f0f8dba0712171234v6476281jb66fa3da3e2505d7@mail.gmail.com> <5f0f8dba0712180604s2494deefjca33416e2f7e98df@mail.gmail.com> <5f0f8dba0712240536i79c2938co6853e490d16363ec@mail.gmail.com> <5f0f8dba0712240648l44dc3813v37e99a48e067d090@mail.gmail.com> <5f0f8dba0712261112n77ccdfbbxbdf4f782273e303b@mail.gmail.com> X-Google-Sender-Auth: 670b7f0b109dc58f X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] apache freezes the virtual machine. On Dec 26, 2007 1:12 PM, Asrai khn wrote: > > > > On Dec 24, 2007 9:05 PM, Joshua Slive wrote: > > Anyway, what that tells you is that one of those scripts is likely the > > culprit that is gobbling down all the memory in your box. Take a look > > at all the scripts that were being requested and see if you can figure > > out what is going wrong. > > Joshua, > > Ok we are moving the faulty site off our shared web server to dedicated > hosting. > > However Also, need to figure how to protect ourself better against this kind > of > thing on shared webs. Limiting resource usage of apache spawned user > processes via apache config options? Not when you are running scripting engines in the same process as the web server. Here are some notes on the general issue of privelege separation. Resource limitting is a different, but quite related issue with similar solutions. http://wiki.apache.org/httpd/PrivilegeSeparation In general, if you need resource limitting you should get the scripting engines out of the web server process, either by using cgi/fast-cgi, or by running multiple web server instances. Joshua. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org