Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C3E5710BFB for ; Mon, 29 Jul 2013 18:07:19 +0000 (UTC) Received: (qmail 50083 invoked by uid 500); 29 Jul 2013 18:07:17 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 49441 invoked by uid 500); 29 Jul 2013 18:07:16 -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 49423 invoked by uid 99); 29 Jul 2013 18:07:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jul 2013 18:07:15 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of emailgrant@gmail.com designates 74.125.82.177 as permitted sender) Received: from [74.125.82.177] (HELO mail-we0-f177.google.com) (74.125.82.177) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jul 2013 18:07:07 +0000 Received: by mail-we0-f177.google.com with SMTP id m46so4231613wev.22 for ; Mon, 29 Jul 2013 11:06:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=FIrtOumo9egBixujDexJZXh5CAVQrO62Y4k09Rh87z8=; b=nvsAB8uXLT+bu4EUxQ5fxUGHh6qOu7NI99cKOJ3/CdyEFid9i1ynovubMMrdGGJX0a hM6D1hM0k783Z/mhyRxTnNN3K95EP3Qp2KEU5uhoYQAp2N9pPEwvQt0d6XuGmdy7j/v3 A7UpgGlVXzOlmhAN7e5FlP3s7EuxHw2CXKur8295tDbWjinUbOo85tHMMvumBEtDzgea FDwHip7H+T+fsV1ai6YJLxu2o5T6nLko7NTrAYOPbEG/V+stvZDyw+U+15n13hNR9P9y yj1mtJ1cim8jP2jPJNH95BCOi26n5JhwFHRa8tFMS0JRUAQ4hhP1c1XCwGTNjvf33ZEI n7Rw== MIME-Version: 1.0 X-Received: by 10.180.13.5 with SMTP id d5mr7899898wic.56.1375121207052; Mon, 29 Jul 2013 11:06:47 -0700 (PDT) Received: by 10.194.104.199 with HTTP; Mon, 29 Jul 2013 11:06:46 -0700 (PDT) In-Reply-To: <346c265337d1832d580bf92db427ecc7@itsecuritypros.org> References: <346c265337d1832d580bf92db427ecc7@itsecuritypros.org> Date: Mon, 29 Jul 2013 11:06:46 -0700 Message-ID: From: Grant To: users@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Re: apache service interruption > You can always compile from source ;) > What version of Apache are you running? I'm running 2.2.25. - Grant >>> Was it just an IP exhausting the apache service with too many >>> connections? What do you see in the access logs? I use OSSEC HIDS on my >>> apache servers to mitigate this. >> >> >> In the access log I see the same IP made many requests during the >> service interruption and I think that exhausted the apache service. >> It looks like there isn't a Gentoo ebuild for OSSEC HIDS. Is there >> another way to prevent this sort of thing? >> >> - Grant >> >> >>>>> My server has 4GB RAM and uses nginx as a reverse proxy to apache. A >>>>> little while ago my website became inaccessible for about 30 minutes. >>>>> I checked my munin graphs and it looks like apache processes spiked to >>>>> about 29 during this time which is many times greater than usual. I >>>>> have MaxClients at 30 and the error log verifies that MaxClients was >>>>> not reached. The strange part is system disk latency shows a spike >>>>> during the interruption which is only very slightly greater than other >>>>> spikes which did not interrupt service. System CPU, memory, and swap >>>>> usage don't show anything interesting at all. >>>>> >>>>> Does this make sense to anyone? Should I decrease MaxClients? >>>>> >>>>> - Grant >>>> >>>> >>>> I've looked over my access_log and I can see there is a particular IP >>>> which was making many requests during the interruption. Since munin >>>> does not show there was an excessive amount of memory or CPU usage, >>>> lowering MaxClients won't help? >>>> >>>> - Grant >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org >> For additional commands, e-mail: users-help@httpd.apache.org > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org