From owner-freebsd-questions@FreeBSD.ORG Sun Apr 25 01:03:07 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8544106564A for ; Sun, 25 Apr 2010 01:03:07 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from mail.netmusician.org (dorian.netmusician.org [66.244.95.101]) by mx1.freebsd.org (Postfix) with ESMTP id 882A98FC12 for ; Sun, 25 Apr 2010 01:03:07 +0000 (UTC) Received: from localhost (unknown [127.0.0.1]) by mail.netmusician.org (Postfix) with ESMTP id 19992B874 for ; Sat, 24 Apr 2010 21:03:03 -0400 (EDT) X-Virus-Scanned: amavisd-new at netmusician.org Received: from mail.netmusician.org ([127.0.0.1]) by localhost (dorian.netmusician.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 6SjqmA1TeiMq for ; Sat, 24 Apr 2010 21:02:58 -0400 (EDT) Received: from Shakti.local (c-67-176-145-181.hsd1.in.comcast.net [67.176.145.181]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.netmusician.org (Postfix) with ESMTPSA id 562A9B871 for ; Sat, 24 Apr 2010 21:02:58 -0400 (EDT) Message-ID: <4BD394BC.7030501@netmusician.org> Date: Sat, 24 Apr 2010 21:02:52 -0400 From: Joe Auty User-Agent: Postbox 1.1.4 (Macintosh/20100408) MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Advice for finding a leaky Apache (probably PHP) process X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2010 01:03:07 -0000 Hello, I'm wondering if you guys have any general tips on how to find the Apache process/app that is gobbling up my RAM randomly until my machine crashes and I'm forced to reboot? I'm tired of staring at top and working with flimsy hacks such as 10 minute Apache restart cronjobs. This seems to start (or worsen) after updating to PHP 5.3, but this is not happening on my test machine where PHP 5.3 is also installed and the same apps are used (although not publicly). General tips and suggestions are welcome here! THanks in advance... -- Joe Auty, NetMusician NetMusician helps musicians, bands and artists create beautiful, professional, custom designed, career-essential websites that are easy to maintain and to integrate with popular social networks. www.netmusician.org joe@netmusician.org