From owner-freebsd-isp@FreeBSD.ORG Wed Apr 30 03:21:37 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 334EF37B401 for ; Wed, 30 Apr 2003 03:21:37 -0700 (PDT) Received: from solar.isr.co.jp (solar.isr.co.jp [210.251.64.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id EADA543FBD for ; Wed, 30 Apr 2003 03:21:35 -0700 (PDT) (envelope-from javi@isr.co.jp) Received: from enrique.isr.co.jp (nat.isr.co.jp [210.251.64.163]) by solar.isr.co.jp (8.12.9/8.12.9) with ESMTP id h3UALX1b020766 for ; Wed, 30 Apr 2003 19:21:34 +0900 (JST) Received: from clarke (dhcp02.isr.co.jp [192.168.1.202]) by enrique.isr.co.jp (8.12.9/8.12.9) with SMTP id h3UALXJ4004031; Wed, 30 Apr 2003 19:21:33 +0900 (JST) Date: Wed, 30 Apr 2003 19:27:44 -0900 From: Javi Lavandeira To: freebsd-isp@freebsd.org Message-Id: <20030430192744.695612b1.javi@isr.co.jp> Organization: International Systems Research X-Mailer: Sylpheed version 0.8.11 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Possible memory leak? X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2003 10:21:37 -0000 Hi, I'm running FreeBSD 4.6.2-RELEASE on a 768Mb machine. Everything is working correctly, but I'm a bit worried there could be a memory leak somewhere, because I'm generating some status graphs and active memory is growing slowly. Please take a look at http://www.ag0ny.com/graphs/index.php?action=month to see what I mean. top reports the MySQL as the most memory-hungry: 49679 mysql 2 0 37848K 23104K poll 150:17 0.88% 0.88% mysqld 65009 nobody 2 0 8228K 6400K sbwait 0:06 0.00% 0.00% httpd 65260 nobody 2 0 8196K 6372K accept 0:08 0.00% 0.00% httpd 65005 nobody 2 0 8160K 6336K accept 0:09 0.00% 0.00% httpd 65008 nobody 2 0 8032K 6172K accept 0:09 0.00% 0.00% httpd 65007 nobody 2 0 7888K 6028K sbwait 0:08 0.00% 0.00% httpd 65320 nobody 2 0 7652K 5884K accept 0:08 0.00% 0.00% httpd I'm running Qmail 1.03 , Pure-FTPd 1.0.14, Apache 1.3.27+PHP 4.3.2, SSH (ssh.com's 1.2.33), MySQL 3.22.49, djbdns (tinydns/axfrdns/dnscache) and ppp (I'm on a PPPoE link). Apache is stopped daily for around a second, in order to copy the logs to temp files and process them with Webalizer. MySQL's tables are flushed daily. There are lots of PHP scripts running, most of them also accessing the database. Is this memory behaviour normal, or could there be a problem with my setup? I have two other FreeBSD machines (both 4.5-RELEASE) and their active memory doesn't grow. Their load is very small, though. I've checked the release notes for 4.7-RELEASE and 4.8-RELEASE, but there's nothing related to a memory leak, so I think it is either normal behaviour, or a problem in one of the applications I'm running. Any ideas? Thanks in advance, -- Javier Lavandeira International Systems Research http://www.isr.co.jp