From owner-freebsd-questions@FreeBSD.ORG Fri Jan 7 21:06:38 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFB0616A4CE for ; Fri, 7 Jan 2005 21:06:38 +0000 (GMT) Received: from pimout2-ext.prodigy.net (pimout2-ext.prodigy.net [207.115.63.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FA0843D45 for ; Fri, 7 Jan 2005 21:06:38 +0000 (GMT) (envelope-from mark@antsclimbtree.com) Received: from lilbuddy.antsclimbtree.com (adsl-66-122-112-171.dsl.snfc21.pacbell.net [66.122.112.171]) j07L6bXO274434 for ; Fri, 7 Jan 2005 16:06:37 -0500 Received: from antslaptop.antsclimbtree.com ([192.168.1.192]) by lilbuddy.antsclimbtree.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.43 (FreeBSD)) id 1Cn1Jm-0007Ip-4V for questions@FreeBSD.ORG; Fri, 07 Jan 2005 13:06:48 -0800 Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: <029B5842-60F0-11D9-98A7-000393A5ED5E@antsclimbtree.com> Content-Type: text/plain; charset=US-ASCII; format=flowed To: "'questions@freebsd.org'" From: Mark Edwards Date: Fri, 7 Jan 2005 13:06:33 -0800 X-Mailer: Apple Mail (2.619) X-Spam-Score: -2.8 (--) Subject: Memory issues on 4.10 server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jan 2005 21:06:38 -0000 I'm having two weird memory issues that have cropped up on my 4.10 server: 1) Apache runs away and creates tons of processes and eventually takes down the server, eating up tons of processes. I see regular notifications like the following: Jan 6 07:25:09 lilbuddy /kernel: pid 16828 (httpd), uid 80: exited on signal 6 I've taken to restarting Apache once an hour, which has curtailed the problem for now. But I would love to figure out why this is happening and so far have not been able to find many clues. The only Apache-related thing that has changed in the last several months is adding phpbb to the server. 2) snmpd also has had some freakouts where it eats up more and more swap space until it no longer functions. Restarting snmpd clears the problem. I'm using snmpd in conjunction with MRTG. This phenomenon does not seem to take down the server, surprisingly. It still functions relatively responsively. This doesn't happen regularly and I haven't seen it in a few days so I don't see a pattern yet. It is perhaps related to the Apache problem. Its hard to say, because when Apache freaks out, it starts to take the server down and that affects all sorts of things. Obviously I'm not onto the source of these issues, because my efforts to identify that have so far been in vain. Anyone who can give me some advice would be much appreciated. Thanks!