Date: Wed, 30 Apr 2003 19:27:44 -0900 From: Javi Lavandeira <javi@isr.co.jp> To: freebsd-isp@freebsd.org Subject: Possible memory leak? Message-ID: <20030430192744.695612b1.javi@isr.co.jp>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030430192744.695612b1.javi>